Bug 27322

Summary: [HD 4850] New Apple iMac (Core i5) fails to boot with KMS (Black screen)
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high Keywords: regression
Version: 7.4 (2008.09)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
BootDmesg.txt
none
XorgLog.txt
none
CurrentDmesg.txt
none
Xrandr.txt
none
KMS patch
none
Xorg.0.log when the patch is in use none

Description Bryce Harrington 2010-03-25 19:57:17 UTC
Forwarding this bug from Ubuntu reporter Sean Clarke:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/542660

[Problem]
Black screen shown in X after boot splash 

[Original Description]
Lucid beta 1 fails to boot on my Apple iMac 27" (Core i5 model).

I am happily running Karmic (had to download backport Alsa to get sound working), but Lucid beta 1 fails to boot. You initially see the new purple Ubuntu loader, then it goes black - CD continues to whirl and after it sounds like it is loading in the background it resets and restarts.

Suspect problem with video - I can get it to boot if I select option F6 and "selectnomodes" (I think thats what it was called) - it boots fine (I am running it now).

Question: Would this stop me upgrading from Karmic?

If you need any more info, please email.

Architecture: amd64
Date: Sat Mar 20 12:57:24 2010
DistroRelease: Ubuntu 10.04
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" - Beta amd64 (20100318)
MachineType: Apple Inc. iMac11,1
Package: xorg 1:7.5+3ubuntu1
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash --  nomodeset
ProcEnviron:
 LANG=en_US.UTF-8ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 10/30/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: IM111.88Z.0034.B00.0910301727
dmi.board.name: Mac-F2268DAE
dmi.board.vendor: Apple Inc.
dmi.chassis.type: 13
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F2268DAE
dmi.modalias: dmi:bvnAppleInc.:bvrIM111.88Z.0034.B00.0910301727:bd10/30/09:svnAppleInc.:pniMac11,1:pvr1.0:rvnAppleInc.:rnMac-F2268DAE:rvr:cvnAppleInc.:ct13:cvrMac-F2268DAE:
dmi.product.name: iMac11,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
glxinfo: Error: [Errno 2] No such file or directory
system: codename:           lucid
 architecture:       x86_64
 kernel:             2.6.32-16-generic

[lspci]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M98L [Mobility Radeon HD 4850] [1002:944a]
    	Subsystem: Apple Computer Inc. Device [106b:00b5]
Comment 1 Bryce Harrington 2010-03-25 20:01:55 UTC
Created attachment 34457 [details]
BootDmesg.txt
Comment 2 Bryce Harrington 2010-03-25 20:02:13 UTC
Created attachment 34458 [details]
XorgLog.txt
Comment 3 Bryce Harrington 2010-03-25 20:02:38 UTC
Created attachment 34459 [details]
CurrentDmesg.txt
Comment 4 Bryce Harrington 2010-03-25 20:03:00 UTC
Created attachment 34460 [details]
Xrandr.txt
Comment 5 Alex Deucher 2010-03-25 22:44:28 UTC
should be fixed in c7eeda8c3f3514ba95ebf2893fbe124bf526b3df
Comment 6 Alex Deucher 2010-03-25 23:06:07 UTC
Created attachment 34468 [details] [review]
KMS patch

This KMS patch should fix things up.
Comment 7 Bryce Harrington 2010-04-06 17:13:00 UTC
Thanks alex, I'll pass this to our kernel team.
Comment 8 Sander D 2010-05-14 15:10:01 UTC
Created attachment 35659 [details] [review]
Xorg.0.log when the patch is in use

I'm still having this problem using kernel version 2.6.33.3-85.fc13.x86_64 on my iMac 27" / HD 4850. This kernel supposedly has the patch from Comment 6 in it.

When using the default radeon driver, the screen turns black as soon as X starts. (I'm not having these problems when using the vesa and fglrx drivers.)

Attached is my xorg log as it was a few seconds after the screen turning blank.
Comment 9 jeff.artik 2010-06-17 16:23:23 UTC
Got exactly same issue. Seems the driver display on the bad screen (wrong video output).
Comment 10 Alex Deucher 2010-06-21 11:58:16 UTC
(In reply to comment #8)
> Created an attachment (id=35659) [details]
> Xorg.0.log when the patch is in use
> 
> I'm still having this problem using kernel version 2.6.33.3-85.fc13.x86_64 on
> my iMac 27" / HD 4850. This kernel supposedly has the patch from Comment 6 in
> it.
> 
> When using the default radeon driver, the screen turns black as soon as X
> starts. (I'm not having these problems when using the vesa and fglrx drivers.)
> 
> Attached is my xorg log as it was a few seconds after the screen turning blank.

According to your log this log you are not using kms. Looks like you are seeing bug 28267.
Comment 11 Christopher M. Penalver 2016-02-24 05:43:22 UTC
Original reporter doesn't have hardware anymore, and couldn't reproduce in a later release.
Comment 12 Matyas Csanyi 2016-10-04 23:53:12 UTC
Hi,

I have this iMac and am facing the same issue with Ubuntu 16.04.1 LTS.
Kernel Linux xubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Which details are required to be attached to aid investigation please?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.