Skip to contentSkip to conversation

New: xorg server fails to start when using xorg state tracker

Bug 30402 [email protected] 1 participant 23 messages Sep 27, 2010 – Oct 5, 2011

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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."

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #1 from Andy Furniss <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #2 from Michel Dänzer <[email protected]> 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'.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #3 from Martin Stolpe <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #4 from Martin Stolpe <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Jerome Glisse <[email protected]> 2011-02-09 07:35:54 PST --- So it's fixed ?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #6 from Martin Stolpe <[email protected]> 2011-02-09 14:22:08 PST --- (In reply to comment #5)

Quoted 1 line

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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #7 from Knut Petersen <[email protected]> 2011-09-29 07:09:32 PDT --- (In reply to comment #6)

Quoted 10 lines

(In reply to comment #5)

Quoted 1 line

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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

Martin Stolpe <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #8 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #9 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #10 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51779|text/x-log                  |text/plain
          mime type|                            |
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51780|application/octet-stream    |text/plain
          mime type|                            |
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #11 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #12 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #13 from Martin Stolpe <[email protected]> 2011-09-30 15:58:30 PDT --- Created an attachment (id=51817)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51817)
Configuration for r600 card

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #14 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #15 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #16 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

Martin Stolpe <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51820|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#20 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #17 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#21 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

--- Comment #18 from Martin Stolpe <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#22 lore raw

[Bug 30402] xorg server fails to start when using xorg state tracker

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30402

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #19 from Michel Dänzer <[email protected]> 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)

Quoted 2 lines

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.

Quoted 3 lines

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".

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel