xkb - separate layout for each window
Hello, is there a way how to setup separate layout of keyboard for each window? Similar thing does gnome or some other desktops environments but I would like to setup this using setxkbmap or xorg.conf/hal. Is there a way? -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
DRI2 Memleaks
Hello, I discovered that DRI2 pixmaps are not freed after GL application terminates. In particular, WorldOfGoo leaks 2 DRI2 pixmaps after each run. Not sure, whether this is the Intel driver only issue or a generic one. Should not Xserver clean up all resources after the application terminates? -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Graphic drivers and applications
Hello, is the graphic driver performing acceleration (for example composite operation) able to know for which application is this operation done? I would like to track down number of pixmaps allocated for particular applications and see whether all of them are freed after aplication is closed and also to see which applications are leaking pixmap shamelessly. It seems that xrestop is not working properly. I'm already tracking total number of allocated pixmaps for intel driver, according to this tracking, 1000 pixmaps were freed after closing firefox application, but xrestop reports that firefox had only 515 pixmaps. -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Graphic drivers and applications
On Thu, Mar 05, 2009 at 02:13:24PM +, John Tapsell wrote: How new is your xrestop? I fixed a counting bug in xrestop about 6 months ago. ubuntu says that it is version 0.4-3. Did your fix bump version number beyond that? -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: [PATCH] Port cursorScreenDevPriv to the new dixPrivate API
On Mon, Jan 05, 2009 at 06:43:24PM -0500, Eamon Walsh wrote: Can you try the attached patch to see if it solves the problem? Well, I got the following crash: Core was generated by `/usr/bin/X11/X -nolisten tcp'. Program terminated with signal 6, Aborted. [New process 2099] #0 0x7f7fe58dcf85 in raise () from /lib/libc.so.6 (gdb) where #0 0x7f7fe58dcf85 in raise () from /lib/libc.so.6 #1 0x7f7fe58deaf3 in abort () from /lib/libc.so.6 #2 0x7f7fe591c218 in __libc_message () from /lib/libc.so.6 #3 0x7f7fe5921ca8 in malloc_printerr () from /lib/libc.so.6 #4 0x7f7fe5925f11 in _int_realloc () from /lib/libc.so.6 #5 0x7f7fe5926d9e in realloc () from /lib/libc.so.6 #6 0x00433bfc in dixAllocatePrivate (privates=0x7f7fe5c17dc0, key=0x7d9340) at ../../dix/privates.c:129 #7 0x00433d45 in dixLookupPrivate (privates=0x833, key=0x833) at ../../dix/privates.c:165 #8 0x00528f70 in ValidateOnePicture (pPicture=0x7f7fe5c17b40) at ../../render/picture.c:1466 #9 0x00528f99 in ValidatePicture (pPicture=0x833) at ../../render/picture.c:1477 #10 0x005294db in CompositePicture (op=3 '\003', pSrc=0x7f7fe5c17b40, pMask=0x0, pDst=0x1a3da30, xSrc=0, ySrc=0, xMask=0, yMask=0, xDst=-22251, yDst=-225, width=0, height=0) at ../../render/picture.c:1666 #11 0x004cf2da in miDCPutUpCursor (pDev=value optimized out, pScreen=0x837e90, pCursor=0x1895950, x=0, y=value optimized out, source=0, mask=16777215) at ../../mi/midispcur.c:474 #12 0x004dee9e in miSpriteRestoreCursor (pDev=0xaeda00, pScreen=0x837e90) at ../../mi/misprite.c:1025 #13 0x004df3d6 in miSpriteBlockHandler (i=value optimized out, ---Type return to continue, or q return to quit--- blockData=0x0, pTimeout=0x0, pReadmask=0x1) at ../../mi/misprite.c:525 #14 0x7f7fe42ebb27 in I830BlockHandler (i=value optimized out, blockData=0x0, pTimeout=0x7fffefdae7d8, pReadmask=0x) at i830_driver.c:2632 #15 0x00533ad8 in AnimCurScreenBlockHandler (screenNum=0, blockData=0x0, pTimeout=0x7fffefdae7d8, pReadmask=0x7dacc0) at ../../render/animcur.c:222 #16 0x004feafe in compBlockHandler (i=0, blockData=0x0, pTimeout=0x7fffefdae7d8, pReadmask=0x7dacc0) at ../../composite/compinit.c:158 #17 0x00451270 in BlockHandler (pTimeout=0x7fffefdae7d8, pReadmask=0x7dacc0) at ../../dix/dixutils.c:384 #18 0x004ec981 in WaitForSomething (pClientsReady=0xb78e00) at ../../os/WaitFor.c:215 #19 0x0044d580 in Dispatch () at ../../dix/dispatch.c:367 #20 0x004332ad in main (argc=3, argv=0x7fffefdae9b8, envp=value optimized out) at ../../dix/main.c:383 -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
gimp is able to kill Xserver with Intel driver
Hello, using gimp, I'm able to reproduce the following segfault of the xserver: Core was generated by `/usr/bin/X11/X -nolisten tcp'. Program terminated with signal 11, Segmentation fault. [New process 4181] #0 0x00433d32 in dixLookupPrivate (privates=0x1d386c0, key=0x7da880) at ../../dix/privates.c:79 79 ../../dix/privates.c: No such file or directory. in ../../dix/privates.c (gdb) where #0 0x00433d32 in dixLookupPrivate (privates=0x1d386c0, key=0x7da880) at ../../dix/privates.c:79 #1 0x004cf2b4 in miDCPutUpCursor (pDev=0xc65d60, pScreen=0x9d0340, pCursor=0x2a903290001, x=-42829, y=-26929, source=0, mask=16777215) at ../../mi/midispcur.c:449 #2 0x004def6e in miSpriteRestoreCursor (pDev=0xc65d60, pScreen=0x9d0340) at ../../mi/misprite.c:1025 #3 0x004df4a6 in miSpriteBlockHandler (i=value optimized out, blockData=0x0, pTimeout=0x0, pReadmask=0x1) at ../../mi/misprite.c:525 #4 0x7f3e6a83aae7 in I830BlockHandler (i=value optimized out, blockData=0x0, pTimeout=0x7fff762f9d28, pReadmask=0x58b3) at i830_driver.c:2632 #5 0x00533ba8 in AnimCurScreenBlockHandler (screenNum=0, blockData=0x0, pTimeout=0x7fff762f9d28, pReadmask=0x7daca0) at ../../render/animcur.c:222 #6 0x004febce in compBlockHandler (i=0, blockData=0x0, pTimeout=0x7fff762f9d28, pReadmask=0x7daca0) at ../../composite/compinit.c:158 #7 0x00451290 in BlockHandler (pTimeout=0x7fff762f9d28, pReadmask=0x7daca0) at ../../dix/dixutils.c:384 #8 0x004eca51 in WaitForSomething (pClientsReady=0xcf2950) at ../../os/WaitFor.c:215 #9 0x0044d5a0 in Dispatch () at ../../dix/dispatch.c:367 ---Type return to continue, or q return to quit--- #10 0x004332bd in main (argc=3, argv=0x7fff762f9f08, envp=value optimized out) at ../../dix/main.c:383 (gdb) -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: very bad, and very weird, scrolling text performance xorg 1.5.3 intel 2.5.1 GM965
On Sun, Dec 14, 2008 at 06:48:52PM -0500, Thomas Jaeger wrote: You really need the glyph cache in the X server to get decent text performance out of the 2.5 intel driver. The patches are pretty straightforward to backport, but it is my understanding that a 1.6 server will be uploaded to jaunty soon, so you might want to wait for that. I wonder whether the Intel driver can get at least close to Nvidia driver. I ran x11perf on Nvidia system and Xserver *without* the glyph cache. Compared to these numbers, the Intel driver seems to be a bit comic with 56k glyphs/sec with EXA or 215k glyphs/sec with UXA. x11perf -aa10text Sync time adjustment is 0.0603 msecs. 4000 reps @ 0.0001 msec (699.0/sec): Char in 80-char aa line (Charter 10) 4000 reps @ 0.0001 msec (700.0/sec): Char in 80-char aa line (Charter 10) 4000 reps @ 0.0001 msec (694.0/sec): Char in 80-char aa line (Charter 10) 4000 reps @ 0.0001 msec (700.0/sec): Char in 80-char aa line (Charter 10) 4000 reps @ 0.0001 msec (699.0/sec): Char in 80-char aa line (Charter 10) 2 trep @ 0.0001 msec (699.0/sec): Char in 80-char aa line (Charter 10) -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: [Intel-gfx] x11perf -aa10text performance
On Tue, Dec 09, 2008 at 12:11:02AM +0100, Lukas Hejtmanek wrote: Yes, the original patch as posted was buggy. I've now pushed an improved version out to the master branch that should not have this bug. Any feedback on that would be most welcome. Well, with UXA I can get 215000 glyphs/sec *without* the glyph cache in the Xserver. With EXA I got only 66000 glyphs/sec. Is there something terribly broken in Intel's EXA code or Xserver's EXA? I use Xserver 1.5.3 (from Ubuntu). I run both UXA and EXA on the same Xserver. -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libdrm 2.4.1
On Sat, Nov 01, 2008 at 02:46:40PM +, Colin Guthrie wrote: Eric, the above commit broke things quite badly here. Running this on xserver 1.4.2 and intel 2.5.0. Not able to get some proper debug (it just crashes X) and I'm not really in a position to do so right now. I'm guessing some of the compatibility defines are not working. or does this compatibility layer require a recompile of something else? I guess that you need to recompile the intel driver. Anyway, is there a chance you could run X server remotely? A missing symbol currently behaves much like a crash but it does not crash it only does not restore the console properly. -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: 1.4 - 1.5.1 performance regressions
On Thu, Oct 09, 2008 at 11:41:21AM +0200, Michel Dänzer wrote: http://cgit.freedesktop.org/xorg/xserver/commit/?h=server-1.5-branchid=8ef37c194fa08d3911095299413a42a01162b078 Well, doesn't it need also the patch that converts all DevPrivateKey key=key; to static int keyIndex; DevPrivateKey key=keyIndex ? -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: [PATCH] Make -nocursor a runtime option to and remove the compile time NULL_ROOT_CURSOR
On Tue, Sep 30, 2008 at 01:56:12AM +0300, Daniel Stone wrote: Can you not just ship a null cursor theme or something if your apps insist on setting a cursor? hmm, starting just Xserver and xterm makes it unusable, no cursor and the xterm cannot be focused. -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: current git head of Xserver segfaults on a keyhit
Peter, On Tue, Sep 23, 2008 at 04:01:19PM +0930, Peter Hutterer wrote: On Mon, Sep 22, 2008 at 08:08:37PM +0200, Lukas Hejtmanek wrote: the current git head of the Xserver segfaults on any keystroke. Trace is attached: Can I have a log please? any progress here? -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: current git head of Xserver segfaults on a keyhit
On Tue, Sep 23, 2008 at 04:01:19PM +0930, Peter Hutterer wrote: On Mon, Sep 22, 2008 at 08:08:37PM +0200, Lukas Hejtmanek wrote: the current git head of the Xserver segfaults on any keystroke. Trace is attached: Can I have a log please? attached. -- Lukáš Hejtmánek _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/anubis:1 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 This is a pre-release version of the X server from The X.Org Foundation. It is not supported in any way. Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/. Select the xorg product for bugs you find in this release. Before reporting bugs in pre-release versions please check the latest version in the X.Org Foundation git repository. See http://wiki.x.org/wiki/GitPage for git access instructions. X.Org X Server 1.5.99.1 Release Date: (unreleased) X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.27-rc5 x86_64 Current Operating System: Linux anubis 2.6.27-rc5 #12 SMP Tue Sep 2 11:57:56 CEST 2008 x86_64 Build Date: 22 September 2008 06:08:17PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log//Xorg.1.0.log, Time: Mon Sep 22 18:43:00 2008 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout Default Layout (**) |--Screen Default Screen (0) (**) | |--Monitor Generic Monitor (**) | |--Device Intel915 (**) |--Input Device Configured Mouse (**) Option NoTrapSignals true (**) Option Xinerama false (==) Automatically adding devices (==) Automatically enabling devices (==) Including the default font path built-ins. (**) FontPath set to: /usr/share/fonts/truetype/freefont, /usr/share/fonts/truetype/msttcorefonts, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/misc/:unscaled, built-ins (==) ModulePath set to /usr/local/X11R7.5//lib/xorg/modules (**) Extension Composite is enabled (II) Cannot locate a core pointer device. (II) Cannot locate a core keyboard device. (II) The server relies on HAL to provide the list of input devices. If no devices become available, reconfigure HAL or disable AllowEmptyInput. (II) Loader magic: 0x3f560 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 5.0 X.Org XInput driver : 4.0 X.Org Server Extension : 2.0 (II) Loader running on linux (--) using VT number 8 (--) PCI:*([EMAIL PROTECTED]:2:0) unknown vendor (0x8086) unknown chipset (0x2a02) rev 12, Mem @ 0xf810/1048576, 0xe000/268435456, I/O @ 0x1800/8 (--) PCI: ([EMAIL PROTECTED]:2:1) unknown vendor (0x8086) unknown chipset (0x2a03) rev 12, Mem @ 0xf820/1048576 (II) Open ACPI successful (/var/run/acpid.socket) (II) System resource ranges: [0] -1 0 0x - 0x (0x1) MX[B] [1] -1 0 0x000f - 0x000f (0x1) MX[B] [2] -1 0 0x000c - 0x000e (0x3) MX[B] [3] -1 0 0x - 0x0009 (0xa) MX[B] [4] -1 0 0x - 0x (0x1) IX[B] [5] -1 0 0x - 0x (0x1) IX[B] (II) LoadModule: extmod (II) Loading /usr/local/X11R7.5//lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor=X.Org Foundation compiled for 1.5.99.1, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: dbe (II) Loading /usr/local/X11R7.5//lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor=X.Org Foundation compiled for 1.5.99.1, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: glx (II) Loading /usr/local/X11R7.5//lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor=X.Org Foundation compiled for 1.5.99.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX enabled (==) Exporting typical set of GLX visuals (II) Loading extension GLX (II) LoadModule: dri (II) Loading /usr/local/X11R7.5//lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor=X.Org Foundation compiled for 1.5.99.1, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading
current git head of Xserver segfaults on a keyhit
Hello, the current git head of the Xserver segfaults on any keystroke. Trace is attached: (I have the core file and all the binaries, if interested) Core was generated by `/usr/local/X11R7.5/bin/Xorg :1.0'. Program terminated with signal 11, Segmentation fault. [New process 28180] #0 0x7f02c8b79c48 in _int_realloc () from /lib/libc.so.6 (gdb) where #0 0x7f02c8b79c48 in _int_realloc () from /lib/libc.so.6 #1 0x7f02c8b7ab6e in realloc () from /lib/libc.so.6 #2 0x00540cb2 in Xrealloc (ptr=0x2693e50, amount=744) at utils.c:1160 #3 0x005dc5e0 in _XkbCopyServerMap (src=0x265a050, dst=0x268c1c0) at xkbUtils.c:1230 #4 0x005def67 in XkbCopyKeymap (src=0x265a050, dst=0x268c1c0, sendNotifies=1) at xkbUtils.c:2089 #5 0x005a8935 in CopyKeyClass (device=0x26f0a00, master=0x262fc80) at exevents.c:225 #6 0x005a96cc in DeepCopyDeviceClasses (from=0x26f0a00, to=0x262fc80) at exevents.c:547 #7 0x005aa025 in ChangeMasterDeviceClasses (device=0x26f0a00, dcce=0x26976b0) at exevents.c:740 #8 0x005aa0f7 in UpdateDeviceState (device=0x26f0a00, xE=0x26976b0, count=1) at exevents.c:784 #9 0x005aac7b in ProcessOtherEvent (xE=0x26976b0, device=0x26f0a00, count=1) at exevents.c:1002 #10 0x005f190e in ProcessKeyboardEvent (xE=0x26976b0, keybd=0x26f0a00, count=1) at xkbPrKeyEv.c:209 #11 0x00511132 in mieqProcessInputEvents () at mieq.c:372 #12 0x0049d836 in ProcessInputEvents () at xf86Events.c:200 #13 0x0044f20b in Dispatch () at dispatch.c:363 #14 0x0043305b in main (argc=2, argv=0x7fffd34d2cd8, envp=0x7fffd34d2cf0) at main.c:390 -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
The latest Xorg and intel driver segfaults
Hello, I tried to run the latest Xserver and the Intel driver (both current git head). It segfaults at the startup: Core was generated by `/usr/local/X11R7.5/bin/Xorg :1.0'. Program terminated with signal 11, Segmentation fault. [New process 3191] #0 intel_nondrm_exec (bo=0x100aec0, used=16, priv=0x7fd81d35f270) at i830_batchbuffer.c:48 48 BEGIN_LP_RING(2); (gdb) where #0 intel_nondrm_exec (bo=0x100aec0, used=16, priv=0x7fd81d35f270) at i830_batchbuffer.c:48 #1 0x7fd81d13c1b4 in dri_fake_bo_exec (bo=0x100aec0, used=16, cliprects=0x0, num_cliprects=0, DR4=-1) at intel_bufmgr_fake.c:1216 #2 0x7fd81d35f0f8 in intel_batch_flush (pScrn=0xfd2910) at i830_batchbuffer.c:177 #3 0x7fd81d35ea7a in I830Sync (pScrn=0xfd2910) at i830_accel.c:195 #4 0x7fd81c4c678c in exaWaitSync (pScreen=0x10025d0) at exa.c:1049 #5 0x7fd81d36424d in i830_crtc_lock (crtc=0xfd7930) at i830_display.c:936 #6 0x004ac1cc in xf86CrtcSetMode (crtc=0xfd7930, mode=0xfd7a18, rotation=1, x=0, y=0) at xf86Crtc.c:253 #7 0x004aca17 in xf86SetDesiredModes (scrn=0xfd2910) at xf86Crtc.c:2342 #8 0x7fd81d36dac2 in I830EnterVT (scrnIndex=0, flags=value optimized out) at i830_driver.c:3678 #9 0x7fd81d36f24a in I830ScreenInit (scrnIndex=0, pScreen=0x10025d0, argc=value optimized out, argv=value optimized out) at i830_driver.c:3399 #10 0x00432ef6 in AddScreen (pfnInit=0x7fd81d36df70 I830ScreenInit, argc=2, argv=0x7fff28a51258) at main.c:695 #11 0x0046e411 in InitOutput (pScreenInfo=0x7dd260, argc=2, argv=0x7fff28a51258) at xf86Init.c:1090 #12 0x00433625 in main (argc=2, argv=0x7fff28a51258, envp=0x7fff28a51270) at main.c:315 (gdb) I'm not using the GEM kernel. -- Lukáš Hejtmánek ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg