[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-09-03 Thread khitschler
Since beginning of September the bug disappeared for me. I'm not sure what update caused it but the usual suspects are: linux- image-5.4.0-45-generic:amd64 (5.4.0-45.49~18.04.2, automatic) with its kernel module amdgpu.ko or some xorg-...-hwe parts or a combination of them. But I tried with a

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-06-17 Thread khitschler
For all who used the workaround #61: The current update xserver-xorg- video-amdgpu-hwe-18.04:amd64 19.0.1-1ubuntu1~18.04.1 19.1.0-1~18.04.1 overwrites the file /usr/lib/xorg/modules/drivers/amdgpu_drv.so (file date May 21 09:16) and the bug returns again. It is one step forward one step back ...

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-06-07 Thread khitschler
I can confirm that #61 removes the bug. I'm running Kubuntu 18.04 with a hwe kernel 5.3.0-51-generic #44~18.04.2-Ubuntu. (Not 5.3.0-53 because it contains a power off bug.) Great! Now I hope it will find a way to an "official" update. -- You received this bug notification because you are a

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-05-15 Thread khitschler
@jose: The above workaround seems to be related with your patch mentioned at #42. The function "amdgpu_present_check_flip()" returns prematurely if the variable "info->allowPageFlip" is set to false. "info->allowPageFlip" contains the evaluation of the configuration "OPTION_PAGE_FLIP" evaluated

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-05-15 Thread khitschler
At least for me I found a reproducible workaround for the resume bug. I found it more or less with try and error. I added the option "EnablePageFlip" to the configuration file "/usr/share/X11/xorg.conf.d/10-amdgpu.conf" like this: Section "OutputClass" Identifier "AMDgpu"

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-05-15 Thread khitschler
@jose: It seems that I already have installed a "amdgpu_drv.so" containing your mentioned patch. My package manager claims that I have installed "xserver-xorg-video- amdgpu-hwe-18.04_19.0.1-1ubuntu1~18.04.1_amd64.deb" with version "19.0.1-1ubuntu1~18.04.1". I compared the binary deb-package of my

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-05-03 Thread khitschler
@Richard: I tried your suggestion without luck. The screen remains black, the backlight was switched on. To verify I tried multiple times. The only true workaround (with KDE) is to switch the compositor off before turning into sleep. You have to switch the compositor on after return from

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-05-02 Thread khitschler
@jose: I'm not able to manage a setup to verify your reported bug fix. Sorry. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1849084 Title: Freeze on system-resume

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-04-28 Thread khitschler
@jose: The next days I'll try to verify if this fix will remove the bug with my computer. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1849084 Title: Freeze on

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-04-28 Thread khitschler
@Richard: Did you mean Ubuntu 20.04? What kernel have you running (uname -r)? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1849084 Title: Freeze on system-resume

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-04-13 Thread khitschler
ProblemType: Bug ApportVersion: 2.20.9-0ubuntu7.14 Architecture: amd64 CurrentDesktop: KDE DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2019-06-17 (301 days ago) InstallationMedia: Kubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) Package: xserver-xorg-video-amdgpu

[Desktop-packages] [Bug 1849084] ProcCpuinfoMinimal.txt

2020-04-13 Thread khitschler
apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1849084/+attachment/5353478/+files/ProcCpuinfoMinimal.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-amdgpu in

[Desktop-packages] [Bug 1849084] Dependencies.txt

2020-04-13 Thread khitschler
apport information ** Attachment added: "Dependencies.txt" https://bugs.launchpad.net/bugs/1849084/+attachment/5353477/+files/Dependencies.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu.

[Desktop-packages] [Bug 1849084] ProcEnviron.txt

2020-04-13 Thread khitschler
apport information ** Attachment added: "ProcEnviron.txt" https://bugs.launchpad.net/bugs/1849084/+attachment/5353479/+files/ProcEnviron.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu.

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-04-13 Thread khitschler
I can confirm that with switched off compositor (KDE, Shift-ALT-F12) resume is working. But I think the compositor act as trigger only and is not the reason for the bug. I've attached the relevant journalctl output of a current unsuccessful resume. I started the sleep at 13th april about 20:28:06

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-04-08 Thread khitschler
P.B. I tried to verify your observation. Without luck. First I generated a Windows-10 bootable USB drive and managed to install and run the "AMD Driver Auto-detect tool". On Windows it was successful to set the computer into standby and resume. Then I've done a warm-start of the computer an booted

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-04-08 Thread khitschler
This is a very interesting observation! In one of my previous posts I described the fact that after the first unsuccessful resume and a following soft-reset with Alt+SysReq+B all subsequent resumes will succeed. My guess was that there was something changed in the GPU's hardware registers

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-03-17 Thread khitschler
The above mentioned workaround (#27) is working again after this updates: $ cat /var/log/apt/history.log Start-Date: 2020-03-16 19:54:48 Commandline: packagekit role='update-packages' Requested-By: klaus (1000) Install: linux-image-5.3.0-42-generic:amd64 (5.3.0-42.34~18.04.1, automatic),

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-03-04 Thread khitschler
Yes it was only a workaround. The workaround running well for a few days until this update: $ cat /var/log/apt/history.log Start-Date: 2020-03-02 21:13:02 Commandline: packagekit role='update-packages' Requested-By: klaus (1000) Upgrade: libegl-mesa0:amd64 (19.2.8-0ubuntu0~18.04.2,

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-02-27 Thread khitschler
Sorry, I made a mistake I'm running kubuntu (not Ubuntu like mentioned in #24). Indeed I can confirm that with a switched off compositor resume will work. And I can confirm that resume only fails the first time after a power up reset of the computer. When the screen turn blank after the first

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-02-16 Thread khitschler
Please note the lines * Feb 16 15:47:43 Lin kernel: [drm] pstate TEST_DEBUG_DATA: 0xB7F6 and * Feb 16 15:47:43 Lin kernel: [drm] pstate TEST_DEBUG_DATA: 0x37F6 (I've cut the repeating parts) The lines are emitted in the kernel source code at ../drivers/gpu/drm/amd/display/dc/dcn10/ by

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-02-16 Thread khitschler
Back to freeze on resume. I'm running Ubuntu 18.04.4 LTS on a Lenovo Desktop V530-15ARR with AMD Ryzen 5 2400G with Vega 11 Graphics and a kernel 5.3.0-28-generic. With a kernel 5.0.0-29 suspend and resume were perfect (from the users point of view). But I had sometimes graphic freezes during

[Desktop-packages] [Bug 1849084] Re: Freeze on system-resume caused by kwin and amdgpu driver

2020-02-16 Thread khitschler
** Attachment added: "journalctl: suspend resume working" https://bugs.launchpad.net/ubuntu/+source/plasma-desktop/+bug/1849084/+attachment/5328692/+files/suspend-resume-ok.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to