Bug 202217
Summary: | Integrated laptop display doesnt come back up after using PRIME on wayland | ||
---|---|---|---|
Product: | Drivers | Reporter: | Haxk20 (haxk612) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | CC: | alexdeucher |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.0-rc1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | dmesg |
Description
Haxk20
2019-01-10 20:07:14 UTC
*** Bug 202197 has been marked as a duplicate of this bug. *** Please attach your xorg log and dmesg output. Can you provide more details on what exactly the issue is? On hybrid laptops, the dGPU is used for rendering offload. The local display is generally only attached to the APU. If this is a regression, can you bisect? (In reply to Alex Deucher from comment #2) > Please attach your xorg log and dmesg output. Can you provide more details > on what exactly the issue is? On hybrid laptops, the dGPU is used for > rendering offload. The local display is generally only attached to the APU. > If this is a regression, can you bisect? The issue is that on Wayland when i use DRI_PRIME=1 to use dGPU for offloading the screen goes black and never comes back on. On 4.20 the screen would go black but would come back on after a second or two. Will post logs later today. And if i may ask whats the point of Xorg logs since this issue occurs ONLY in Wayland ? On Xorg the screen works perfectly fine and actually when using DRI_PRIME=1 the display doesnt even go black for a sec. The main issue with this bug is that when i turn on Wayland session of GNOME the display would show my desktop but after few seconds it would go black and then come back up. On 5.0 the screen goes black but never comes back up. This makes it impossible to use Wayland session of GNOME. Don't worry about the xorg log. Sorry, habit. Created attachment 280433 [details]
dmesg
Dmesg output right after screen went black.
Switched to tty3 and blindly took the dmesg.
(In reply to Alex Deucher from comment #4) > Don't worry about the xorg log. Sorry, habit. And what i noticed is that when the screen goes black then even after switching to ttyX the screen still stays black. I did some further testing. The bug seems to be that even when i run just TTY session without GNOME even launched and i suspend the laptop to turn off the screen then the screen doesnt come back up. But i can still type on keyboard and the machine does what i type. So i have to turn it off blindly. This makes the machine unusable outside where you have to suspend the machine. Issue fixed as of the latest drm patches sent to kernel that will become RC3 |