[Kernel-packages] [Bug 2009952] Re: Screen flickering/ tearing on 6.1 kernel

2023-03-28 Thread Roemer Claasen
Daniel, thanks for the suggestion! This is quite possibly a duplicate of https://gitlab.freedesktop.org/drm/amd/-/issues/2352. I'm evaluating the suggestion to add "amdgpu.dcdebugmask=0x10" to the kernel boot parameters. That parameter seems to disable PSR, see below. ➜ ~ sudo cat /sys/kernel/d

[Kernel-packages] [Bug 2009952] Re: Screen flickering/ tearing on 6.1 kernel

2023-03-30 Thread Roemer Claasen
Adding the kernel boot parameter fixes the flickering screen. Short HOWTO: - open `/etc/ default/grub` - add "amdgpu.dcdebugmask=0x10" as kernel boot parameter to `GRUB_CMDLINE_LINUX_DEFAULT` (on my system this now reads "quiet splash amdgpu.dcdebugmask=0x10") - call `sudo update-grub` - r

[Kernel-packages] [Bug 2009952] Re: Screen flickering/ tearing on 6.1 kernel

2023-03-30 Thread Roemer Claasen
@Daniel: so yes, this was indeed PSR. Disabling it fixes this issue. Thanks for the support! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-6.1 in Ubuntu. https://bugs.launchpad.net/bugs/2009952 Title: Screen flickering/ tear

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-03-31 Thread Roemer Claasen
@Timo: I tried 6.1.21 recently, and an older 6.2 mainline kernel (6.2.2?) from the kernel-ppa. The screen flicker/ tearing was still present on both. As a whole the system appeared somewhat unstable (occasional system halt), but I did not investigate, just went back to linux-oem-6.1. Should it be

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-04 Thread Roemer Claasen
I've tried 6.3rc5 (6.3.0-060300rc5-generic) without the parameter, and the flickering is still there at times. It appears to be a lot less than on 6.1/6.2 (without parameter set), though that's a very subjective observation. @Mario: Is there anything I can do to analyze further? -- You received

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-05 Thread Roemer Claasen
Hi Mario, thanks for your support! I will test the following kernel parameter settings and report back: Test 1: amdgpu.dcdebugmask=0x10 amdgpu.sg_display=0 (running now) Test 2: amggpu.sg_display=0 Cheers, Roemer -- You received this bug notification because you are a member of Kernel Package

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-06 Thread Roemer Claasen
Test 1: amdgpu.dcdebugmask=0x10 amdgpu.sg_display=0 All well, no observations during a full workday. Test 2: amggpu.sg_display=0 Flicker/tear is back, and a full screen freeze within 10 minutes. About the screen freeze: contrary to yesterday the laptop was now connected to a second screen. I wa

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-06 Thread Roemer Claasen
Test 2, no external monitor connected Another system halt with the following error: Apr 6 12:51:59 rct14s kernel: [11686.738468] amdgpu :33:00.0: [drm] *ERROR* [CRTC:72:crtc-0] flip_done timed out I am now re-enabling "amdgpu.dcdebugmask=0x10" since that seemed to be running quite well. k

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-06 Thread Roemer Claasen
Short, massive flickering while running with parameters "amdgpu.dcdebugmask=0x10 amdgpu.sg_display=0", see video: https://www.youtube.com/watch?v=7WPtMy1nrT8 I suspect this is a separate issue, as I have not seen flickering on this scale before, it used to be a very quick, hardly noticeable tear.

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel

2023-04-06 Thread Roemer Claasen
** Attachment added: "PXL_20230406_120734843.jpg" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2009952/+attachment/5661609/+files/PXL_20230406_120734843.jpg -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-6.1 in Ubunt

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-04-06 Thread Roemer Claasen
** Summary changed: - [amdgpu][psr] Screen flickering/ tearing on 6.1 kernel + [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-oem-6.1 in Ubuntu. https://bugs.launchpad.

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-06-07 Thread Roemer Claasen
UPDATE 2 after testing 6.4rc5. Still a PSR-related problem when running without "amdgpu.dcdebugmask=0x10" (see kern.log below), apart from that very happy with 6.4-rc5. The flicker/ tearing issue seems to be solved (yeah!). Without the kernel parameter I do get the following error though, apparen

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-06-07 Thread Roemer Claasen
Hi Mario, I have to apologize, I was a little bit too fast sending that update. Immediately afterwards I had the screen flickering again, with some blackouts as well. I was able to make a video, see https://www.youtube.com/watch?v=yjL9OuXhdeg. No errors in the log though. I will have to see if I

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-06-07 Thread Roemer Claasen
Hi Mario, I've recompiled kernel 6.4-rc5 with the patch applied, and get the same error (see below). No screen tearing/ flicker - yet. I'll report back after a day of work to see if the patch had any effect. Thanks again for your support, best, Roemer $ cat /proc/cmdline: BOOT_IMAGE=/boot/vml

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-06-07 Thread Roemer Claasen
No luck running with the patch and without "amdgpu.dcdebugmask=0x10", sadly. There is still occasional screen flickering, and sometimes (once every 15 mimutes or so) a blank screen. Then after a few hours of use, the display froze completely, and I could only reclaim control through 1) suspend an

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

