radeon KMS causes corrupt VGA output on X1400

Bug #562138 reported by Cameron Gorrie
90
This bug affects 17 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xorg

Booting up the latest 10.04 daily live-cd, the VGA output is unusable. It looks like an incorrect frequency, and the screen size is wrong (it's too narrow for the resolution). The wavering/out-of-phase-ness is so bad that it's impossible to read. This happens on both the X console and X11, and goes away when I use the internal laptop LCD instead (LVDS). If I use both screens in a mirror or extend mode, the same problems occur. So, this led me to believe that the problem might be with Kernel Mode Setting (KMS).

I added the options:
"radeon.modeset=0 vga=771"
to the livecd and, voila, no more corruption. Everything works again, and I can use my big LCD via VGA!

I've attached as much information as I can; I can also show a video of the corruption. I had Ubuntu 8.10 on my computer previously; it's a Dell Inspiron 6400 with Mobility X1400 graphics from ati. I'm using the April 13th Daily LiveCD here, but the corruption was evident at least with the latest Beta livecd.

Let me know if I can give any more information!

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+5ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic i686
Architecture: i386
Date: Tue Apr 13 04:48:04 2010
DkmsStatus: Error: [Errno 2] No such file or directory
GdmLog1: Error: command ['gksu', '-D', 'Apport', '--', '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 ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
LiveMediaBuild: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100413)
MachineType: Dell Inc. MM061
ProcCmdLine: initrd=/ubninit file=/cdrom/preseed/hostname.seed boot=casper quiet radeon.modeset=0 vga=771 BOOT_IMAGE=/ubnkern
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
dmi.bios.date: 04/20/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.name: 0XD720
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA15:bd04/20/2007:svnDellInc.:pnMM061:pvr:rvnDellInc.:rn0XD720:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: MM061
dmi.sys.vendor: Dell Inc.
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-20-generic

Revision history for this message
Cameron Gorrie (sastraxi) wrote :
Revision history for this message
willjcroz (willjcroz) wrote : apport information

Architecture: amd64
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406.1)
MachineType: LENOVO 8742WF1
Package: xorg 1:7.5+5ubuntu1
PackageArchitecture: amd64
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-20-generic root=UUID=280ce24f-4a13-41d3-a3a0-7cd8ad631be6 ro quiet splash
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-20.29-generic 2.6.32.11+drm33.2
Tags: lucid lucid
Uname: Linux 2.6.32-20-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 07/16/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7IET34WW (1.15 )
dmi.board.name: 8742WF1
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7IET34WW(1.15):bd07/16/2008:svnLENOVO:pn8742WF1:pvrThinkPadT60:rvnLENOVO:rn8742WF1:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 8742WF1
dmi.product.version: ThinkPad T60
dmi.sys.vendor: LENOVO
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-20-generic

tags: added: apport-collected
Revision history for this message
willjcroz (willjcroz) wrote : BootDmesg.txt

apport information

Revision history for this message
willjcroz (willjcroz) wrote : CurrentDmesg.txt

apport information

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

apport information

Revision history for this message
willjcroz (willjcroz) wrote : GdmLog.txt

apport information

Revision history for this message
willjcroz (willjcroz) wrote : GdmLog1.txt

apport information

Revision history for this message
willjcroz (willjcroz) wrote : GdmLog2.txt

apport information

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

apport information

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

apport information

Revision history for this message
willjcroz (willjcroz) wrote : PciDisplay.txt

apport information

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

apport information

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

apport information

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

apport information

Revision history for this message
willjcroz (willjcroz) wrote : RelatedPackageVersions.txt

apport information

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

apport information

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

apport information

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

apport information

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

apport information

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

apport information

Revision history for this message
willjcroz (willjcroz) wrote : glxinfo.txt

apport information

Revision history for this message
willjcroz (willjcroz) wrote : monitors.xml.txt

apport information

Revision history for this message
willjcroz (willjcroz) wrote : setxkbmap.txt

apport information

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

