Summary: | kwin uses %100 CPU on Wayland when nouveau.noaccel=1 | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | omeringen <erdem444> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | xaver.hugl |
Priority: | NOR | Keywords: | wayland |
Version: | 6.0.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
no nouveau and intel xf86-video drivers installed
nouveau and intel xf86-video drivers installed htop CPU usage |
Description
omeringen
2024-04-12 11:07:15 UTC
Created attachment 168417 [details]
nouveau and intel xf86-video drivers installed
Created attachment 168418 [details]
htop CPU usage
forgot to add my CPU: CPU: Info: dual core model: Intel Core i5 M 430 bits: 64 type: MT MCP cache: L2: 512 KiB Speed (MHz): avg: 1733 min/max: 1199/2267 cores: 1: 1199 2: 2267 3: 1199 4: 2267 (In reply to omeringen from comment #3) > forgot to add my CPU: > > CPU: > Info: dual core model: Intel Core i5 M 430 bits: 64 type: MT MCP cache: > L2: 512 KiB > Speed (MHz): avg: 1733 min/max: 1199/2267 cores: 1: 1199 2: 2267 3: 1199 > 4: 2267 Another information which might be useful. Looks like i don't have iGPU on CPU, only nvidia. Cross checked with Windows11, Fedora etc. https://hastebin.com/share/tifomupuqo.scss https://hastebin.com/share/axiboweyed.markdown looks like hP is disabling it, no option at BIOS: https://h30434.www3.hp.com/t5/Notebook-Video-Display-and-Touch/Integrated-Intel-Graphics-GPU-disabled-by-factory/td-p/7178220 Afaict the kernel parameter you're using disables hardware acceleration, so rendering happens on the CPU. High CPU usage is expected with that. (In reply to Zamundaaa from comment #5) > Afaict the kernel parameter you're using disables hardware acceleration, so > rendering happens on the CPU. High CPU usage is expected with that. I am using X11 session without any issue. Xorg has hardware specific ways to use 2D blitters when 3D hardware acceleration isn't available. KWin just doesn't and can't support that, sorry. The only way for you to get a usable Wayland session is to get that driver bug fixed so you don't need to effectively disable the only GPU in your system, or maybe to use QPainter (https://invent.kde.org/plasma/kwin/-/wikis/Environment-Variables#kwin_compose) but its performance is pretty bad too (In reply to Zamundaaa from comment #7) > Xorg has hardware specific ways to use 2D blitters when 3D hardware > acceleration isn't available. KWin just doesn't and can't support that, > sorry. The only way for you to get a usable Wayland session is to get that > driver bug fixed so you don't need to effectively disable the only GPU in > your system, or maybe to use QPainter > (https://invent.kde.org/plasma/kwin/-/wikis/Environment- > Variables#kwin_compose) but its performance is pretty bad too Thanks for the info. Some info for users who wants to use wayland like me and don't have any other GPU without nvidia: Remove nouveau.noaccel=1 kernel parameter and use environment variable "LIBGL_ALWAYS_SOFTWARE=1" In this way, you can use wayland without the issues i encountered. (still high CPU usage for some apps but at least you can use your DE fine) |