2023-02-27 Thread Roemer Claasen
** Summary changed: - HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u + HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs ** Description changed: After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from 5.15.0.60) suspend/wake up is broken o

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

2023-03-09 Thread Roemer Claasen
6.1 from linux-oem-22.04c indeed fixes this suspend/ resume issue for me. 6.1 from linux-oem-22.04c doesn't feel as mature as 5.15 though, there is some repaint/ flickering screen bug that I haven't seen in either 5.15 or 5.19 (but was also present in mainline 6.1). It does seem somewhat more effi

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

2023-03-09 Thread Roemer Claasen
Hi Daniel, thanks for the suggestion! My current setup: $ uname -rv 6.1.0-1007-oem #7-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 8 15:41:05 UTC 2023 $ cat /sys/kernel/debug/dri/0/eDP-1/psr_capability Sink support: yes [0x03] Driver support: yes [0x01] $ cat /sys/kernel/debug/dri/0/eDP-1/psr_state

[Kernel-packages] [Bug 2009952] [NEW] Screen flickering/ tearing on 6.1 kernel

2023-03-10 Thread Roemer Claasen
Public bug reported: After upgrading from kernel 5.19.0-35-generic to 6.1.0-1007-oem there is occasional screen flicker/ tear. It happens around every minute; it seems connected to window/ pointer movement, but I have no clear way of reproducing. Disruption is minor, but annoying. I'm running 22

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

2023-03-10 Thread Roemer Claasen
Screen flickering/ tear bug filed in https://bugs.launchpad.net/ubuntu/+source/linux-meta- oem-6.1/+bug/2009952. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-hwe-5.19 in Ubuntu. https://bugs.launchpad.net/bugs/2007718 Title: HW

[Kernel-packages] [Bug 2007718] [NEW] HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-17 Thread Roemer Claasen
Public bug reported: After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from 5.15.0.60) suspend/wake up is broken on my laptop. The system refuses to wake up in about 50% of the cases, seemingly random. Reverting back to 5.15.0.60 resolves this issue immediately. I suspect some

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-17 Thread Roemer Claasen
** Description changed: After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from 5.15.0.60) suspend/wake up is broken on my laptop. The system refuses to wake up in about 50% of the cases, seemingly - random. + random. The only "solution" is a forced system power down.

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-20 Thread Roemer Claasen
Installing mainline 6.1 resolves the issues again. Now running: Linux 6.1.12-060112-generic #202302141939 SMP PREEMPT_DYNAMIC Tue Feb 14 19:45:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linu

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-23 Thread Roemer Claasen
kern.log attached, suspend on line 59124 ** Attachment added: "kern.log" https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+attachment/5649624/+files/kern.log -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to l

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-23 Thread Roemer Claasen
** Description changed: After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from 5.15.0.60) suspend/wake up is broken on my laptop. The system refuses to wake up in about 50% of the cases, seemingly random. The only "solution" is a forced system power down. Revertin

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-23 Thread Roemer Claasen
** Description changed: After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32 (from 5.15.0.60) suspend/wake up is broken on my laptop. The system refuses to wake up in about 50% of the cases, seemingly random. The only "solution" is a forced system power down. Revertin

[Kernel-packages] [Bug 2007718] Re: HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen 6000u

2023-02-23 Thread Roemer Claasen
For completeness: Apport data ** Attachment added: "Apport data" https://bugs.launchpad.net/ubuntu/+source/linux-meta-hwe-5.19/+bug/2007718/+attachment/5649649/+files/apport.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-me

[Kernel-packages] [Bug 2009952] Re: [amdgpu][psr] Screen flickering/ tearing on 6.1/6.2/6.3 kernel

2023-05-16 Thread Roemer Claasen
Testing 6.4-rc2 now, it seems the S/G mode issue is indeed resolved. It's been 2 days only, but the new kernel seems really stable. I'm now running without the "amdgpu.sg_display=0" kernel param. It seems the tearing issue is still there though, the "amdgpu.dcdebugmask=0x10" is still needed. --

[Kernel-packages] [Bug 2024774] Re: AMD Rembrandt / Phoenix PSR-SU related freezes

2023-07-04 Thread Roemer Claasen
Hi Mario, Not entirely sure if this is the exact logging you are looking for, but this is the result from my testing. I've installed the latest firmware, running mainline kernel 6.4.0 on Jammy LTS on an AMD 6850u T14s Gen 3. Hope this helps to pinpoint the PSR problems. If you would like me to t