Bug 74927

Summary: Screen corruption on Ubuntu 14.04, Kernel 3.13 with Radeon R7 240 (OLAND PRO)
Product: DRI Reporter: bz
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Picture of corrupted screen
none
dmesg
none
Xorg.0.log
none
upload screenshot correctly
none
possible fix none

Description bz 2014-02-13 11:47:00 UTC
Created attachment 93997 [details]
Picture of corrupted screen

Hello,

When booting Ubuntu Trusty daily the desktop and all further screens are corrupt. The loading screen displays correctly. The mouse/pointer still works and displays correctly. Switching to a tty also works and displays correctly.

Booting Ubuntu Precise (live) works correctly.

Regards,
Tim

Linux ubuntu 3.13.0-8-generic #27-Ubuntu SMP Fri Feb 7 02:01:37 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

libdrm-radeon1:amd64	2.4.52-1
xserver-xorg-video-radeon	1:7.3.0-1ubuntu2
libegl1-mesa:amd64		10.0.1-1ubuntu2
libegl1-mesa-drivers:amd64	10.0.1-1ubuntu2
libgl1-mesa-dri:amd64		10.0.1-1ubuntu2
libgl1-mesa-glx:amd64		10.0.1-1ubuntu2
libglapi-mesa:amd64		10.0.1-1ubuntu2
libglu1-mesa:amd64		9.0.0-2
libopenvg1-mesa:amd64		10.0.1-1ubuntu2

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon R7 240] (prog-if 00 [VGA controller]) ... 1002:6613
Comment 1 bz 2014-02-13 11:47:28 UTC
Created attachment 93998 [details]
dmesg
Comment 2 bz 2014-02-13 11:47:41 UTC
Created attachment 93999 [details]
Xorg.0.log
Comment 3 bz 2014-02-13 12:56:54 UTC
Created attachment 94000 [details]
upload screenshot correctly
Comment 4 Alex Deucher 2014-02-13 16:26:50 UTC
Make sure your kernel has this patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=227ae10f17a5f2fd1307b7e582b603ef7bbb7e97

You can also try disabling tiling in your xorg config:

Section "Device"
    Identifier "Radeon"
    Driver "radeon"
    Option "ColorTiling" "true"
    Option "ColorTiling2D" "true"
EndSection
Comment 5 bz 2014-02-13 17:19:32 UTC
Hello,

The kernel I was using was 
Linux ubuntu 3.13.0-8-generic #27-Ubuntu

That patch you mention made it to #28, I have since tested with the updated kernel and the xorg.conf options you mention, neither have resulted in a fix.

Regards
Comment 6 Alex Deucher 2014-02-13 21:37:07 UTC
(In reply to comment #5)
> Hello,
> 
> The kernel I was using was 
> Linux ubuntu 3.13.0-8-generic #27-Ubuntu
> 
> That patch you mention made it to #28, I have since tested with the updated
> kernel and the xorg.conf options you mention, neither have resulted in a fix.

Sorry, logic inversion.  try this:

Section "Device"
    Identifier "Radeon"
    Driver "radeon"
    Option "ColorTiling" "false"
    Option "ColorTiling2D" "false"
EndSection
Comment 7 bz 2014-02-14 09:19:57 UTC
Hello,

I made those changes and the problem is now fixed! Thanks!

Is this a bug?

Regards
Comment 8 Alex Deucher 2014-02-14 14:39:28 UTC
(In reply to comment #7)
> Hello,
> 
> I made those changes and the problem is now fixed! Thanks!
> 
> Is this a bug?

Yes.  I need to sort out what's wrong with tiling on your board.
Comment 9 bz 2014-02-14 14:47:41 UTC
Do you have access to a similar card? I can send you mine if you like, as I have a spare HD5450 I can use in the interim.

Regards
Comment 10 Alex Deucher 2014-02-14 16:51:53 UTC
(In reply to comment #9)
> Do you have access to a similar card? I can send you mine if you like, as I
> have a spare HD5450 I can use in the interim.

I should have access to one shortly.  Thanks though.
Comment 11 Alex Deucher 2014-02-17 19:22:53 UTC
Created attachment 94230 [details] [review]
possible fix

This attached kernel patch should fix the issue.
Comment 12 Alex Deucher 2014-02-17 19:23:48 UTC

*** This bug has been marked as a duplicate of bug 71488 ***

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.