https://bugs.freedesktop.org/show_bug.cgi?id=27644
Summary: radeon KMS causes corrupt VGA output on X1400 Product: DRI Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: sastraxi@gmail.com
(note first that this is connected to an Ubuntu bug report; take a look for some potentially-helpful logs: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/562138)
Booting up the latest 10.04 daily live-cd of Ubuntu, 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 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. system: distro: Ubuntu codename: lucid architecture: i686 kernel: 2.6.32-20-generic
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #1 from Alex Deucher agd5f@yahoo.com 2010-04-14 11:59:07 PDT --- does radeon.new_pll=0 also fix the problem?
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #2 from Cameron Gorrie sastraxi@gmail.com 2010-04-14 12:26:43 PDT --- (In reply to comment #1)
does radeon.new_pll=0 also fix the problem?
Alex, it does not. I replaced "radeon.modeset=0 vga=771" with "radeon.new_pll=0".
Cam
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #3 from Alex Deucher agd5f@yahoo.com 2010-04-14 12:32:57 PDT --- Please try dumping the registers when using kms and ums using avivotool as root: avivotool regs all > ums.regs avivotool regs all > kms.regs And attach the dumps here. Please specify what versions of xf86-video-ati and kernel you used to make the dumps. avivotool is part of radeontool: http://cgit.freedesktop.org/~airlied/radeontool
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #4 from Cameron Gorrie sastraxi@gmail.com 2010-04-14 22:49:24 PDT --- Created an attachment (id=35049) --> (https://bugs.freedesktop.org/attachment.cgi?id=35049) avivotool regs all output "UMS"
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #5 from Cameron Gorrie sastraxi@gmail.com 2010-04-14 22:49:43 PDT --- Created an attachment (id=35050) --> (https://bugs.freedesktop.org/attachment.cgi?id=35050) avivotool regs all output "KMS"
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #6 from Cameron Gorrie sastraxi@gmail.com 2010-04-14 22:49:49 PDT --- Here you are!
$ uname -a Linux gibraltar 2.6.32-20-generic #30-Ubuntu SMP Mon Apr 12 15:19:41 UTC 2010 i686 GNU/Linux
$ dpkg -l xserver-xorg-video-ati ii xserver-xorg-video-ati 1:6.13.0-1ubuntu2 X.Org X server -- AMD/ATI display driver wrapper
And attached are the ums/kms files. I had to run avivotool a few times/reboot/re-make in order to get it to output anything, if that matters.
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #7 from willjcroz willjcroz@yahoo.co.uk 2010-04-15 02:11:27 PDT --- Hi, same problem here, on Thinkpad T60 on external VGA output and x86_64 Ubuntu OS (10.04 Beta2).
$ uname -a Linux t60 2.6.32-20-generic #30-Ubuntu SMP Mon Apr 12 15:20:57 UTC 2010 x86_64 GNU/Linux
$ dpkg -l xserver-xorg-video-ati ii xserver-xorg-video-ati 1:6.13.0-1ubuntu2 X.Org X server -- AMD/ATI display driver wrapper
heres my UMS and KMS outputs in case it helps...
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #8 from willjcroz willjcroz@yahoo.co.uk 2010-04-15 02:14:17 PDT --- Created an attachment (id=35053) --> (https://bugs.freedesktop.org/attachment.cgi?id=35053) avitool regs all > ums.regs
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #9 from willjcroz willjcroz@yahoo.co.uk 2010-04-15 02:15:00 PDT --- Created an attachment (id=35054) --> (https://bugs.freedesktop.org/attachment.cgi?id=35054) avitool regs all > kms.regs
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #10 from Cameron Gorrie sastraxi@gmail.com 2010-05-06 07:06:15 PDT --- According to the Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/541834
this is fixed in 2.6.34-rc3. I can say at least that this fix worked for me; I'm now using KMS with my LCD!
Cam
https://bugs.freedesktop.org/show_bug.cgi?id=27644
--- Comment #11 from Oliver Joos oliver.joos@freenet.ch 2011-01-27 11:03:36 PST --- Seems I have the same problem with an ATI X600 (chipset RV380) in my laptop HP Compaq nx8220. Same symptoms and the kernel parameters "radeon.modeset=0 vga=771" also fixed it finally, whereas "radeon.new_pll=0" alone did not help (another dozen of googled suggestions failed too. So many thanks for this hint!)
My graphics adapter: 01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600]
I use Ubuntu Lucid with kernel 2.6.35-23 and disabled KMS ever since, because with KMS overlay video playback is not possible anymore and textured video playback shows artifact (looks like a diagonal edge of an OpenGL triangle not drawn correctly synchronized with vsync. But thats another bug...).
If I can help with further data or tests, then please just ask.
https://bugs.freedesktop.org/show_bug.cgi?id=27644
Christopher M. Penalver christopher.m.penalver@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID CC| |christopher.m.penalver@gmai | |l.com
--- Comment #12 from Christopher M. Penalver christopher.m.penalver@gmail.com --- Fix released downstream.
dri-devel@lists.freedesktop.org