2.6.31 kernel breaks 3d for radeon x1600

Bug #394263 reported by Yotam Benshalom
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.31-1-generic

Using 2.6.31 kernel from the repositories, 3d is not working on lg-s1 laptop (32 bit karmic) using radeon x1600 with the radeon driver. All apps use software acceleration and compiz crashes to gdm. Using 2.6.30 kernel everything works fine.
Attached are my xorg.conf and Xorg.0.log.

A possible workaround found posted in comment #4 below https://bugs.edge.launchpad.net/~benshalom by Yotam Benshalom:

The problem was solved for me after creating the file

/etc/modprobe.d/radeon.conf

with the content:

options radeon modeset=0

Revision history for this message
Yotam Benshalom (benshalom) wrote :
Revision history for this message
Yotam Benshalom (benshalom) wrote :
Revision history for this message
Jean.c.h (slug71) wrote :

2.6.31 from repos wont load for me either. Also have Radeon.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Yotam Benshalom (benshalom) wrote :

The problem was solved for me after creating the file

/etc/modprobe.d/radeon.conf

with the content:

options radeon modeset=0

Now 2.6.31 and compiz live peacefully together. It means that the KMS goodies do not WAI yet, right?

Revision history for this message
Bernhard Schmidt (berni) wrote :

2D acceleration (DRI) does not work either on the AMD 780G-Chipset (Radeon HD 3200 based). Xorg complains about DRI not being loaded, the following error messages appear in the kernel log:

[ 2.055185] [drm] Initialized drm 1.1.0 20060810
[ 9.003060] [drm] radeon default to kernel modesetting.
[ 9.003065] [drm] radeon kernel modesetting enabled.
[ 9.005477] [drm] radeon: Initializing kernel modesetting.
[ 9.005482] [drm:radeon_driver_load_kms] *ERROR* Failed to initialize radeon, disabling IOCTL

Revision history for this message
Bernhard Schmidt (berni) wrote :

Forgot to add, appending radeon.modeset=0 to the kernel parameters fixes the problems as well.

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

Any ideas wheter 9.10 is going to support KMS?

Revision history for this message
Wayne Cat (exchange) wrote :

My notebook (Macbook Pro - ATI x1600) boots when I use the modeset option but I get a black screen until gdm starts.
Compiz works but I can't switch to a console (ctrl+alt+Fx) ... without the option the system boots with a beautiful
console resolution (1440x900) but Compiz does not work.

(EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] radeon.o kernel module version is 2.0.0 but version 1.17.0 or newer is needed.
[dri] Disabling DR

Revision history for this message
meh (meh-deactivatedaccount) wrote :

just a "me too".

karmic, linux-image-2.6.31-1-generic, xorg-edgers ppa, radeonhd, r670
modprobe'ing radeon results in the mentioned error message and no /dev/dri nodes.
modeset=0 fixes this, dri and exa work again.

description: updated
Revision history for this message
Niklas Schnelle (niklas-komani) wrote :

This problem happens for me too and it also influences Gtk Performance,
gtkperf 1000 runs takes 36 seconds on 2.6.31
and 10 under 2.6.28
so it's pretty severe

Revision history for this message
Niklas Schnelle (niklas-komani) wrote :

actually it's 100 runs but none the less problematic

Revision history for this message
Bernhard Schmidt (berni) wrote :

The problem is fixed for me with 2.6.31-2.15, X is fast as usual again. One can read in the changelog that radeon KMS was disabled in this version.

I wonder why this affected me anyway, I have a R600 series chip which is not supposed to get KMS just yet at all. The now committed KMS is only up to R500 as far as I know.

Revision history for this message
Niklas Schnelle (niklas-komani) wrote :

I'd rather like to see a real fix, the high definiton console is pretty cool and I would prefer not to lose it!

Revision history for this message
Andrea Bravetti (andreabravetti) wrote :

I have the same problem (using 2.6.31 kernel, 3d is not working using radeon x1600 with the radeon driver) and I found a solution:

appending this to the kernel parameters fixes the problem:

radeon.modeset=1 video=radeonfb:1280x1024-24@60

Now I have dri, all desktop effects enabled, a nice transation from console to X, and averything work very well.

Removing video=... or setting it at 32bit depth make dri unusable and cause some other problem switching from console to X or viceversa...

andrea@sibilla:~$ uname -a
Linux sibilla 2.6.31-5-generic #24-Ubuntu SMP Sat Aug 1 12:48:18 UTC 2009 i686 GNU/Linux

andrea@sibilla:~$ lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc RV530 [Radeon X1600]

I'm using ati/radeon X driver, without xorg.conf...

I hope it help you too, and if it work I think 24bit depth should become the default...

Revision history for this message
Andrea Bravetti (andreabravetti) wrote :

I have just done a fresh install of karmic alpha 4 and I must
say that in my previous post I missed the most important things:

While I confirm that for me it work only with "video=radeonfb:1280x1024-24@60"
this is not enough, I must also install packages from "xorg-edgers fresh X crack"...

here:
https://launchpad.net/~xorg-edgers/+archive/ppa

Revision history for this message
TobiasTheCommie (lp453452) wrote :

How come this haven't been moved from edgers to the main repository?

As it is the radeon driver is mostly unusable, and there is a fix in edgers it appears.

Not to be evil, I do appreciate all the work, I just wonder if this has fallen through the cracks..

Sincerely
Tobias

Revision history for this message
penalvch (penalvch) wrote :

Yotam Benshalom, thank you for reporting this and helping make Ubuntu better. Karmic reached EOL on April 30, 2011.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue on a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

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

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: karmic needs-upstream-testing regression-release
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.