[RV620] 3D acceleration doesn't work on HD4200

Bug #664933 reported by Murz
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

With default configuration of xserver-xorg-video-ati and ATI Radeon HD 4200 3D effects don't work, works only with fglrx driver.

$ glxinfo
name of display: :0.0
Segmentation fault

$ lspci
01:05.0 VGA compatible controller: ATI Technologies Inc RS880 [Radeon HD 4200]

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xserver-xorg-video-ati 1:6.13.1-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
DRM.card0.DVI.D.1:
 status: connected
 enabled: disabled
 dpms: On
 modes: 1920x1080 1600x1200 1680x1050 1280x1024 1280x1024 1440x900 1280x960 1152x864 1280x720 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
 edid-base64: AP///////wAJ0QJ8RVQAACcSAQOAMBt4Lu6Vo1RMmSYPUFS/74CBwIFAgYCVAKlAswDRwAEBGjaAoHA4H0AwIDUA4A4RAAAeAAAA/QA3VR5TFQAKICAgICAgAAAA/ABCRU5RIE0yNDAwSEQKAAAA/wBSOTgwMDAyNzAxOQogAN4=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
Date: Fri Oct 22 08:51:38 2010
DkmsStatus:
 fglrx, 8.780, 2.6.35-22-generic, x86_64: installed
 vboxhost, 3.2.10, 2.6.35-22-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
GdmLog: Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log'] failed with exit code 1: cat: /var/log/gdm/:0.log: No such file or directory
GdmLog1: Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log.1'] failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or directory
GdmLog2: Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=a7d02afa-2855-40ef-8e1a-03865902d2c9 ro quiet splash vga=791
SourcePackage: xserver-xorg-video-ati
dmi.bios.date: 04/07/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.20
dmi.board.name: M3A785GM-LE/128M
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.20:bd04/07/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnM3A785GM-LE/128M:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
glxinfo: Error: command ['glxinfo'] failed with exit code -11:
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.35-22-generic
---
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: kwin
DRM.card0.DVI.D.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1080 1600x1200 1680x1050 1280x1024 1280x1024 1440x900 1280x960 1152x864 1280x720 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
 edid-base64: AP///////wAJ0QJ8RVQAACcSAQOAMBt4Lu6Vo1RMmSYPUFS/74CBwIFAgYCVAKlAswDRwAEBGjaAoHA4H0AwIDUA4A4RAAAeAAAA/QA3VR5TFQAKICAgICAgAAAA/ABCRU5RIE0yNDAwSEQKAAAA/wBSOTgwMDAyNzAxOQogAN4=
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1024x768 1024x768 1024x768 800x600 800x600 800x600 800x600 640x480 640x480 640x480 720x400 640x350
 edid-base64: AP///////wAJ0VJ2QQAAAAEOAQNsHhd46n5QoFhOliUeUFSvzgABAQEBAQEBAQEBAQEBAQEBZBkAQEEAJjAYiDYAMOQQAAAY1QmAoCBeYxAQYFIIMOQQAAAaAAAA/QA4Sx8/CAogICAgICAgAAAA/ABCRU5RIEZQNTQ3CiAgAAA=
DistUpgraded: Log time: 2011-05-05 09:19:23.460682
DistroCodename: natty
DistroRelease: Ubuntu 11.04
DistroVariant: kubuntu
DkmsStatus:
 vboxhost, 4.0.6, 2.6.35-28-generic, x86_64: installed
 vboxhost, 4.0.6, 2.6.35-29-generic, x86_64: installed
 vboxhost, 4.0.6, 2.6.38-9-generic, x86_64: installed
GraphicsCard:
 ATI Technologies Inc RS880 [Radeon HD 4200] [1002:9710] (prog-if 00 [VGA controller])
   Subsystem: ASRock Incorporation Device [1849:9710]
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-9-generic root=UUID=a7d02afa-2855-40ef-8e1a-03865902d2c9 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Renderer: Unknown
Tags: natty kubuntu patch
Uname: Linux 2.6.38-9-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-05-05 (0 days ago)
UserGroups: adm audio cdrom dialout fuse lpadmin plugdev root sambashare sudo syslog users
dmi.bios.date: 04/07/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.20
dmi.board.name: M3A785GM-LE/128M
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.20:bd04/07/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnM3A785GM-LE/128M:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.23+git20110119.550fe2ca-0ubuntu0sarvatt~maverick
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11.0+git20110222.7aeb610f-0ubuntu0sarvatt~maverick
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

Revision history for this message
Murz (murznn) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

3D support for Evergreen cards did not make it for Ubuntu 10.10 but will be included in later releases. For now you can use packages from unofficial sources like PPAs and newer kernel snapshots.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Sorry, I got confused there. HD4200 is an RV620 card. (R800 cards are Evergreen, but RSxxx are always something very different, for some marketing reasons...)

Your card should be supported in 10.10, but there are often bugs in the drivers for these IGP cards.

summary: - 3D acceleration don't work on xserver-xorg-video-ati
+ [RV620] 3D acceleration doesn't work on HD4200
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Please boot without vga=791

It might be the reason for the following in your Xorg.0.log

