You are not logged in.

#1 2011-01-31 21:20:37

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

Hello

I got a new laptop (Asus b53j, EU version with an i3 - should be same hardware otherwise) and of course it needs to run Arch, or it'll slowly rust.

It has an option to switch the graphics card in Windows (From Intel to ATI Mobility Radeon HD 5000 Series), which I guess might have something to do with this issue.

I'm unable to get any OpenGL rendering working, using the xf86-video-ati driver.

lspci

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
01:00.0 VGA compatible controller: ATI Technologies Inc Manhattan [Mobility Radeon HD 5000 Series]
01:00.1 Audio device: ATI Technologies Inc Manhattan HDMI Audio [Mobility Radeon HD 5000 Series]
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)

xorg log (grep WW): Full log here http://codepad.org/FkQBzGoq

[  3838.156] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  3838.156] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  3838.157] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3838.425] (WW) RADEON(0): Direct rendering disabled
[  3838.428] (WW) RADEON(0): Option "DynamicPM" is not used
[  3838.428] (WW) RADEON(0): Option "ClockGating" is not used
[  3838.428] (WW) RADEON(0): Option "DMAForXv" is not used
[  3838.428] (WW) RADEON(0): Option "ScalerWidth" is not used

glxinfo | grep -i direct

direct rendering: Yes

glxinfo | grep -i opengl

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.10
OpenGL shading language version string: 1.20
OpenGL extensions:

20-radeon.conf

Section "Device"
    Identifier     "ATI Technologies Inc Manhattan [Mobility Radeon HD 5000 Series"
    Driver     "radeon"
    Option      "DRI"             "on"    # ?
    Option      "DynamicPM"         "on"    # Dynamic powersaving.
    Option      "ClockGating"         "on"    # Assisting option for powersaving.
    Option      "AccelMethod"         "EXA"   # EXA should fit most cases.
    Option      "EXAVSync"         "on"    # EXAVSync is explained above.
    Option      "DMAForXv"         "on"    # Forced option in order to enable Xv overlay.
    Option      "ScalerWidth"         "2048"  # That should fix some very rare bugs.
    Option      "EnablePageFlip"     "on"     # It will not be enabled on R5xx cards.
    Option      "RenderAccel"         "on"    # Optional. It should be enabled by default.
    Option      "AccelDFS"         "on"    # Optional. See the man page.
    BusID       "PCI:1:0:0"
EndSection

No custom xorg.conf file, only a 20-radeon.conf file in /etc/X11/xorg.conf.d/, but I tried removing this also.

dmesg log: http://codepad.org/WNELOXjo

Thanks for any help.

Last edited by valvet (2011-01-31 21:24:15)

Offline

#2 2011-01-31 21:48:01

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

(II) RADEON(0): GPU accel disabled or not working, using shadowfb for KMS

^ There's your issue. Just a wild guess: are you in the video group? And another one: do you have the linux-firmware package installed?

Offline

#3 2011-01-31 22:05:36

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

Gusar wrote:
(II) RADEON(0): GPU accel disabled or not working, using shadowfb for KMS

^ There's your issue. Just a wild guess: are you in the video group? And another one: do you have the linux-firmware package installed?

