Bug 28372

Summary: Not able to use the qxl drive in F12
Product: Spice Reporter: monoliv
Component: spicec (deprecated)Assignee: Alexander Larsson <alexl>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: b_milliron, muppski
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Error log xorg
xorg.conf used
xorg pkg installed

Description monoliv 2010-06-03 09:12:55 UTC
Created attachment 36032 [details]
Error log xorg

I would like to use SPICE to connect to my VM. The VM is running F12.

I ve compiled the driver available http://ftp.x.org/pub/individual/driver/xf86-video-qxl-0.0.12.tar.bz2

I ve compiled the driver with the following option 
# ./configure  --prefix=/usr --libdir=/usr/lib64/ --sysconfdir=/etc 

It compiles and install without error. When I am starting the X session, I get a segmentation fault.
Comment 1 monoliv 2010-06-03 09:13:25 UTC
Created attachment 36033 [details]
xorg.conf used
Comment 2 monoliv 2010-06-03 09:13:45 UTC
Created attachment 36034 [details]
xorg pkg installed
Comment 3 monoliv 2010-06-03 09:14:33 UTC
ive got a similar issue on OpenSuSE 11.2
Comment 4 monoliv 2010-06-04 02:10:10 UTC
same issue w/ Ubuntu 10.04 xorg version

xorg | 1:7.5+5ubuntu1 |         lucid | source, amd64, i386
Comment 5 Appiah 2010-09-29 02:23:29 UTC
*** Bug 28432 has been marked as a duplicate of this bug. ***
Comment 6 Appiah 2010-09-29 02:34:07 UTC
0.0.12 segfaults during probe (see monoliv's attachment)
0.0.11 keeps probing and gives up
0.0.9 however works fine.

Tested on Ubuntu 10.04
Comment 7 Appiah 2010-09-29 03:56:00 UTC
Found a solution by googling: http://www.listware.net/201006/xorg-general/32288-re-xorg-cant-load-qxl-driver.html


"in src/qxl-driver.c line 1234, then recompile it 
assert (((struct qxl-mode *)p- assert (((struct qxl-mode *)p-"

Delete line 1234 and 1235, Recompile.
Tested it myself and it worked.
Comment 8 Appiah 2010-09-29 04:28:12 UTC
You can also git this:
http://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/

(In reply to comment #7)
> Found a solution by googling:
> http://www.listware.net/201006/xorg-general/32288-re-xorg-cant-load-qxl-driver.html
> 
> 
> "in src/qxl-driver.c line 1234, then recompile it 
> assert (((struct qxl-mode *)p- assert (((struct qxl-mode *)p-"
> 
> Delete line 1234 and 1235, Recompile.
> Tested it myself and it worked.
Comment 9 aix 2011-04-14 02:00:29 UTC
QXL driver is directly included in F14.
Comment 10 Christophe Fergeau 2011-04-14 09:54:49 UTC
Closing this bug as old since it seems to be working with git and in f14

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.