apport information

Revision history for this message
willjcroz (willjcroz) wrote : xkbcomp.txt

apport information

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
willjcroz (willjcroz) wrote :

Same here using fully updated Lucid Beta 2 on AMD64 laptop with ATI X1400 graphics. The above files are from apport on my system (sorry about the individual postings - how do we get apport-collect to attach all files to a single comment within an already existing bug report?)

The built in panel on the Thinkpad T60 laptop (1680 x 1050) runs fine, but the external monitor (1280 x 1024) connected via VGA (15 pin d-sub) displays a picture that is just about readable but wobbles in very small waves. Attempting to use Preferences -> Display to adjust any of the display settings results in both displays corrupting and a complete system hang.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
Revision history for this message
willjcroz (willjcroz) wrote :

Just to add some extra information:

This happens to my system regardless of KMS, If I use kernel append: nomodeset the same thing happens (unstable VGA output on laptops external port).

With regards to obtaining an image (a wobbly one) at all on external VGA: it seems only possible at 75Hz, if I attempt to change this to 60Hz in Preferences -> Monitors this is where the whole system hangs.

Revision history for this message
willjcroz (willjcroz) wrote :

Apologies, like Cameron states this does seem to be radeon KMS related. After switching to a VT after booting with nomodeset appended, I realised this parameter has no effect. Booting as Cameron does, with radeon.modeset=0 vga=771 resolves the problem.

When enabling the 2nd monitor with KMS disabled there is a dialogue appearing titled "Monitor Resolution Settings" asking if we want to change the virtual resolution, this does not appear when KMS is enabled.

Revision history for this message
Bryce Harrington (bryce) wrote :

You know, when you pinpoint a problem to the kernel and not X, you should probably file the bug to the kernel rather than X. ;-)

Anyway, this defect report probably should be forwarded upstream to bugs.freedesktop.org as the next step. Beyond that, I'll leave it to the kernel team to investigate.

affects: xserver-xorg-video-ati (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → New
Revision history for this message
Cameron Gorrie (sastraxi) wrote :

Haha, Bryce, thanks for the catch there! Too excited to use ubuntu-bug I suppose :D

Is it my responsibility to add this to the FreeDesktop bugzilla, or is this something the kernel team will do as part of their investigation? I'd do it myself but there seems to be some sort of security thing happening with bugs.freedesktop.org. Maybe I'm a bit too paranoid?

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Cameron,
     The Kernel Team actually prefers that the bug reporter file the upstream report as they are the closest to the issue and would be uniquely able to answer questions about the behavior. We have found that this significantly reduces the time ti resolve most of these issues. I hope that answers your question. :-)

Thanks!

~JFo

Changed in linux (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
edoardo (edoardo) wrote :

Same problem here - external monitor shakes if it is attached via VGA
works fine if attached via DVI

Thinkpad T60p ATI
external monitor IBM L171P

Revision history for this message
Cameron Gorrie (sastraxi) wrote :

I've created a bug in the freedesktop bugzilla. I don't think KMS is a responsibility of the DRI, but all other KMS-type bugs were filed under DRI so I did too:
https://bugs.freedesktop.org/show_bug.cgi?id=27644

Revision history for this message
neerfri (neerfri) wrote :

I've marked a similar bug I've opened as a duplicate of this bug.

The bug is also relevant to X1600, the rest of the details including a test with upstream kernel are left on the original bug I've opened at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/569597

Revision history for this message
neerfri (neerfri) wrote :

Hi again guys ;-)
Just finished running several searches, it seems this thread is also a duplicate of:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/541834

The #541834 thread states that this issue is resolved in 2.6.34-rc3.
You can all fetch and try yourselves at: http://kernel.ubuntu.com/~kernel-ppa/mainline/
I used RC6 and it works with KMS on (remember to turn it back on in grub ;-) )
Please try to check and see if this does solve your problem, if so, this bug should be marked as closed.

Revision history for this message
Thomas B Homburg (thomasbhomburg) wrote :

