(Translated with Google Translator)
Plasma freezes randomly, when I play CS:GO/Minecraft/Terraria in fullscreen. It freezes on Garuda, Manjaro, MX Linux and Endeavour (current distro), but doesn’t on the same distributions with Xfce/Gnome. I had one case of freeze even when watching the series in the browser.
I download the NVIDIA drivers using
nvidia-inst -q -p or manually from their website, then enable hybrid mode using optimus-manager or envycontrol and just launch the game. Freeze occurs even if I afk in the initial menu. At the same time, I can move the cursor and hear sounds. Freeze is fixed with Alt+SysRq+R + Ctrl+Alt+F2 and back, but it’s super inconvenient.
Freeze 13:33:59 logs:
journalctl -n -1:
sudo dmesg: I don’t know how to read previous boot’s dmesg, but it spammed “ACPI Warning: Time parameter 255 us > 100 us violating ACPI spec, please fix the firmaware. (20221020/exsystem-141)”
Operating System: EndeavourOS
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7300HQ CPU @ 2.50GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630 (and gtx 1050 ti)
Product Name: Nitro AN515-51
System Version: V1.22
Help me, please!
Reply, because newbies url in message limit
/var/log/Xorg.0.log, when I switch tty and screen unfreezes:
April 4, 2023, 9:19am
This is a weird issue
Nvidea is a pain as always and there are many reports similar on the internet
This is generally unrelated and is for the energy management (e.g. going to sleep)
I found a similar problem:
I also have Present-flip spam, but did not notice it, because it turned off logging by itself due to spam.
But why it happens only on kde? I seem to have prime-sync enabled on xfce, and kernel version was the same. I didn’t have this bug a few years ago on an older kernel, but I doubt it was older than 5.11 when async flipping came along.
I have a similar problem, it sometime freeze and only mouse cursor is moving.
But, as we are 2 users on my computer, I can see it’s still possible to switch to my GF session and here everything is fine: no freeze on her session
The only way I found to fix the problem when it occurs is to go to her session to open Konsole or to open a terminal session
CTRL ALT F2, and kill process started with my user:
Then I can switch back to my session and everything is fine.
Also, I have a NVidia GC with proprietary driver installed.
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-58-generic (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 62,7 GiB of RAM
Graphics Processor: NV136
(I know, need to upgrade system to last 5.27 KDE Neon)
Some guy came up with weird solution, but it would be nice to figure out why this only happens with plasma and how to fix it for everyone without any additional scripts and investigations.
05:53PM - 14 Nov 21 UTC
03:44PM - 17 Sep 22 UTC
not our bug
I’m experiencing freezes at games that use DXVK (I only play through Stea
… m Proton), the game just freezes for few minutes and then crashes. This happened in all games that I’ve played:
Mass Effect Legendary Edition
Overcooked! All you can eat
Deep Rock Galactic
These crashes happen at random times, in some games the crash may happen after 2-3 hours of playing (for example in Mass Effect) and in some games it happens very often, maybe once in 15 minutes (Deep Rock Galactic). I’ve tried checking RAM, VRAM, Video card temperature, but everything seems to be fine. Steam Proton logs show some errors such as VK_ERROR_DEVICE_LOST, but I still have no idea what the issue is that’s causing these crashes. Right now I’m using Ubuntu 20.04. Last year I’ve been playing Deep Rock Galactic on ultra settings on Windows 10, and never had any crashes of the game. I’ve been able to play a native Linux game, Europa Universalis IV, without any freezes/crashes for 7 hours. I was never able to play a proton game without it freezing after 3-4 hours.
I’ve tried installing both older and newer drivers (nvidia-driver-460; 495; 390) and the issue stays. Right now I’m using nvidia-driver-470. I’ve tried using different Proton versions as well (Proton Experimental; 6.3-7; 5.13-6; Glorious Eggroll 6.16-GE1)
"When I run uname -ar, I get: Linux rus-N95TP6 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
My dGPU is Nvidia GeForce GTX 1060 Mobile; My iGPU is Intel(R) UHD Graphics 630 (CFL GT2)
My CPU is Intel(R) Core™ i7-8700 CPU @ 3.20GHz
Below I’ve attached the bug report generated by nvidia-bug-report.sh around 2 minutes after Deep Rock Galactic froze, because the crashes happen there more often than in the other games. I’ve also attached the Proton log if it might help. It’s probably relevant that I’m running a laptop with an integrated Intel iGPU (hence PRIME is involved, though the Steam proton log seems to show that the video device used is in fact the Nvidia dGPU)
I’ve tried to run Deep Rock Galactic with the kernel 5.4 (Linux rus-N95TP6 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux) and the same freeze happened. Log files below:
In order to test the overheating theory I ran Deep Rock Galactic at a capped framerate of 40fps in order to keep my GPU at low temps. If this were a thermal issue then the game wouldn’t freeze.
Unfortunately, it froze. I checked the temperature logs: it peaked at 78C, i.e. well below dangerous temps.
This was while running kernel 5.4.
The freeze happened around 19:24:01 according to the temperature log.
**I was able to run a non-native linux game through Steam Proton, Hades, in Vulkan mode (the game supports running either in DirectX mode or Vulkan mode. I assume that running it in DirectX mode makes Steam Proton employ DXVK, while running in Vulkan mode doesn’t require DXVK, but that’s just an assumption I’m making, check the attached proton logs to confirm) Without any freezes for over 16 hours, I left it overnight and just closed the game in the end, it was obvious it won’t freeze.**
**Later on, for testing and differential diagnosis purposes, I’ve run Hades in DirectX mode. To my expectations, it froze/crash after 1 hour.**
**This leads me to think this issue is somehow related to DXVK.**
Proton logs for both runs attached:
The freeze happened around 00:38:33 according to the temperature log time. The peak temperature was 59 C.
I’ll also attach the output of the command ‘VULKAN_DEVICE_INDEX=1 vulkaninfo’:
I've reported my issue on the Nvidia Forums, here's the [link](https://forums.developer.nvidia.com/t/games-freeze-and-then-crash-when-using-steam-proton-on-geforce-gtx-1060-mobile/194288)
The last reply from the Nvidia rep was:
>>I’m really out of ideas, better reach out to the dxvk issue tracker.
After that I've tried to prepare logs with Apitrace as required in the bug report guide. Unfortunately, I've spent 2 days trying to reproduce same freezes with Apitrace but they didn't occur even once. I've tried running "Deep Rock Galactic"; "Foxhole"; "Hades" and "Overcooked! All you can eat", but the freeze never happened. I could only reproduce the freeze with d3d11 log and dxgi log in the game "Overcooked! All you can eat" without the Apitrace, I'll attach the logs below. Also, because the Proton log file was huge (8 GB), and the log repeated many times, I've taken the first 10000 lines of the log and the last 10000 lines of the log. I'll attach the Steam Proton log as well. As soon as I don't use apitrace the freezes return. Somehow apitrace manages to prevent freezes!
Why do these freezes happen and how can I fix this problem?
### Software information
Overcooked! All you can eat
### System information
- GPU: Nvidia GeForce GTX 1060 Mobile 6GB / iGPU is Intel(R) UHD Graphics 630 (CFL GT2)
- Driver: nvidia-driver-470
- Wine version: Steam Proton 6.3-7 (was used to reproduce the freeze in d3d11 and dxgi logs of the game Overcooked! All you can eat)
- DXVK version: v1.9.2
### Log files
- d3d11.log: [Overcooked All You Can Eat_d3d11.log](https://github.com/doitsujin/dxvk/files/7534256/Overcooked.All.You.Can.Eat_d3d11.log)
- dxgi.log: [Overcooked All You Can Eat_dxgi.log](https://github.com/doitsujin/dxvk/files/7534259/Overcooked.All.You.Can.Eat_dxgi.log)
- Steam Proton log (trimmed the original log file to only include the first 10k and last 10k lines, because everything in the middle was just 7 GB of repeating lines): [overcooked-trimmed.txt](https://github.com/doitsujin/dxvk/files/7534297/overcooked-trimmed.txt)
I remembered I had version 5.14/5.15 Manjaro KDE Plasma, and there was no similar problem.
@carl Please say you have an idea
Maybe somewhere I can find some patch or fork of KDE Plasma where this problem is solved? Or is the only way out is to change the processor to a newer one?
If there is no way out, can you at least advise a super similar alternative so that the transition is not painful?