Bug 24352 - When DRI is explicitly enabled in xorg.conf the desktop is covered by gdm loginpicture
Summary: When DRI is explicitly enabled in xorg.conf the desktop is covered by gdm log...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 12:22 UTC by Juho-Mikko Pellinen
Modified: 2010-08-14 12:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
X-log when starting up with DRI enabled (37.87 KB, text/plain)
2009-10-06 12:22 UTC, Juho-Mikko Pellinen
no flags Details
X-log when starting up with DRI disabled (41.49 KB, text/plain)
2009-10-06 12:23 UTC, Juho-Mikko Pellinen
no flags Details
xorg.conf in use. (1.16 KB, text/plain)
2009-10-06 12:24 UTC, Juho-Mikko Pellinen
no flags Details
emerge --info (4.33 KB, text/plain)
2009-10-06 12:26 UTC, Juho-Mikko Pellinen
no flags Details
glxinfo when running without DRI (18.63 KB, text/plain)
2009-10-06 12:44 UTC, Juho-Mikko Pellinen
no flags Details

Description Juho-Mikko Pellinen 2009-10-06 12:22:26 UTC
Created attachment 30117 [details]
X-log when starting up with DRI enabled

When enabling DRI in xorg.conf login screen fails to show up buttons and some texts. Logging in is still possible and gnome logs in correctly except that the gdm login screen does not get replaced by desktop, but stays unchanged.
Because the mouse works all the time, I can see the cursor changing and I can manipulate the invisible windows and even type some text inside the gnome-terminal which starts up automatically.

Mouse cursor reacts correctly to everything, but I cannot get the screen to update.

With DRI off and EXA on my desktop works as it should.

My graphics card is HD 2600Pro AGP with dual DVI and tv-out.

I'm running stable gentoo with:
kernel: 2.6.32_rc3
xorg-server: 1.6.4
radeonhd: 1.2.5
mesa and libdrm from git.
Comment 1 Juho-Mikko Pellinen 2009-10-06 12:23:37 UTC
Created attachment 30118 [details]
X-log when starting up with DRI disabled

This works, but is slow.
Comment 2 Juho-Mikko Pellinen 2009-10-06 12:24:33 UTC
Created attachment 30119 [details]
xorg.conf in use.

I just comment/uncomment the DRI-section.
Comment 3 Juho-Mikko Pellinen 2009-10-06 12:26:47 UTC
Created attachment 30120 [details]
emerge --info

This describes the state of my current system from development point of view.
Comment 4 Juho-Mikko Pellinen 2009-10-06 12:29:29 UTC
I'm continuously updating the git packages for better use. I might be able to take the screenshots from the unchanging gdm-login screen after logging in if requested.
Comment 5 Juho-Mikko Pellinen 2009-10-06 12:31:23 UTC
Added info about hardware.
Comment 6 Juho-Mikko Pellinen 2009-10-06 12:44:17 UTC
Created attachment 30121 [details]
glxinfo when running without DRI
Comment 7 Juho-Mikko Pellinen 2009-11-02 05:50:13 UTC
The root problem was and still is the AGP-bus. By forcing BusType to PCIE I get working DRI2 and KMS.
Comment 8 Alex Deucher 2009-11-02 07:53:20 UTC
(In reply to comment #7)
> The root problem was and still is the AGP-bus. By forcing BusType to PCIE I get
> working DRI2 and KMS.
> 

radeonhd does not support KMS; you need to use radeon (xf86-video-ati).  Also, the xorg.conf BusType option is not relevant for KMS (or radeonhd).  For KMS, you need to load the radeon drm with agpmode=-1.
Comment 9 Juho-Mikko Pellinen 2010-08-14 12:35:16 UTC
This was caused by problems with AGP and the situation was solved by adding radeon.agpmode=-1 as kernel boot option.
This can be closed now.


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.