New: Integrated laptop display doesnt come back up after using PRIME on wayland
https://bugzilla.kernel.org/show_bug.cgi?id=202217
Bug ID: 202217
Summary: Integrated laptop display doesnt come back up after
using PRIME on wayland
Product: Drivers
Version: 2.5
Kernel Version: 5.0-rc1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No
This issue was happening also on amd-staging-drm-next before 5.0rc1.
The issue is when GNOME with wayland is launched. Screen goes black after few seconds and doesnt come back up.
Expected result: Black screen and display coming back up as on older kernel versions
Actual result: Black screen and display not coming back up.
Black screen and display coming up is normal behavior when switching from iGPU to dGPU or vice versa.
This isnt an issue on Xorg because when switching from iGPU to dGPU because on Xorg display never goes black when switching.
Only way to use 5.0rc1 is to use Xorg which isnt a problem but i would like to run Wayland.
Laptop: Acer nitro 5
iGPU: VEGA 8
dGPU RX560X
If you need to run anything in terminal or get logs im happy to provide them. */This issue was originally posted in video-other but i realized that that is a wrong category/*
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
https://bugzilla.kernel.org/show_bug.cgi?id=202217
--- Comment #1 from Haxk20 ([email protected]) --- *** Bug 202197 has been marked as a duplicate of this bug. ***
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=202217
Alex Deucher ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Alex Deucher ([email protected]) --- 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?
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=202217
--- Comment #3 from Haxk20 ([email protected]) --- (In reply to Alex Deucher from comment #2)
Quoted 4 lines
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.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=202217
--- Comment #4 from Alex Deucher ([email protected]) --- Don't worry about the xorg log. Sorry, habit.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=202217
--- Comment #5 from Haxk20 ([email protected]) ---
Created attachment 280433
--> https://bugzilla.kernel.org/attachment.cgi?id=280433&action=edit
dmesg
Dmesg output right after screen went black.
Switched to tty3 and blindly took the dmesg.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=202217
--- Comment #6 from Haxk20 ([email protected]) --- (In reply to Alex Deucher from comment #4)
Quoted 1 line
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.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=202217
--- Comment #7 from Haxk20 ([email protected]) ---
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.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=202217
Haxk20 ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |high
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 202217] Integrated laptop display doesnt come back up after using PRIME on wayland
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=202217
Haxk20 ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX--- Comment #8 from Haxk20 ([email protected]) ---
Issue fixed as of the latest drm patches sent to kernel that will become RC3
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel