Watching Youtube & Telegram videos, fullscreen lags too much. It’s impossible to watch videos in that way. On Youtube, when i exit fullscreen the video, even in 4k, runs very smooth. But when i go fullscreen, even in 360p the video lags too much. Telegram i can watch video only if i use picture in picture mode. It’s not exactly smooth, but not as laggy as watching in the default layout of telegram. This is my first time using Qubes 4.3. Before i was using qubes 4.2.4 and i didn’t have this lag issue. I could watch video in fullscreen without lag. Don’t know if it’s related, but i think that it’s good to let you all know. I already searched here in the forum for some fixes, like increasing RAM, CPU Cores, Windows Manager Tweaks Compositor, etc. None of them worked. Any more ideas?
PC Config:
Ryzen 7 5800x
GTX 1060 6GB
128GB RAM (4x32) 3200MHz DDR4
B550M AORUS ELITE rev 1.3
SSD NVMe M2 Corsair MP600 PRO XT 4TB
Tested with debian-13-xfce qube and a kicksecure-17 (made distro morphing debian-12-minimal)
Yes, this is a well-known issue that stems from a lack of hardware acceleration in AppVMs.
There are two workadounds:
- Do GPU passthrough (first steps of https://neowutran.ovh/qubes/articles/gaming_linux_hvm.html) to a dedicated VM and watch videos only there
- Use
mpv --vo=x11 --profile=sw-fastfor watching videos, this does not lag for me in 1080p. Example:mpv --vo=x11 --profile=sw-fast "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
I am confused - the thread creator says that he wasn’t having the same problems with 4.2.4. Did Qubes 4.3 drop support for hardware acceleration in AppVMs?
Oh, I must have missed that part of the post, my bad. If anything, R4.3 should have improved things with better driver compatibility in dom0, though the difference shouldn’t be too noticeable.
Exactly. I’ve never experienced video lags while using Qubes 4.2.4. Watched so many videos in fullscreen 4k 60fps. Now, i can’t even watch 360p videos in fullscreen. Is just impossible to watch. And on telegram, everytime i open some image or video it just starts lagging so much. In the case of videos, i fixed it using picture in picture mode. That just doesn’t make sense. And i can’t do things like gpu passthrough, because i have only one gpu. My CPU doesn’t have integrated video card and i have only one graphic card (GTX 1060 6GB)
I’m not a experienced user, so i don’t know how can i help to keep my post more understandable to help. I don’t know which things i should test, which logs i can send, etc. So i would like some developer to help me here so i can send more information to help to understand my problem.
Try to use a different browser (Firefox/Chromium) and a different template (Fedora) for a test.
You can also try to use a Tor Browser for a test.
One more thing.
Check your Xorg configuration.
If you made clean install of 4.3, installer might chose wrong driver (I’ve had it with 4.2 and Intel Iris).
If you upgraded on site, check version of nvidia driver you use - there was regression in some nvidia drivers making them unusable in linux.
Do you have a Window Manager Tweaks → Compositor → “Display fullscreen overlay windows directly” enabled?
All my Qubes installation i just kept on the nouveau drivers. Never installed the nvidia drivers. So i’m still using the nouveau like always. Checked here now. And i don’t want to install proprietary drivers due to severe security & stability issues it causes to me.
Yes. But that’s not the problem. I already managed to change the settings on Window Manager Tweaks, like disabling display compositing, disabling display fullscreen overlay windows directly, etc, and none of them worked.
It’s good to let u all know that my overall performance is perfect. The only lag issue that i have experienced happens when i watching fullscreen videos. When it’s not on fullscreen, even in 4k it runs 60fps.
This is not the problem too, since i already tested with so many different templates and types of qubes. And since the lag happens on telegram desktop too, it’s not a browser thing.
Do you have lags if you watch a youtube video in the picture-in-picture mode with maximized window (not fullscreen)?
When I’ve had similar issues, it’s always been a problem with the drivers in dom0.
Have you verfied that both the kernel and xorg are using the nouveau driver?
The xorg logs should tell you if xorg is defaulting to a generic driver.
I’ve had to disable compositing when I had wrong driver (i915 on Iris). It made full screen run better but windows was working worse.
When installed proper driver it dont’t make playback full screen any better but still hindered windows operations.
So it’s not viable tweak IMO.
Search more.
Did you changed something in BIOS?
Are there some grub settings to do, like black list nvidia drivers?
These are the logs that you want? I’m not sure how can i see that.
xorg.log (3.1 KB)
Yes
I tried to disable compositing too. It made the performance a little bit better, but still very very bad.
Indeed.
I updated the BIOS. I was pending two updates, but the settings themselves stayed the same. The only changes in these two updates are fixes for TPM and SMM vulnerabilities.
As far as i know, no. I’ve always used qubes out of the box.
Then this issue is not about the fullscreen mode. Even video in 144p will cause a heavy CPU load in fullscreen , because it’ll need to copy the whole image with the display resolution from qube to dom0 using CPU.
How many displays do you have and what resolution do they have?