Bug 29095

Summary: RC410: 3D apps do not run after upgrade to 2.6.35-rc5
Product: DRI Reporter: Tom Stellard <tstellar>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Output from glxgears with RADEON_DEBUG=all
none
Dmesg
none
dmesg without pci=noacpi from linus' tree HEAD 9c03f16
none
dmesg with pci=noacpi from linus' tree HEAD 9c03f16 none

Description Tom Stellard 2010-07-15 23:54:26 UTC
Created attachment 37103 [details]
Output from glxgears with RADEON_DEBUG=all

I just upgraded from 2.6.33 to 2.6.35-rc5, and whenever I try to run glxgears or any of the mesa demos only a black window is displayed.  There is nothing interesting in my dmesg log.  I am using the latest git versions of libdrm, mesa, xf86-video-ati, and X server 1.8.1.902.  My card is a Radeon Xpress 200M IGP (RC410) I can give bisecting the kernel a try, but first I wanted to see if anyone had any ideas about what might be wrong.  Previously, I was running a patched version of 2.6.33 to work around this bug: https://bugzilla.kernel.org/show_bug.cgi?id=15626 .  The fix for this bug made it into one of the 2.6.35-rc* releases.
Comment 1 Alex Deucher 2010-07-16 06:47:36 UTC
can you attach your dmesg?
Comment 2 Tom Stellard 2010-07-16 07:08:58 UTC
Created attachment 37128 [details]
Dmesg
Comment 3 Tom Stellard 2010-07-26 07:46:47 UTC
I've bisected this and the problem starts with this commit:


bc35afdb182d4c48c889fe27ba7a5d7ea0c8194d is the first bad commit
commit bc35afdb182d4c48c889fe27ba7a5d7ea0c8194d
Author: Jerome Glisse <jglisse@redhat.com>
Date:   Wed May 12 18:01:13 2010 +0200

    drm/radeon/kms: add query for crtc hw id from crtc id to get info V2
    
    Userspace need to know the hw crtc id (0, 1, 2, ...) from the drm
    crtc id. Bump the minor version so userspace can enable conditionaly
    features depend on this.
    
    V2 use num_crtc and avoid DRM_ERROR
    
    Signed-off-by: Jerome Glisse <jglisse@redhat.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>



I'm using the latest git versions of libdrm, mesa, and xf86-video-ati, and version 1.8.1.902 of the X server.
Comment 4 Alex Deucher 2010-07-26 08:03:23 UTC
This patch might help:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0baf2d8fe43fdd81faa30e65ff71785c99c78520

This bug might also be a duplicate of bug 28341.
Comment 5 Tom Stellard 2010-07-26 10:19:55 UTC
(In reply to comment #4)
> This patch might help:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0baf2d8fe43fdd81faa30e65ff71785c99c78520
> 
> This bug might also be a duplicate of bug 28341.

That patch fixes the problem.

Thanks.
Comment 7 Tom Stellard 2010-09-16 10:11:32 UTC
This bug is not completely fixed contrary to what I reported earlier.  3D apps (e.g glxgears or any mesa demos) only work if I boot with pci=noacpi.  Otherwise, without pci=noacpi I am still experiencing the same problem with 2.6.36-rc4 as I originally reported.
Comment 8 Tom Stellard 2010-09-16 10:13:10 UTC
Created attachment 38747 [details]
dmesg without pci=noacpi from linus' tree HEAD 9c03f16
Comment 9 Tom Stellard 2010-09-16 10:14:01 UTC
Created attachment 38748 [details]
dmesg with pci=noacpi from linus' tree HEAD 9c03f16
Comment 10 Martin Peres 2019-11-19 08:14:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/143.

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.