Yes to both :-(.

disk wheel http hal video audio optical storage power users
Name           : linux-firmware
Version        : 20101108-1
URL            : http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=summary
Licenses       : GPL2  GPL3  custom
Groups         : None
Provides       : kernel26-firmware=2.6.34.99
Depends On     : None
Optional Deps  : None
Required By    : kernel26
Conflicts With : linux-firmware-git  kernel26-firmware  ar9170-fw  iwlwifi-1000-ucode  iwlwifi-3945-ucode  iwlwifi-4965-ucode  iwlwifi-5000-ucode  iwlwifi-5150-ucode  iwlwifi-6000-ucode
                 rt2870usb-fw  rt2x00-rt61-fw  rt2x00-rt71w-fw
Replaces       : kernel26-firmware  ar9170-fw  iwlwifi-1000-ucode  iwlwifi-3945-ucode  iwlwifi-4965-ucode  iwlwifi-5000-ucode  iwlwifi-5150-ucode  iwlwifi-6000-ucode  rt2870usb-fw
                 rt2x00-rt61-fw  rt2x00-rt71w-fw
Installed Size : 21232,00 K
Packager       : Thomas Bächler <thomas@archlinux.org>
Architecture   : any
Build Date     : 2010-11-08T23:31:43 CET
Install Date   : 2011-01-31T17:04:52 CET
Install Reason : Explicitly installed
Install Script : No
Description    : Firmware files for Linux

I wonder why it's telling me it's disabled or not working.. hrm.

Offline

#4 2011-02-02 19:48:23

lglrcp6pyht9
Member
Registered: 2011-02-02
Posts: 4

Re: xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

I had the same problem and I found a solution: you need a newer version of xf86-video-ati.

Edit: xf86-video-ati 6.14.0 is now in extra.


Mad: cool
Use AUR's xf86-video-ati-git.

Easy:
1. Add the repo "Bleeding edge" from https://bbs.archlinux.org/viewtopic.php?id=79509&p=1
2. Install xf86-video-ati-git (nothing else is needed). It will remove xf86-video-ati.
3. Reboot.
4. Enjoy.
You can also directly grab the package, without adding any repo.

Lazy: you can wait for xf86-video-ati 6.13.3. wink

Last edited by lglrcp6pyht9 (2011-02-04 14:12:31)

Offline

#5 2011-02-02 20:13:37

valvet
Member
From: Denmark
Registered: 2009-06-06
Posts: 147

Re: xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

lglrcp6pyht9 wrote:

I had the same problem and I found a solution: you need a newer version of xf86-video-ati.

Easy:
1. Add the repo "Bleeding edge" from https://bbs.archlinux.org/viewtopic.php?id=79509&p=1
2. Install xf86-video-ati-git (nothing else is needed). It will remove xf86-video-ati.
3. Reboot.
4. Enjoy.
You can also directly grab the package, without repo.

Lazy: you can wait for xf86-video-ati 6.13.3. ;-)

Mad:
Use AUR's xf86-video-ati-git.

Ah excellent - that actually works ;-).. but of course. I tried the AUR's version - what's wrong with this?

Thanks for helping

Offline

#6 2011-02-03 09:05:34

lglrcp6pyht9
Member
Registered: 2011-02-02
Posts: 4

Re: xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

valvet wrote:

Ah excellent - that actually works ;-).. but of course. I tried the AUR's version - what's wrong with this?

Thanks for helping

You are welcome.
I was only joking about AUR. wink

Don't forget [SOLVED]. smile

Last edited by lglrcp6pyht9 (2011-02-03 10:45:34)

Offline

#7 2011-02-03 09:32:44

agapito
Member
From: Who cares.
Registered: 2008-11-13
Posts: 646

Re: xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

You don´t need an extra repo. You only need ati-git from aur.


Excuse my poor English.

Offline

#8 2011-02-03 10:37:34

lglrcp6pyht9
Member
Registered: 2011-02-02
Posts: 4

Re: xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

agapito wrote:

You don´t need an extra repo. You only need ati-git from aur.

That's why I proposed 3 (even 4) methods... wink

Maybe some users don't want to install a package from AUR... Maybe some users don't want to install Git as a dep...

Edit : AUR is now the top method in my post. Happy ? tongue

Last edited by lglrcp6pyht9 (2011-02-03 10:45:43)

Offline

#9 2011-02-04 11:01:55

lglrcp6pyht9
Member
Registered: 2011-02-02
Posts: 4

Re: xorg, xf86-video-ati - no OpenGL rendering [Mobility Radeon HD 5000]

xf86-video-ati 6.14.0 is just released ! It's now in extra.

With kernel 2.6.38, there will be major speed improvement thanks to KMS page-flipping. smile

Last edited by lglrcp6pyht9 (2011-02-04 14:10:14)

Offline

Board footer

Powered by FluxBB