https://bugs.freedesktop.org/show_bug.cgi?id=30402
Summary: xorg server fails to start when using xorg state tracker Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: martinstolpe@gmail.com
Created an attachment (id=38984) --> (https://bugs.freedesktop.org/attachment.cgi?id=38984) xorg server log
I've tried to use the xorg state tracker as a replacement for the xf86-video-ati driver. The server fails to start with the following error message: "LoadModule: Module radeon does not have a radeonModuleData data object."
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #1 from Andy Furniss lists@andyfurniss.entadsl.com 2010-09-27 10:05:43 PDT --- I am getting the same when building mesa with r600 gallium, with the autogen command -
--enable-debug --disable-egl --enable-gallium-r600 --enable-gallium-swrast --with-dri-drivers=r600,swrast
My radeon_drv.so gets overwritten so that the next startx fails with the error as reported.
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #2 from Michel Dänzer michel@daenzer.net 2010-09-27 10:29:04 PDT --- Either the binary needs to be renamed to radeong_drv.so, or the references to 'radeong' in src/gallium/targets/xorg-radeon/radeon_xorg.c need to be changed to 'radeon'.
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #3 from Martin Stolpe martinstolpe@gmail.com 2010-09-27 13:01:02 PDT --- Created an attachment (id=38991) View: https://bugs.freedesktop.org/attachment.cgi?id=38991 Review: https://bugs.freedesktop.org/review?bug=30402&attachment=38991
replaces 'radeong' in src/gallium/targets/xorg-radeon/radeon_xorg.c with 'radeon'
Thank you! I changed the references in radeon_xorg.c like you said.
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #4 from Martin Stolpe martinstolpe@gmail.com 2010-09-27 13:03:18 PDT --- Forgot to mention: After replacing 'radeong' with 'radeon' xorg server was starting and I was able to log into KDE. Looks fine so far.
https://bugs.freedesktop.org/show_bug.cgi?id=30402
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from Jerome Glisse glisse@freedesktop.org 2011-02-09 07:35:54 PST --- So it's fixed ?
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #6 from Martin Stolpe martinstolpe@gmail.com 2011-02-09 14:22:08 PST --- (In reply to comment #5)
So it's fixed ?
It's been a while since I was playing with the Xorg state tracker. It did work when I booted into the graphical mode using the xf86-video-ati driver, then quit the xserver and restarting the xserver with the Xorg state tracker. It didn't work after a reboot of the system.
There is a little bit more information in this bug report: https://bugs.freedesktop.org/show_bug.cgi?id=30406
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #7 from Knut Petersen Knut_Petersen@t-online.de 2011-09-29 07:09:32 PDT --- (In reply to comment #6)
(In reply to comment #5)
So it's fixed ?
It's been a while since I was playing with the Xorg state tracker. It did work when I booted into the graphical mode using the xf86-video-ati driver, then quit the xserver and restarting the xserver with the Xorg state tracker. It didn't work after a reboot of the system.
There is a little bit more information in this bug report: https://bugs.freedesktop.org/show_bug.cgi?id=30406
If it is still broken: Could you please attach a full log of a failed Xorg start with the state tracker enabled.
cu, Knut
https://bugs.freedesktop.org/show_bug.cgi?id=30402
Martin Stolpe martinstolpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #8 from Martin Stolpe martinstolpe@gmail.com 2011-09-29 15:20:44 PDT --- Hello Knut,
thanks for looking into the problem. I did try to make a package with the xorg driver but xorg doesn't start. I don't know what the exact problem is though. Could you have a look at my build file which I use to build my packages if I have some configuration problem?
Greetings Martin
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #9 from Martin Stolpe martinstolpe@gmail.com 2011-09-29 15:21:25 PDT --- Created an attachment (id=51779) --> (https://bugs.freedesktop.org/attachment.cgi?id=51779) log file for xorg server
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #10 from Martin Stolpe martinstolpe@gmail.com 2011-09-29 15:21:53 PDT --- Created an attachment (id=51780) --> (https://bugs.freedesktop.org/attachment.cgi?id=51780) Build script used to create mesa package
https://bugs.freedesktop.org/show_bug.cgi?id=30402
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51779|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=30402
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51780|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #11 from Martin Stolpe martinstolpe@gmail.com 2011-09-30 15:57:21 PDT --- Created an attachment (id=51815) --> (https://bugs.freedesktop.org/attachment.cgi?id=51815) Screenshot of Firefox when 2d acceleration is disabled
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #12 from Martin Stolpe martinstolpe@gmail.com 2011-09-30 15:57:48 PDT --- Created an attachment (id=51816) --> (https://bugs.freedesktop.org/attachment.cgi?id=51816) Screenshot of Firefox when 2d acceleration is enabled
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #13 from Martin Stolpe martinstolpe@gmail.com 2011-09-30 15:58:30 PDT --- Created an attachment (id=51817) --> (https://bugs.freedesktop.org/attachment.cgi?id=51817) Configuration for r600 card
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #14 from Martin Stolpe martinstolpe@gmail.com 2011-09-30 15:59:24 PDT --- Created an attachment (id=51818) --> (https://bugs.freedesktop.org/attachment.cgi?id=51818) Xorg configuration for r300 card
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #15 from Martin Stolpe martinstolpe@gmail.com 2011-09-30 16:00:06 PDT --- Created an attachment (id=51819) --> (https://bugs.freedesktop.org/attachment.cgi?id=51819) Xorg log file for r300 card when 2d acceleration is disabled
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #16 from Martin Stolpe martinstolpe@gmail.com 2011-09-30 16:00:31 PDT --- Created an attachment (id=51820) --> (https://bugs.freedesktop.org/attachment.cgi?id=51820) Xorg log file for r300 card when 2d acceleration is enabled
https://bugs.freedesktop.org/show_bug.cgi?id=30402
Martin Stolpe martinstolpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51820|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #17 from Martin Stolpe martinstolpe@gmail.com 2011-09-30 16:01:36 PDT --- Created an attachment (id=51821) --> (https://bugs.freedesktop.org/attachment.cgi?id=51821) Xorg log file for r600 card when 2d acceleration is disabled
https://bugs.freedesktop.org/show_bug.cgi?id=30402
--- Comment #18 from Martin Stolpe martinstolpe@gmail.com 2011-09-30 16:07:30 PDT --- Hello,
I've found the problem why it didn't work. I didn't know that the entry funtion (or whatever it is called) has to have the same name as the driver. After creating a xorg.conf file I was able to successfully start the Xorg server. It's working great on my two systems (no problems after rebooting the system). One system has a r500 type card installed and the other system has a r600 type card installed.
When I enable 2d acceleration in xorg.conf I get screen corruptions though (see attached screenshots of Firefox). There is an error/info message in the Xorg log file: "[ 2724.965] (II) r300(0): xorg_composite_accelerated fallback Component alpha not supported with source alpha and source value blending. (op=3)" This message is the same for both cards.
Best regards Martin
https://bugs.freedesktop.org/show_bug.cgi?id=30402
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #19 from Michel Dänzer michel@daenzer.net 2011-10-05 06:42:11 PDT --- The bug reported here is fixed. Current Mesa Git produces lib/gallium/r300_drv.so which can be loaded with Driver "r300".
(In reply to comment #18)
When I enable 2d acceleration in xorg.conf I get screen corruptions though (see attached screenshots of Firefox).
That's not related to the original problem and needs to be tracked separately.
There is an error/info message in the Xorg log file: "[ 2724.965] (II) r300(0): xorg_composite_accelerated fallback Component alpha not supported with source alpha and source value blending. (op=3)"
That's not related. If you don't want to get these debugging messages, use Option "DebugFallback" "off".
dri-devel@lists.freedesktop.org