Bug 451201 - Plasma Wayland doesn't seem to recognize my GTX 1060. Think its the reason why it seems so glitchy.
Summary: Plasma Wayland doesn't seem to recognize my GTX 1060. Think its the reason wh...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-06 16:43 UTC by yamiyukisenpai
Modified: 2024-06-07 19:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Example (2.24 MB, image/png)
2022-03-06 16:43 UTC, yamiyukisenpai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yamiyukisenpai 2022-03-06 16:43:14 UTC
Created attachment 147331 [details]
Example

SUMMARY
Plasma Wayland doesn't seem to recognize my GTX 1060 (shows as "llvmpipe").   Not sure if that contributes to the fact that the display seems glitchy after spending around 5min with it.

STEPS TO REPRODUCE
1. Log in to Plasma session with Wayland

OBSERVED RESULT
The graphics seems to be glitchy, which apparently may be because it's software-rendering

EXPECTED RESULT
Hardware-accelerated & smooth graphics on Wayland

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-30-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD EPYC-Milan Processor
Memory: 7.8 GiB of RAM
Graphics Processor: llvmpipe

ADDITIONAL INFORMATION
I also tried logging into the X11 session, and it recognizes and correctly identifies my GPU as GTX 1060.
I was unable to log into Plasma Wayland until I added `nvidia-drm.modeset=1` on boot parameters.
I know it says "EPYC-Milan", but I'm using Ryzen 9 5900X running on a VM with 8 threads. Though, I'm sure that it doesn't really contribute to the issue, but I think I should mention in case you ask.
Comment 1 Nicolas Fella 2022-03-07 13:26:08 UTC
I don't think the GPU detection and the glitches are related. My GPU is detected correctly but the graphics are still bad
Comment 2 yamiyukisenpai 2022-03-13 09:43:46 UTC
(In reply to Nicolas Fella from comment #1)
> I don't think the GPU detection and the glitches are related. My GPU is
> detected correctly but the graphics are still bad

What's your GPU?
Comment 3 Nicolas Fella 2022-03-14 13:23:38 UTC
A GTX 1050 Ti
Comment 4 yamiyukisenpai 2022-03-14 13:26:32 UTC
(In reply to Nicolas Fella from comment #3)
> A GTX 1050 Ti

Huh...wonder if being passed through is the issue, or if it's because I also boot this Neon VM with QXL display on VIRT-manager if I'm using the GPU.
Comment 5 yamiyukisenpai 2022-04-04 19:49:22 UTC
Here's my nvidia-smi output:

$ nvidia-smi
Mon Apr  4 15:48:53 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.54       Driver Version: 510.54       CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:07:00.0  On |                  N/A |
|  0%   41C    P8     8W / 120W |    134MiB /  6144MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1022      G   /usr/lib/xorg/Xorg                 14MiB |
|    0   N/A  N/A      3160      G   /usr/bin/kwin_wayland             116MiB |
+-----------------------------------------------------------------------------+
Comment 6 yamiyukisenpai 2022-04-04 20:07:15 UTC
Someone on reddit suggested I install the EGL libraries, but that didn't work

https://www.reddit.com/r/kde/comments/t5jxi3/comment/hz5tgz5/?utm_source=share&utm_medium=web2x&context=3
Comment 7 yamiyukisenpai 2022-05-06 01:08:45 UTC
I just upgraded to 22.04 on Neon Unstable, and Plasma Wayland is a mess there.

Operating System: Ubuntu 22.04 LTS (Jammy Jellyfish)
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-27-generic (64-bit)
Graphics Platform: X11
Processors: 8 × AMD EPYC-Milan Processor
Memory: 7.8 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-6.0
Comment 8 yamiyukisenpai 2022-05-08 19:22:20 UTC
Forgot to clarify:
* Firefox immediately crashes. 
* KRunner stopped showing up.  It would show up for less than a minute, then stop responding.  Won't launch again after that.
* Latte dock won't load.
Comment 9 Zamundaaa 2024-06-07 19:43:36 UTC
There have been a lot of changes to the NVidia-on-Wayland situation since the last update to this bug report, and KDE Neon should have proper packaging to make the driver work by now.
In case it still doesn't work on Plasma 6, please make a bug report for Neon (or whatever distribution you're using now)