I have this problem as well:
Laptop w ati graphics:
VGA out is "wavy" if I have KMS enabled. But works fine, when KMS is not enabled.

It seems this
https://bugs.launchpad.net/ubuntu/lucid/+source/linux/+bug/537640
is a duplicate as well. From comment #25 on

Haven't tried newer kernels yet.

Revision history for this message
Cameron Gorrie (sastraxi) wrote : Re: [Bug 562138] Re: radeon KMS causes corrupt VGA output on X1400

neerfri's solution works for me; upgrading to that kernel and taking
out my custom kernel options gives me a usable desktop on my big LCD
(connected with VGA)!

Cam

On 3 May 2010 15:23, Thomas B Homburg <email address hidden> wrote:
> I have this problem as well:
> Laptop w ati graphics:
> VGA out is "wavy" if I have KMS enabled. But works fine, when KMS is not enabled.
>
> It seems this
> https://bugs.launchpad.net/ubuntu/lucid/+source/linux/+bug/537640
> is a duplicate as well. From comment #25 on
>
> Haven't tried newer kernels yet.
>
> --
> radeon KMS causes corrupt VGA output on X1400
> https://bugs.launchpad.net/bugs/562138
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Matt (mchilders) wrote :

Just tried neefri's solution, upgraded to RC6... it works great if you have the second display connected. But as soon as I remove the secondary monitor, the display starts jumping very badly. If I reconnect the second monitor, no problems at all.

Ubuntu 10.04 on Lenovo T60P with Mobility FireGL V5250

Revision history for this message
Steve (thrud00) wrote :

Installing kernel 2-6-34 RC6 fixed the wavey display on the external monitor for me also. Although weirdly, the laptop monitor panel started to flicker on boot. Same hardware as Matt; Lenovo T60p with FireGL V5250. Always worked fine with Karmic. Clean install of Lucid broke it.

Revision history for this message
flashydave (dave-opensourcesolutions) wrote :
Revision history for this message
Eugene Crosser (crosser) wrote :

Just for information, kernel upgrade 2.6.32-22 that came in today did *not* fix the problem (despite there where some words in the changelog that hinted that it might). T60p, Mobility FireGL V5200.

Revision history for this message
Alan Lord (theopensourcerer) wrote :

I am experiencing the same problem but I have a brand new Samsung R530 Laptop with the intel Core i3 (+integrated graphics) so it is not Radeon related. In fact we bought 2 and the problem is the same on both machines. Running up-to-date Lucid.

I've tried various things mentioned here: https://wiki.ubuntu.com/X/Bugs/Lucidi8xxFreezes and am currently running the 2.6.34-020634rc6-generic kernel. The "wobble" is still present on an external monitor.

Revision history for this message
Andrés Codas Duarte (andrescodas) wrote :

Architecture: amd64
DistroRelease: Ubuntu 10.04

neerfri solution solved for me too ...

Video card:
01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]

Revision history for this message
Matt (mchilders) wrote :
tags: added: kernel-graphics kernel-needs-review
Steve Conklin (sconklin)
tags: added: kernel-candidate kernel-reviewed
removed: kernel-needs-review
tags: removed: kernel-candidate
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

As noted by Cameron Gorrie, the original bug reporter, in comment #37

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/562138/comments/37

This issue appears to be resolved as of the mainline 2.6.34-rc3 kernel. The actively developed Maverick kernel is currently based on the most recent 2.6.35-rc5 mainline kernel, thus this this issue should no longer be an issue for Maverick. As a result, I'm marking this Fix Released. If a specific patch can be isolated to be considered for backporting to Lucid, this could possibly be considered for a Stable Release Update to Lucid, but that depends solely on the nature of the patch. If anyone else is still experiencing issues with the latest Maverick kernel, please open a new bug. Thanks.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
description: updated
Revision history for this message
Eugene Crosser (crosser) wrote :

The problem does not exist (for me) in maverick

To post a comment you must log in.