Re: xorg can't load qxl driver
Thanks Liang, but that driver still produces a segfault. If, as you say, it is extremely unstable that is not a good long term solution to my problem. The bug report has been filed and I'm content to leave it at that and explore other options, such as setting up a pulseaudio server on my VM. On ??? 11 6? 2010 07:47:55 Brian Milliron wrote: Well, that was a nice idea, but even after using the regular patch process, ie patch -p1 the patched drivers still crash my system with a segmentation fault. So I guess the patch has a few issues still to be worked out. I'm not sure what else to do but try to find an alternative to spice since these drivers won't work. Hi, Brian, I've test qxl driver on 32bit ubuntu, it works, but extremely unstable. I attached my compiled so module and related files. they may work on your box too. BTW: when compile qxl from git, I get a xorg-macros error. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: bri...@io.com ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg can't load qxl driver
The page at The page http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html indicates the Author couldn't get it going the way he was trying. Yes, once I finished and re-read the instructions I saw the author was having the exact same problem I was. Unfortunately there don't seem to be any instructions from anyone who actually got it working. Brian ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg can't load qxl driver
It looks like a problem fixed in offical git commit [1], you may try to patch it and try again. Cool, I'll give that a try. I downloaded the gzipped file from that link and extracted it into my /usr/lib/xorg/modules/drivers. Now what do I do with it? There is no configure and no makefile. Do I just overwrite the existing qxl driver sources with it and remake? BTW: QXL Driver is included in debian unstable, you may build it for you ubuntu. What does that mean? How would I do this? Do I need to download something else? [1] http://cgit.freedesktop.org/xorg/driver/xf86-video- qxl/commit/?id=563f31ad081038ece8b5a5b525dd516fcd6ad0fd -- Liang Guo http://bluestone.cublog.cn ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg can't load qxl driver
Are you still working from the RedHat flavored copy of spice? Have you read much at http://www.spice-space.org/ ? I don't think RedHat based spice is going to fly in a Debian/Ubuntu setup, so many little things different in the distros. Going direct from the source has best chance IMHO. On 09/06/10 04:33, brian wrote: dget http://ftp.de.debian.org/debian/pool/main/x/xserver-xorg-video- qxl/xserver-xorg-video-qxl_0.0.12-1.dsc cd xserver-xorg-video-qxl-0.0.12 fakeroot debian/rules binary This generates a make error: ha...@citadel:/usr/lib/xorg/modules/drivers/xf86-video-qxl-0.0.12$ sudo fakeroot debian/rules binary dh_testdir make: dh_testdir: Command not found make: *** [build/Makefile] Error 127 ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: x...@robsfreespace.com ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
xorg can't load qxl driver
I've been trying to get Red Hat's Spice loaded to use for my Ubuntu VM for more than a month now. I finally got the full spice package installed and configured but it needs qxl drivers loaded in x windows which so far I've been unable to accomplish. I followed the instructions here: http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html However, when I edit the xorg.conf file to load the qxl drivers I installed, then stop and start gdm it complains that it can't find drivers qxl and void and puts me into low graphics mode. When I try to reinstall the drivers, it says latest drivers already installed nothing left to do. I don't understand why this isn't working. The drivers are installed, the hardware shows up, the xorg.conf has been modified. Are the istructions relating to the xorg.conf incorrect? That's the only thing I can think of. Brian ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg can't load qxl driver
I followed the instructions here: http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html snip Where is the qxl driver being installed? Is it the same place that the server expects to find drivers? The normal place would be something like /usr/lib/xorg/modules/drivers if you're on x86. I see the instructions there are instructing you to pass --libdir=/usr/lib64 when building qxl. Don't do that if you're not on x86_64. On the other hand, I don't know why you don't have the void input driver. Maybe it's not installed. I don't know the debian/ubuntu package name, but it might be xserver-xorg-input-void. Anyway, your log would help. Thanks Dan, that is a start. Since the instructions didn't mention putting the drivers anywhere special I just put them in my home folder. Please excuse any dumb mistakes, I'm kind of new to this. I went ahead and remade the drivers in the /usr/lib/xorg/modules/drivers minus the --libdir=/usr/lib64 since I'm using 32 bit ubuntu. I also installed the void driver, which you had the correct name for. Now when I stop and start gdm it still puts me in low graphics mode but says it cannot detect my screen, video adapter, and input device settings. Here is the last section of my xorg log, which I hope has all the relevant info: ha...@citadel:~$ sudo tail -30 /var/log/Xorg.0.log (II) qxl(0): Device version 0.0 (II) qxl(0): Compression level 0, log level 0 (II) qxl(0): Currently using mode #-1, list at 0x34 (II) qxl(0): 14357 io pages at 0x0 (II) qxl(0): 8294400 byte draw area at 0x3815b68 (II) qxl(0): RAM header offset: 0x3ffeb68 (II) qxl(0): Correct RAM signature 41525851 (II) qxl(0): Monitor0: Using hsync range of 31.50-80.00 kHz (II) qxl(0): Monitor0: Using vrefresh range of 50.00-70.00 Hz (II) qxl(0): Clock range: 10.00 to 165.00 MHz (II) qxl(0): Not using default mode 640x350 (no mode of this name) (II) qxl(0): Not using default mode 320x175 (bad mode clock/interlace/doublescan) (II) qxl(0): Not using default mode 640x400 (no mode of this name) (II) qxl(0): Not using default mode 320x200 (bad mode clock/interlace/doublescan) (II) qxl(0): Not using default mode 720x400 (no mode of this name) (II) qxl(0): Not using default mode 360x200 (bad mode clock/interlace/doublescan) Backtrace: 0: /usr/bin/X(xorg_backtrace+0x3b) [0x8133d6b] 1: /usr/bin/X(xf86SigHandler+0x55) [0x80c7d35] 2: [0xae9400] 3: /usr/bin/X(xf86InitialCheckModeForDriver+0x1ee) [0x80da28e] 4: /usr/bin/X(xf86ValidateModes+0xe91) [0x80dc011] 5: /usr/lib/xorg/modules/drivers//qxl_drv.so [0x28ade4] 6: /usr/bin/X(InitOutput+0x4e9) [0x80b05b9] 7: /usr/bin/X(main+0x1cb) [0x807234b] 8: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x126b56] 9: /usr/bin/X [0x80719c1] Saw signal 11. Server aborting. ddxSigGiveUp: Closing log ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg can't load qxl driver
On Mon, Jun 7, 2010 at 3:37 PM, brian bri...@io.com wrote: I followed the instructions here: http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html snip Where is the qxl driver being installed? Is it the same place that the server expects to find drivers? The normal place would be something like /usr/lib/xorg/modules/drivers if you're on x86. I see the instructions there are instructing you to pass --libdir=/usr/lib64 when building qxl. Don't do that if you're not on x86_64. On the other hand, I don't know why you don't have the void input driver. Maybe it's not installed. I don't know the debian/ubuntu package name, but it might be xserver-xorg-input-void. Anyway, your log would help. Thanks Dan, that is a start. Since the instructions didn't mention putting the drivers anywhere special I just put them in my home folder. Please excuse any dumb mistakes, I'm kind of new to this. I went ahead and remade the drivers in the /usr/lib/xorg/modules/drivers minus the --libdir=/usr/lib64 since I'm using 32 bit ubuntu. You can actually put them where you want if you tell the server where to find them. See the ModulePath option in xorg.conf(5). Both ways work fine, though. I also installed the void driver, which you had the correct name for. Now when I stop and start gdm it still puts me in low graphics mode but says it cannot detect my screen, video adapter, and input device settings. Here is the last section of my xorg log, which I hope has all the relevant info: Can you attach the whole log? Sometimes there's interesting things that happen earlier in the initialization. ha...@citadel:~$ sudo tail -30 /var/log/Xorg.0.log (II) qxl(0): Device version 0.0 (II) qxl(0): Compression level 0, log level 0 (II) qxl(0): Currently using mode #-1, list at 0x34 (II) qxl(0): 14357 io pages at 0x0 (II) qxl(0): 8294400 byte draw area at 0x3815b68 (II) qxl(0): RAM header offset: 0x3ffeb68 (II) qxl(0): Correct RAM signature 41525851 (II) qxl(0): Monitor0: Using hsync range of 31.50-80.00 kHz (II) qxl(0): Monitor0: Using vrefresh range of 50.00-70.00 Hz (II) qxl(0): Clock range: 10.00 to 165.00 MHz (II) qxl(0): Not using default mode 640x350 (no mode of this name) (II) qxl(0): Not using default mode 320x175 (bad mode clock/interlace/doublescan) (II) qxl(0): Not using default mode 640x400 (no mode of this name) (II) qxl(0): Not using default mode 320x200 (bad mode clock/interlace/doublescan) (II) qxl(0): Not using default mode 720x400 (no mode of this name) (II) qxl(0): Not using default mode 360x200 (bad mode clock/interlace/doublescan) Backtrace: 0: /usr/bin/X(xorg_backtrace+0x3b) [0x8133d6b] 1: /usr/bin/X(xf86SigHandler+0x55) [0x80c7d35] 2: [0xae9400] 3: /usr/bin/X(xf86InitialCheckModeForDriver+0x1ee) [0x80da28e] 4: /usr/bin/X(xf86ValidateModes+0xe91) [0x80dc011] 5: /usr/lib/xorg/modules/drivers//qxl_drv.so [0x28ade4] 6: /usr/bin/X(InitOutput+0x4e9) [0x80b05b9] 7: /usr/bin/X(main+0x1cb) [0x807234b] 8: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x126b56] 9: /usr/bin/X [0x80719c1] Saw signal 11. Server aborting. ddxSigGiveUp: Closing log Looks like you got a segfault (signal 11 with a partial backtrace). I'm not sure the reason why, but this is probably going to take someone familiar with qxl. -- Dan ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg can't load qxl driver
Can you attach the whole log? Sometimes there's interesting things that happen earlier in the initialization. Sure, here goes: X.Org X Server 1.6.4 Release Date: 2009-9-27 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.24-27-server i686 Ubuntu Current Operating System: Linux Citadel 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010 i686 Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.31-21-generic root=UUID=24d25872-4c39-431a-9586-cd2c14807610 ro quiet splash Build Date: 06 May 2010 09:30:46PM xorg-server 2:1.6.4-2ubuntu4.3 (buildd@) Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. 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.0.log, Time: Mon Jun 7 17:26:24 2010 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout X.org Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (==) Automatically adding devices (==) Automatically enabling devices (WW) The directory /usr/share/fonts/X11/cyrillic does not exist. Entry deleted from font path. (WW) The directory /usr/share/fonts/X11/cyrillic does not exist. Entry deleted from font path. (**) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, built-ins, /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, built-ins (**) ModulePath set to /usr/lib/xorg/modules (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Keyboard0 (II) Loader magic: 0x3bc0 (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 7 (--) PCI:*(0:0:3:0) 1b36:0100:1af4:1100 Red Hat, Inc. rev 1, Mem @ 0xc400/67108864, 0xc800/4096, 0xc8002000/8192, I/O @ 0xc050/8 (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) extmod will be loaded. This was enabled by default and also specified in the config file. (II) dbe will be loaded. This was enabled by default and also specified in the config file. (II) glx will be loaded. This was enabled by default and also specified in the config file. (II) record will be loaded. This was enabled by default and also specified in the config file. (II) dri will be loaded. This was enabled by default and also specified in the config file. (II) dri2 will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: dbe (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor=X.Org Foundation compiled for 1.6.4, 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: extmod (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor=X.Org Foundation compiled for 1.6.4, 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: glx (II) Loading /usr/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor=X.Org Foundation compiled for 1.6.4, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX enabled (II) Loading extension GLX (II) LoadModule: record (II) Loading /usr/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor=X.Org Foundation compiled for 1.6.4, module version = 1.13.0 Module class: X.Org Server
Re: xorg can't load qxl driver
On Mon, Jun 7, 2010 at 5:13 PM, brian bri...@io.com wrote: Can you attach the whole log? Sometimes there's interesting things that happen earlier in the initialization. Sure, here goes: X.Org X Server 1.6.4 Release Date: 2009-9-27 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.24-27-server i686 Ubuntu Current Operating System: Linux Citadel 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010 i686 Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.31-21-generic root=UUID=24d25872-4c39-431a-9586-cd2c14807610 ro quiet splash Build Date: 06 May 2010 09:30:46PM xorg-server 2:1.6.4-2ubuntu4.3 (buildd@) Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. 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.0.log, Time: Mon Jun 7 17:26:24 2010 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout X.org Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (==) Automatically adding devices (==) Automatically enabling devices (WW) The directory /usr/share/fonts/X11/cyrillic does not exist. Entry deleted from font path. (WW) The directory /usr/share/fonts/X11/cyrillic does not exist. Entry deleted from font path. (**) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, built-ins, /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, built-ins (**) ModulePath set to /usr/lib/xorg/modules (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Keyboard0 (II) Loader magic: 0x3bc0 (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 7 (--) PCI:*(0:0:3:0) 1b36:0100:1af4:1100 Red Hat, Inc. rev 1, Mem @ 0xc400/67108864, 0xc800/4096, 0xc8002000/8192, I/O @ 0xc050/8 (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) extmod will be loaded. This was enabled by default and also specified in the config file. (II) dbe will be loaded. This was enabled by default and also specified in the config file. (II) glx will be loaded. This was enabled by default and also specified in the config file. (II) record will be loaded. This was enabled by default and also specified in the config file. (II) dri will be loaded. This was enabled by default and also specified in the config file. (II) dri2 will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: dbe (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor=X.Org Foundation compiled for 1.6.4, 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: extmod (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor=X.Org Foundation compiled for 1.6.4, 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: glx (II) Loading /usr/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor=X.Org Foundation compiled for 1.6.4, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX enabled (II) Loading extension GLX (II) LoadModule: record (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
Re: xorg can't load qxl driver
On 08/06/10 06:19, Dan Nicholson wrote: On Mon, Jun 7, 2010 at 10:51 AM, brianbri...@io.com wrote: I've been trying to get Red Hat's Spice loaded to use for my Ubuntu VM for more than a month now. I finally got the full spice package installed and configured but it needs qxl drivers loaded in x windows which so far I've been unable to accomplish. I followed the instructions here: http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html However, when I edit the xorg.conf file to load the qxl drivers I installed, then stop and start gdm it complains that it can't find drivers qxl and void and puts me into low graphics mode. When I try to reinstall the drivers, it says latest drivers already installed nothing left to do. I don't understand why this isn't working. The drivers are installed, the hardware shows up, the xorg.conf has been modified. Are the istructions relating to the xorg.conf incorrect? That's the only thing I can think of. Where is the qxl driver being installed? Is it the same place that the server expects to find drivers? The normal place would be something like /usr/lib/xorg/modules/drivers if you're on x86. I see the instructions there are instructing you to pass --libdir=/usr/lib64 when building qxl. Don't do that if you're not on x86_64. On the other hand, I don't know why you don't have the void input driver. Maybe it's not installed. I don't know the debian/ubuntu package name, but it might be xserver-xorg-input-void. Anyway, your log would help. -- Dan ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: x...@robsfreespace.com The page at The page http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html indicates the Author couldn't get it going the way he was trying. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com