Picture is heavily malformed

Bug #1724796 reported by Dario
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

On boot screen with disk decrypt password and gdm are heavily deformed (check attachment). After login wayland session is also deformed, then if I logout and login to Xorg, picture is fine. After that if I logout and login back to Wayland session picture is also fine.

GDM -> https://imgur.com/a/MhHbd
Disk decrypt -> https://imgur.com/a/UP0rL

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: xorg 1:7.7+19ubuntu3
ProcVersionSignature: Ubuntu 4.13.0-16.19-lowlatency 4.13.4
Uname: Linux 4.13.0-16-lowlatency x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 19 12:29:31 2017
DistUpgraded: 2017-10-19 11:49:45,543 DEBUG icon theme changed, re-reading
DistroCodename: artful
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 5.1.30, 4.10.0-37-generic, x86_64: installed
 virtualbox, 5.1.30, 4.13.0-16-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] [1002:67df] (rev e7) (prog-if 00 [VGA controller])
   Subsystem: XFX Pine Group Inc. Ellesmere [Radeon RX 470/480/570/580] [1682:c580]
InstallationDate: Installed on 2017-08-25 (54 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: ASUS All Series
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-16-lowlatency root=UUID=23900d78-4c59-4f7b-a317-4dd19bd68a7e ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to artful on 2017-10-19 (0 days ago)
dmi.bios.date: 11/11/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2801
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z97-AR
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2801:bd11/11/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ97-AR:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: ASUS MB
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS
version.compiz: compiz 1:0.9.13.1+17.10.20170901-0ubuntu1
version.libdrm2: libdrm2 2.4.83-1
version.libgl1-mesa-dri: libgl1-mesa-dri 1:17.2.2-0~z~padoka0
version.libgl1-mesa-glx: libgl1-mesa-glx 1:17.2.2-0~z~padoka0
version.xserver-xorg-core: xserver-xorg-core 2:1.19.5-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Revision history for this message
Dario (krashekspress) wrote :
Dario (krashekspress)
affects: xorg (Ubuntu) → libdrm (Ubuntu)
Revision history for this message
Dario (krashekspress) wrote :

I think I figured out what's happening. Kernel currently has bug for my card (rx580, or so I was told on IRC), but I have installed locally drivers which are loaded automatically on Xorg session (Drivers are from http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu). My question is is there a way to load those drivers via CMD line so I can do that before GDM or before loging into Wayland (currently I first have to login into Xorg in order for Wayland to work).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

has little to do with libdrm

and if you use external ppa's there's no support

affects: libdrm (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Dario (krashekspress) wrote :

I turned on external PPA because it wasn't working. The problem is simple, image is broken until Xorg is loaded (either by choosing Xorg in GDM, or disabling Wayland for GDM). Xorg does something that fixes the picture in Wayland (and thus in GDM if GDM is running with Wayland enabled).
Some users on irc suggested that this is kernel bug, but I'm not familiar enough with how things work to confirm/test that. I just know that loading Xorg (either as session or GDM) fixes the problem for both sessions.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.14 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Also, did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

tags: added: kernel-da-key
Revision history for this message
Dario (krashekspress) wrote :

Issue is present on 4.14.0-041400-generic kernel.
Issue was present since fresh install of Ubuntu 17.04 (don't remember what kernel version was it). Current Ubuntu version 17.10 is upgrade from 17.04.

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

RX580 is quite new. The easiest way to make your card work is to use AMDGPU-PRO.

Revision history for this message
Dario (krashekspress) wrote :

How would that help?
Card is working properly with OS drivers when they are loaded by Xorg DM or Xorg DE. Problem is only present during boot or if drivers are not loaded via Xorg (e.g. DM and DE are Wayland), and after Xorg loads drivers then Wayland also functions properly.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report[0]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

Please follow the instructions on the wiki page[0]. The first step is to email the appropriate mailing list. If no response is received, then a bug may be opened on bugzilla.kernel.org.

Once this bug is reported upstream, please add the tag: 'kernel-bug-reported-upstream'.

[0] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
status: Confirmed → Triaged
tags: removed: kernel-da-key
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.