[ 29.272] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] This chipset requires a kernel module version of 1.17.0,
[dri] but the kernel reports a version of 2.5.0.[dri] If using legacy modesetting, upgrade your kernel.
[dri] If using kernel modesetting, make sure your module is
[dri] loaded prior to starting X, and that this driver was built
[dri] with support for KMS.
[dri] Disabling DRI.

This also might be telling, from the dmesg
[ 29.271822] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Or if you have been using fglrx it might have messed up things.

Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Incomplete
Revision history for this message
Murz (murznn) wrote :

I have purged fglrx, remove vga=791 and do the ubuntu-bug xserver-xorg-video-ati in new bug #666134, mark it as duplicate of this.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → New
Revision history for this message
Dee (deedw) wrote :

I can confirm this on a ATI Radeon HD 4850 (chipset RV770). If I use the radeon driver, glxinfo crashed almost immediately:

$ glxinfo
name of display: :0.0
Segmentation fault

Here's the stack trace from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7e5d38e in XF86DRIQueryVersion () from /usr/lib/libGL.so.1
(gdb) where
#0 0x00007ffff7e5d38e in XF86DRIQueryVersion () from /usr/lib/libGL.so.1
#1 0x00007ffff7e5d529 in XF86DRIQueryExtension () from /usr/lib/libGL.so.1
#2 0x00007ffff7e5ce3c in ?? () from /usr/lib/libGL.so.1
#3 0x00007ffff7e3c51f in ?? () from /usr/lib/libGL.so.1
#4 0x00007ffff7e388d1 in ?? () from /usr/lib/libGL.so.1
#5 0x00007ffff7e38aae in glXChooseVisual () from /usr/lib/libGL.so.1
#6 0x0000000000401760 in ?? ()
#7 0x0000000000402f2f in ?? ()
#8 0x00007ffff72a2c4d in __libc_start_main () from /lib/libc.so.6
#9 0x00000000004012f9 in ?? ()
#10 0x00007fffffffe3f8 in ?? ()
#11 0x000000000000001c in ?? ()
#12 0x0000000000000001 in ?? ()
#13 0x00007fffffffe69d in ?? ()
#14 0x0000000000000000 in ?? ()

dmesg tells me only:

[ 1910.362629] glxinfo[2222]: segfault at 4 ip 00007f6e42b8838e sp 00007fff2a946770 error 4 in libGL.so.1.2[7f6e42b2d000+ae000]

The Xorg.0.log says:

(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.
(WW) RADEON(0): Direct rendering disabled
(EE) RADEON(0): Acceleration initialization failed
(II) RADEON(0): Acceleration disabled

This happens on Xubuntu 10.04 64bit.

Revision history for this message
Dee (deedw) wrote :

Update:

I've just added

Section "Extensions"
 Option "Composite" "Disable"
EndSection

to my /etc/X11/xorg.conf and now glxinfo does not crash anymore. But I still get the errors in Xorg.0.log.

bugbot (bugbot)
tags: added: 3d
Revision history for this message
bugbot (bugbot) wrote :

Hey Murz,

Hi, have you had a chance to test if this bug is still present in natty?

If it does (and if you're the original reporter), please boot into natty
and run the command:

  apport-collect <bug-number>

which will update the bug with fresh logs and tag the bug as affecting
natty. (It is best to run this right after reproducing the problem.)

Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Incomplete
Revision history for this message
Murz (murznn) wrote :

At now I have maverick, and no 3d effects. At next weekday I try upgrade to natty and test this bug with report here.

Revision history for this message
Murz (murznn) wrote : BootDmesg.txt

apport information

tags: added: apport-collected kubuntu natty patch
description: updated
Revision history for this message
Murz (murznn) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Murz (murznn) wrote : Dependencies.txt

apport information

Revision history for this message
Murz (murznn) wrote : Lspci.txt

apport information

Revision history for this message
Murz (murznn) wrote : Lsusb.txt

apport information

Revision history for this message
Murz (murznn) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Murz (murznn) wrote : ProcEnviron.txt

apport information

Revision history for this message
Murz (murznn) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Murz (murznn) wrote : ProcModules.txt

apport information

Revision history for this message
Murz (murznn) wrote : UdevDb.txt

apport information

Revision history for this message
Murz (murznn) wrote : UdevLog.txt

apport information

Revision history for this message
Murz (murznn) wrote : XorgLog.txt

apport information

Revision history for this message
Murz (murznn) wrote : XorgLogOld.txt

apport information

Revision history for this message
Murz (murznn) wrote : Xrandr.txt

apport information

Revision history for this message
Murz (murznn) wrote : peripherals.txt

apport information

Revision history for this message
Murz (murznn) wrote : xdpyinfo.txt

apport information

Revision history for this message
Murz (murznn) wrote : xinput.txt

apport information

Revision history for this message
Murz (murznn) wrote :

Now I have upgraded to natty and still can't enable 3d acceleration, I attach info via apport-collect, can I help with anything else?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xserver-xorg-video-ati (Ubuntu) because there has been no activity for 60 days.]

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Murz (murznn) wrote :

With latest updates it isn't work too:
Desktop effects are not available on this system due to the following technical issues:
<empty text>

Changed in xserver-xorg-video-ati (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Murz, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xserver-xorg-video-ati REPLACE-WITH-BUG-NUMBER

Please note, given that the information from the prior release is already available, doing this on a release prior to the development one would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xserver-xorg-video-ati (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Murz (murznn)
Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.