Bug 1226330 - [r600]Garbage on screen after switching VTs from/to Plasma Wayland session
Summary: [r600]Garbage on screen after switching VTs from/to Plasma Wayland session
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel:Drivers (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 10:06 UTC by Iakov Karpov
Modified: 2024-07-15 13:11 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
tiwai: needinfo? (srid)


Attachments
dmesg (512.70 KB, text/plain)
2024-07-07 08:13 UTC, Iakov Karpov
Details
hwinfo (816.83 KB, text/plain)
2024-07-07 08:14 UTC, Iakov Karpov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iakov Karpov 2024-06-14 10:06:01 UTC
When you run a Plasma Wayland session with on an old computer, putting your computer to hibernation, sleep or doing simple VT switch, causes severe picture distortion on computer screen, making it useless. The only solution to it is to kill kwin_wayland and restart session.
I don't know if it's compositor's fault or drivers, but X11 session works fine.

openSUSE Leap 15.6, Plasma 5.27.11.
Hardware is Mobility Radeon HD2600 aka M76/RV630.
There is no suspicions messages in kernel or kwin log, pointing to a problem.
Comment 1 Fabian Vogt 2024-06-14 11:50:07 UTC
If it's broken even after switching to a kernel VT, it's definitely a kernel issue.
Comment 2 Takashi Iwai 2024-06-14 15:17:45 UTC
Could you try the kernel in OBS Kernel:SLE15-SP6 repo?
  http://download.opensuse.org/repositories/Kernel:/SLE15-SP6/pool/
Comment 3 Iakov Karpov 2024-06-14 19:40:53 UTC
(In reply to Takashi Iwai from comment #2)
> Could you try the kernel in OBS Kernel:SLE15-SP6 repo?
>   http://download.opensuse.org/repositories/Kernel:/SLE15-SP6/pool/

I tried this kernel, no change in behavior.
Comment 4 Takashi Iwai 2024-06-15 07:44:56 UTC
OK, then could you try the recent upstream kernel in OBS Kernel:stable:Backport, too?
  http://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/
Comment 5 Iakov Karpov 2024-06-16 18:30:55 UTC
(In reply to Takashi Iwai from comment #4)
> OK, then could you try the recent upstream kernel in OBS
> Kernel:stable:Backport, too?
>  
> http://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/

I tried this and slowroll:Backport kernels, no change, vt switch still breaks wayland session
Comment 6 Takashi Iwai 2024-06-17 07:51:53 UTC
Thanks.  It means that the bug is still in the latest upstream, and it should be tracked by the upstream tracker.

To be sure, could you try the latest 6.10-rc kernel in OBS Kernel:HEAD:Backport repo?
  http://download.opensuse.org/repositories/Kernel:/HEAD:/Backport/standard/

Once after confirming that the issue persists, please boot with boot options "log_buf_len=1M drm.debug=0x1e", try to reproduce the problem, and upload the dmesg output to Bugzilla as an attachment.  Give the output of hwinfo as well.
Comment 7 Iakov Karpov 2024-07-07 08:13:48 UTC
Created attachment 875921 [details]
dmesg

dmesg for linux 6.10.0-rc6
Comment 8 Iakov Karpov 2024-07-07 08:14:28 UTC
Created attachment 875922 [details]
hwinfo

hwinfo for linux 6.10.0-rc6
Comment 9 Iakov Karpov 2024-07-07 08:18:09 UTC
I did a test run with a kernel from Kernel:HEAD repo, no change. I've also tried booting with different options for radeon module, you can see some of them in kernel command line. It seems that they make no difference at all: no additional glitches observed, nor performance or power consumption change.
Comment 10 Takashi Iwai 2024-07-15 13:11:57 UTC
OK, then it's time to report to the upstream.  Could you report it on gitlab.freedesktop.org Issues with the logs you uploaded here?
  https://gitlab.freedesktop.org/drm/amd/-/issues

You can take the dmesg output (with the drm.debug boot option) after the hibernation resume, i.e. you got a broken output.  It might help understanding what's going on.