[Bug 25607] New: drmCheckModesettingSupported fails if X loaded radeon modeset=1 just before

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 12 03:07:29 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25607

           Summary: drmCheckModesettingSupported fails if X loaded radeon
                    modeset=1 just before
           Product: xorg
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/Radeon
        AssignedTo: xorg-driver-ati at lists.x.org
        ReportedBy: brice.goglin at ens-lyon.org
         QAContact: xorg-team at lists.x.org


If using KMS without loading radeon automatically during boot, X loads the
radeon kernel module at startup but drmCheckModesettingSupported fails. It
looks like drm sysfs files are not setup yet when drmCheckModesettingSupported
runs. My understanding is that X loads the radeon kernel module but it doesn't
wait long enough before trying to use what radeon is setting up in the kernel
and sysfs.

So X starts without enabling KMS support, which works but disables DRI2. Then
if I restart X, drm files are already setup, so KMS/DRI2 gets enabled this
time, but the display gets screwed up...

If I load radeon during boot, or if I load it manually before starting X,
everything looks good.

This is a Thinkpad T43 with rv370. Running Linux 2.6.32 (from Debian sid, with
RADEON_KMS not set), libdrm 2.4.16 with radeon experimental api enabled,
Xserver 1.7.3, xf86-video-radeon git master from yesterday, and Mesa 7.6.1-rc3.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list