Bug 42722

Summary: Messed up screen when booting through UEFI (Fedora 16)
Product: xorg Reporter: Piotr J <piotrek.juzwiak>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
made a photo of the monitor when it is messed up
none
NORMAL BOOT
none
UEFI BOOT
none
BIOS BOOT (VGA through DVI to VGA adapter)
none
UEFI BOOT (through VGA to VGA adapter)
none
UEFI BOOT WITH HDMI
none
Output of radeonreg regs dce5 when booting with normal BIOS
none
Output of radeonreg regs dce5 when booting with UEFI none

Description Piotr J 2011-11-08 12:13:53 UTC
Created attachment 53303 [details]
made a photo of the monitor when it is messed up

When booting the distribution through normal BIOS (Asus P8Z68-V LX and Sapphire Radeon 6870) my screen is just fine, if i boot through UEFI 2/5th of the right hand side of the screen continue from the left side of the monitor. The plymouth login is messed up the same way.
Comment 1 Piotr J 2011-11-08 12:16:32 UTC
I have alos uploaded dmesg from normal boot as in through BIOS:
http://fpaste.org/WQ1a/

and the messed up one:

http://fpaste.org/E2Kq
Comment 2 Alex Deucher 2011-11-08 12:31:42 UTC
Please attach your dmesg outputs as they may become unavailable on fpaste eventually.
Comment 3 Piotr J 2011-11-08 12:52:04 UTC
Created attachment 53304 [details]
NORMAL BOOT
Comment 4 Piotr J 2011-11-08 12:52:26 UTC
Created attachment 53305 [details]
UEFI BOOT
Comment 5 Piotr J 2011-11-08 13:06:22 UTC
Please advise me on how to debug this issue, i am available from 5 to 11 PM London Time. I have also reported this bug to fedora with a "shortcut" to this report.
Comment 6 Jerome Glisse 2011-11-14 08:47:54 UTC
You need to build 
git://people.freedesktop.org/~airlied/radeontool

and use avivotools reg crtc1 and attach output in both efi and bios mode
Comment 7 Piotr J 2011-11-14 09:48:46 UTC
Created attachment 53539 [details]
BIOS BOOT (VGA through DVI to VGA adapter)
Comment 8 Piotr J 2011-11-14 09:49:15 UTC
Created attachment 53540 [details]
UEFI BOOT (through VGA to VGA adapter)
Comment 9 Piotr J 2011-11-14 09:49:40 UTC
Created attachment 53541 [details]
UEFI BOOT WITH HDMI
Comment 10 Jerome Glisse 2011-11-15 07:13:09 UTC
Been unlucky need avivotool regs crtc2

Just use the same connector in both uefi & bios mode to avoid any difference on that front.
Comment 11 Alex Deucher 2011-11-15 07:44:10 UTC
avivotool doesn't support dumping crtc registers on newer asics, it also doesn't properly support different sized mmio apertures.  Try:
radeonreg regs dce5
Comment 12 Piotr J 2012-01-29 10:23:44 UTC
Created attachment 56296 [details]
Output of radeonreg regs dce5 when booting with normal BIOS
Comment 13 Piotr J 2012-01-29 10:24:27 UTC
Created attachment 56297 [details]
Output of radeonreg regs dce5 when booting with UEFI

All this happening on Fedora 16, not tested on other distros
Comment 14 Adam Jackson 2018-06-12 19:09:35 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

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.