What is running at this moment. My mind it is not “normal”
my example
browser with 11 tabs open (1x playing you tube video), vlc open + video, systemmonitor, konsole, steam (no game running)
Nice, so your GPU stays at almost 0. That’s awesome.
In my case it’s still at 80% - 100% with just a youtube video tab opened, but not even playing. If I start playing it I get a lot of dropped frames, even on the main laptop display:
This is at 2k. If I switch the video quality to 4k, it’s far worse.
I tried various ways:
run brave on the intel GPU - got about 10 FPS brave --enable-features=VaapiVideoDecoder --use-gl=desktop --ignore-gpu-blocklist --ozone-platform=x11 brave --enable-features=VaapiVideoDecoder --use-gl=egl --ozone-platform=wayland
run youtube in MPV with mpv --ytdl-format=bestvideo+bestaudio "https://www.youtube.com/watch?v=7AcG44TC2-A" - same issue
run mpv on the intel gpu with _NV_PRIME_RENDER_OFFLOAD=0 mpv --ytdl-format=bestvideo+bestaudio "https://www.youtube.com/watch?v=7AcG44TC2-A" - same issue
Run youtube videos in brave with the h264ify extension active. Max 1080p. works ok, but 1080p works almost ok without h264ify as well
But if I open a 4K video that I filmed, x264, it works great. No stuttering, no nothing. Just works.
So it almost seems like there’s a problem when playing VP9 videos from youtube. Or even just having youtube open with the video paused.
Overall the system still feels sluggish, even with the display connected via Type-C
I wish my laptop could handle that on Garuda. But it just can’t and I have no idea why.
One thing about this laptop is that in windows it has 3 modes that I can use, and I can toggle them from a dedicated button: Quiet, Balanced and Performance. Nothing unusual so far, but the “Performance” one immediately turns on the fans at almost max speed, and it requires the AC adapter to be plugged in. if it’s not, I get an overlay on the screen saying that the performance mode is only available with the AC adapter.
I’m not seeing such a limitation on Linux, so maybe the laptop is not going to full power?
I mention this because the current performance is similar to Windows in the “quiet” mode.
So anyway, I did a few more things. I changed the kernel to the non-zen one, by doing:
sudo pacman -Syu linux linux-headers
Then reboot, select “Advanced” and choose the linux kernel. Verified with uname -r which outputs 6.15.4-arch2-1.
Now Rani doesn’t exist anymore. Is that only available with the zen kernel?
I also got a new Thunderbolt 4 cable for my display.
So the situation now is that the system overall seems more responsive, but only when youtube videos are not playing.
If any youtube video is playing, everything else stops working. Even the system monitor charts stop moving.
Here are a 2 charts, I’ve annotated them with what I was doing when the spikes happen.
First, on the external USB-C display:
Notice that now it’s: gpu: i915,nvidia,nvidia-nvswitch
I’m guessing it works better over USB-C because there’s issues when both cards work at once and one has to hand-off to the other. And then I still get performance issues over USB-C because the intel i915 can’t handle 3 displays 4k 4k 2k?
EDIT 3
But when I have the display connected on USB-C and inxi -e says only i915, if I run nvidia-smi I get this:
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.64 Driver Version: 575.64 CUDA Version: 12.9 |
|-----------------------------------------+------------------------+----------------------+
| 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 RTX 3080 ... Off | 00000000:01:00.0 On | N/A |
| N/A 57C P5 18W / 92W | 938MiB / 8192MiB | 20% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 2209 G /usr/lib/Xorg 4MiB |
| 0 N/A N/A 2775 G /usr/bin/ksmserver 3MiB |
| 0 N/A N/A 2858 G /usr/bin/kaccess 3MiB |
| 0 N/A N/A 3354 G /usr/lib/electron36/electron 83MiB |
| 0 N/A N/A 5185 G /opt/brave-bin/brave 3MiB |
| 0 N/A N/A 5230 G ...1b8f11f2ece889a876755bd657b74 689MiB |
+-----------------------------------------------------------------------------------------+
So why are all the processes there if my only display gpu is the i915?
By the way, I went into bios but there’s no option to disable the iGPU.
Edited to add an update:
I went here and did some more reading: Intel graphics - ArchWiki
And installed the following: sudo pacman -Syu linux-firmware sudo pacman -Syu --needed libva-utils (i had them already it seems)
Then I created a new file: nano /etc/modprobe.d/i915.conf
And added the follwing to it:
options i915 enable_guc=3
HUC/GUC are intel’s way of offloading some of the video decoding to the hardware graphics microcontroller.
After that I ran
sudo dracut-rebuild
Then rebooted the machine.
After the reboot I checked:
After all this, I think the video playback is a bit smoother on 4k videos but still the rest of the system becomes almost unusable.
So in 2 different terminals I’m running:
watch -n 1 -d sensors
and
watch -n 1 -b -d cat /proc/cpuinfo
When I play the video the temperatures go up to 80 C or so, and I see the frequency going from 4GHz down to 1.6, 2 and sometimes 800MHz.
Not sure what to make of it. The fan isn’t spinning too fast. I tried various ways to make the fan run at max speed always, but I couldn’t get it to do it.
Like @gampel said, I’m going to change the thermal paste again, but I’m not sure what good can it do if the fans don’t spin fast enough to evacuate the heat.
Buy a laptop cooler (if possible), perhaps replace the cpu cooler.
Take attention that all components are installed correctly, heatpipes etc.
And pls test your sysem without intel igpu (over bios)+ install another kernel.
Use sensor tools example btop with the right settings (not for your system but default amd gpus are not really checked) or if you like M$ style install hardinfo2 with the correct settings.
(daemon is running + user /group settings) and use nvidia-smi additional.
And you need nvidia-prime to handle this if you don´t deactivate your igpu. (my mind)
No knowledge about prime reason no metal for this.
Additional use nvidia-settings to check. (but it’s not real function inside a wayland session.
And last but not least use x11. (for this you must install plasma-x11-session at least I think so)
I just changed the paste. This is Arctic MX4. I made sure all screws were tightened correctly and the paste is applied on all the components where there was originally paste from the factory.
This is just after the computer started, opened youtube. Not even the System Monitor app will start properly. It just stays like this until I pause the video. After I pause, everything returns to normal and the charts are shown.
Yes, I tried prime and many others like supergfxctl. nvidia-smi shows activity but still my system becomes unresponsive until I pause the youtube video.
This is while a video is playing. Screenshoting is very very slow when videos are playing, but the Performance Level went to 3 then back to 1, and it kinda moves around but stays mostly on 1 while playing videos. Goes back to 0 when not playing.
On Pop!_OS I had similar issues on Wayland, but there I didn’t even have to play a video, it was just slow. X11 was working fine though.
I like Wayland because I can have different Scaling on my screens, which is what I need.
And also OBS recording is nicer on Wayland.
I’ll try X in Garuda too and see if it works better than Wayland, just like it did on Pop!_OS.
Sorry, btw, what you are doing, believe me not like this.
many many to much paste. 1 small point. in the middle of the spreader then credit card or similar flat over it and distribute evenly → rdy. (paste only on spreader not like this (picture)
More is not better there. If you have too much (see pictures) it goes reverse.
The pipes / tapes / metal blocks must sit flat.
It’s not the paste, that’s fine. I tried all options. Blobs like I did now, I also tried a thin film like you said, I tried all, the result is the same. Everything works fine on windows, but everything breaks on linux & wayland when I play a 4k video on youtube.
If I install windows now, I can play multiple 4K videos all at once while I compile a .net app, no issues. This has to do with software, not hardware, and now I have the proof:
The picture below shows that while playing a video, my cpu is at 60 C while drawing 43 Watts. This CPU is rated at 45, so it goes to its maximum and does not throttle down.
The point where it went to 30 then 20 is when I paused the video to take the screenshot. I can’t even take screenshots when a 4k video is playing.
TL;DR: Not quite fixed, unfortunately
So it’s been a few days. The system is mostly working ok-ish, but it’s not even close to the performance I was getting on Windows.
It can handle a 4k video on youtube while I do other things, but it depends what other things. It still becomes quite slow at times.
When playing one youtube 4k video the system becomes just marginally slower in most other tasks, so disabling “Better Blur” definitely helped a lot!
But, if I try to do something else that needs the GPU, then the system becomes very slow again. Examples:
Opening DarkTable. This actually is slow even without a youtube video playing.
Using Moonlinght to connect to a Sunshine host where I run CaptureOne on Windows. If I don’t have youtube open, it works great, feels like realtime. But as soon as I open a 4k video on youtube, I’m getting more than 40% frames dropped and the cursor takes 2-3 seconds to move.
Opening MPV with another 4k video. Now you might think this is silly, why would someone open 2 videos at the same time. Well on Windows I was able to open even 4 and they were all playing normally. I’m sometimes doing this to evaluate quality between 2 videos that I encode with different settings.
I am really stuck here. I wanted to switch to linux full time. Even though my system is powerful enough to run on Windows (i9-11900H, 32Gb Ram, RTX3080 8Gb), I wanted to make the switch because I actually like linux more. I like Pop!_OS and I like Garuda even more.
And I can run almost everything that I need on linux: DaVinci Resolve, PixInsight and many more tools work very well on linux nowadays, so it’s a real bummer that I’m getting these performance issues.
I still have a Windows VM on a Proxmox server, just for CaptureOne and Affinity Photo. Now I can do without Affinity 2 because Gimp is almost enough for my use case.
As for CaptureOne, I tried Darktable and although it has really good functionality, the UI is just terrible, so I’m sticking with C1 on my Windows VM for now.
But for the past 2 weeks I could barely do any work because of all these performance issues.
I though linux was supposed to use my hardware more efficiently than windows. All over the internet I see articles about “bring your old computers to life with linux”. Well my experience has been quite the opposite, unfortunately…
Please, someone with a RTX+intel laptop, could you try to open 2 4k videos at the same time and see if you’re getting the same issues?
With this, I see that the gpu is going to P0 when I start playing videos, so it is going to full power. But nvidia-smi only shows about 20W of usage, not sure what’s going on or why isn’t it going to 100W if it’s struggling. P0 should mean that it goes there no matter what.
These both trigger the same issue.
I tried the --no-audio flag because the integrated audio on the laptop doesn’t work and I thought it might be an audio driver problem that causes this, especially after seeing this output from mpv:
❯ prime-run mpv /mnt/truenas/[...]/C2314.MP4
client removed during hook handling
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: st: 0 edit list: 1 Missing key frame while searching for timestamp: 1001
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: st: 0 edit list 1 Cannot find an index entry before timestamp: 1001.
● Video --vid=1 (h264 3840x2160 23.976 fps) [default]
● Audio --aid=1 (pcm_s16be 2ch 48000 Hz) [default]
AO: [pipewire] 48000Hz stereo 2ch s16
VO: [gpu] 3840x2160 yuv422p10
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
Consider trying `--profile=fast` and/or `--hwdec=auto` as they may help.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Audio device underrun detected.
Saving state.
AV: 00:00:22 / 00:01:26 (26%) A-V: 1.360 Dropped: 452 Cache: 11s/150MB
Exiting... (Quit)
I’ve just booted from an ubuntu live usb.
I can play multiple 4k videos at the same time, absolutely no stutter, nothing, zero dropped frames.
I’m on wayland, ubuntu 25.04 (latest)
In Garuda I already tried with the following kernels:
zen
linux
linux-lts (not finising the boot process. Hangs at “initramfs”)
xanmod-edge-x64v3
xanmod-rt (same as linux-lts, finishing the boot process)
This is with glxgears.
Before I start any video, I’m getting 60fps, which is the monitor’s native 60Hz
When I start a youtube 4k video, it goes way down, to 30
When I switch to 2k on the same vide, it goes back up to 50 or so
When open another tab (but the video keeps playing in the background), then it goes back up to 60fps.
I have another update.
I installed Windows 11 clean. Then installed the nvidia drivers, thunderbolt and MyAsus.
I can play four 4k videos at the same time with barely any dropped frames. And this is in the “Balanced” mode, it’s not even in Performance. I mean the screenshot is taken in Performance mode but it works the same in “Balanced” as well, the only difference being that the CPU goes close to 90 C (which is normal for this cpu, not a problem until 100).
Also I can take screenshots and I’m writing this post while the 4 videos are still playing, I’m not seeing any stutter or any slowdown in anything else. Oh, and the display is connected via HDMI, didn’t even have to go to USB-C.
So this tells me conclusively that it’s not a problem from hardware, thermal or anything else related to my specific laptop.
Another thing to mention is that I have sound now on the integrated speakers.
So please, if anyone has any ideas as to what could be the issue in Garuda+KDE?
I’m going to try to transfer this installation of Windows to an external SSD so I can reuse the internal SSD for tests with Garuda+xfce and other distros. I am beginning to get a bit frustrated.
Sorry for the poor quality of the image, there’s a 5 MP limit for uploads from Windows.
Of course, not the right driver to handle your system (nvidia-open-lts)
Of course, not the right kernel for your cpu and not the right driver (gpu).
xanmod-rd v2 is not for your cpu and then you need the nvidia-open driver.
i had posted the link for your nvidia gpu NV170 family (Ampere)
But perhaps garuda mokka and your system don’t like each other.
a option is to test with the lite version from the devs
or the default kde-lite from the homepage. (kde-lite from 250308)
The look and feel and software you install / made self..later, if all running as it should be.
(my mind)
I’m on kde-lite now. It does seem a bit faster, but the issue is still here.
I’m on a clean install, with nvidia installed like this:
I’ve also installed plasma-system-monitor to see what’s going on.
With 2 browser windows opened, each playing a different 4k video on youtube, I’m getting the same issue .
The RTX stays at about 25% utilization and the intel gpu goes to 100%.
The CPU also goes to 100%.
Even with 1 video, the CPU goes to about 50% utilization.
If I start brave with prime-run brave, I’m getting both GPUs at about 50% and the CPU also at about 40% with only 1 video playing.
I don’t know how to take screenshots now in kde lite. Winkey+shift+S doesn’t work like in Mokka.
This is with the display connected over HDMI. I noticed that on windows, without the nvidia drivers I don’t have hdmi output, so I’m guessing the HDMI is connected directly to the RTX.
I’ll see with the kernels that you mentioned.
[EDIT] It seems that in plasma-system-monitor the intel GPU goes to 100% and 5 seconds later the CPU goes to 100% while garuda rani is doing dkms install --no-depmod nvidia/575.64.03 -k 6.15.4-2-cachyos
If you install relevant software…special kernels..that’s “normal”
Believe me, if my system is compiling a kernel… then … it looks the same with cpu usage and a “little” longer.
I did a series of screenshots, perhaps they can tell the story better than I do.
External display is on top, laptop display is on bottom.
I didn’t include the smaller secondary laptop display, it’s empty.
This is all on cachyos kernel:
╰─λ uname -r
6.15.4-2-cachyos
External display on HDMI. Video playing on Laptop display, Fullscreen.
[EDIT]
I noticed that i’m again on the powersave governor, so I installed cpupower and se the governor to performance:
sudo cpupower frequency-set -g performance
Now it’s not that bad. The cpu stays at lower utilization while a video is playing. But still it’s at about 25%. I can play 2 videos at the same time with about 10% dropped frames.
I’ll try this on my Mokka installation see if pstate performance is better than disabling pstate from grub.