Bug 56331 - RadeonSI DRI not working with HD 7700 series
Summary: RadeonSI DRI not working with HD 7700 series
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-23 16:33 UTC by bubuledev
Modified: 2012-10-24 07:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg log (38.37 KB, text/plain)
2012-10-23 16:34 UTC, bubuledev
no flags Details
dmesg (113.57 KB, text/plain)
2012-10-23 16:34 UTC, bubuledev
no flags Details
kernel config file (84.28 KB, text/plain)
2012-10-23 16:35 UTC, bubuledev
no flags Details

Description bubuledev 2012-10-23 16:33:46 UTC
Hi,

I can't get my radeon HD 7750 to work properly with the radeon (and radeonsi) driver.
I always get stuck with llvmpipe.

Things do work well with the Catalyst driver.

And I can't figure out where I'm missing something.
(both root and users are in the video group)

Could you please help me ?
I'm getting mesa, libdrm and xf86-video-ati from git.
("=libdrm-9999 =xf86-video-ati-9999 =mesa-9999")

I will provide dmesg, Xorg.log, and the kernel config (zcat /proc/config.gz).
Let me know if you need some more information.

Thx in advance.

$ uname -a
Linux funnyguy 3.6.2-gentoo #5 SMP Tue Oct 23 11:37:09 CEST 2012 x86_64 Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz GenuineIntel GNU/Linux

$ cat /var/log/Xorg.0.log |grep -i glx
[    68.422] (II) LoadModule: "glx"
[    68.422] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    68.422] (II) Module glx: vendor="X.Org Foundation"
[    68.422] (==) AIGLX enabled
[    68.422] Loading extension GLX
[    68.666] (II) AIGLX: Screen 0 is not DRI2 capable
[    68.666] (II) AIGLX: Screen 0 is not DRI capable
[    68.928] (II) AIGLX: Loaded and initialized swrast
[    68.928] (II) GLX: Initialized DRISWRAST GL provider for screen 0


$ LIBGL_DEBUG=verbose glxinfo > /dev/null
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so

$ cat /proc/fb
0 radeondrmfb

$ cat /usr/share/X11/xorg.conf.d/10-ati.conf 
Section "ServerLayout"
        Identifier     "Radeon Layout"
        Screen      0  "Radeon-Screen[0]-0" 0 0
EndSection

#Section "Module"
#EndSection

Section "Monitor"
        Identifier   "Radeon-Monitor[0]-0"
        Option      "VendorName" "AMD RadeonSI Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Radeon-Device[0]-0"
        Driver      "radeon"
#       Option      "AccelMethod" "EXA"
#       Driver      "fbdev"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Radeon-Screen[0]-0"
        Device     "Radeon-Device[0]-0"
        Monitor    "Radeon-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "dri"
        Mode 0666
EndSection
Comment 1 bubuledev 2012-10-23 16:34:09 UTC
Created attachment 68959 [details]
xorg log
Comment 2 bubuledev 2012-10-23 16:34:37 UTC
Created attachment 68960 [details]
dmesg
Comment 3 bubuledev 2012-10-23 16:35:02 UTC
Created attachment 68961 [details]
kernel config file
Comment 4 Alex Deucher 2012-10-23 17:32:45 UTC
Acceleration for SI hardware requires glamor.  You need to do the following:

1. make sure you xserver version is less than 1.13.  1.13 made some changes to glx that are not compatible with glamor and we don't yet have a proper workaround.

2. build and install glamor:
http://cgit.freedesktop.org/xorg/driver/glamor/

3. build and install xf86-video-ati with the --enable-glamor configure flag

4. add:
Option "AccelMethod" "glamor"
to the device section of your xorg.conf

5. Make sure you have built and installed the radeonsi driver from mesa.

Keep in mind that the 3D support in radeonsi is still a WIP so some things may not work well.
Comment 5 bubuledev 2012-10-24 07:05:08 UTC
(In reply to comment #4)
> Acceleration for SI hardware requires glamor.  You need to do the following:
> 
> 1. make sure you xserver version is less than 1.13.  1.13 made some changes
> to glx that are not compatible with glamor and we don't yet have a proper
> workaround.
> 
> 2. build and install glamor:
> http://cgit.freedesktop.org/xorg/driver/glamor/
> 
> 3. build and install xf86-video-ati with the --enable-glamor configure flag
> 
> 4. add:
> Option "AccelMethod" "glamor"
> to the device section of your xorg.conf
> 
> 5. Make sure you have built and installed the radeonsi driver from mesa.
> 
> Keep in mind that the 3D support in radeonsi is still a WIP so some things
> may not work well.

Thank you for your guidance.
I will try your suggestions and hope things will improve soon.


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.