No matter what I try to do I always have hitching when watching videos on linux. Nothing works.
No matter what I try to do I always have hitching when watching videos on linux. Nothing works
Other urls found in this thread:
youtube.com
devtalk.nvidia.com
devtalk.nvidia.com
wiki.archlinux.org
twitter.com
what is hitching
>GNUshit
Found your problem.
That's where you attach a trailer to the back of your truck.
Install Gentoo.
What DE and GPU are you using?
KDE and II have both an intel integrated GPU and dedicated nVidia GPU. Neither work correctly.
It's currently imposible to have tear free optimus support due to shitty nvidia drivers.
So if you want to get tear free videos you must use the intel GPU
go into the nvidia control panel and select the intel gpu, exit and log in again, go to kde system settings, screen, compositor, tearing prevention and set it to automatic.
Get me your "inxi -b"
Do you have TLP installed?
Stop using broken hobbyist OSes
I was already using the intel GPU but with the full screen repaint option. Having messed around plenty with these options I don't think this is going to solve the problem. I always either have tearing or hitching.
>hitching
what is it exactly?
Micro-lag basically. A frame will stay on for longer than required.
I'm not sure what TLP is, I don't think so.
Try using the automatic vsync setting, full screen repaint is expensive and might tax the igpu too much.
then edit the intel conf file
sudo nano /etc/X11/xorg.conf.d/20-intel.conf
and put
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection
sorry messed the path it's /usr/share/X11/xorg.conf.d/20-intel.conf
OK
Just a heads up linux mint is running an extraordinarily old and (of course with age) buggy version of KDE.
Mint may have been a not so nice choice with KDE.
It might be worth just trying Kubuntu 18.04 as they're running version 5.12 last I saw.
You might be able to get dirty and switch your repos over to ubuntu and grab all the latest ubuntu base software but this might be going way too far (converting your entire distro).
Optimus is also just a general bitch to work with, due to the fact that it's a proprietary graphics stack melted into a free and open stack with bent woodscrews holding it down.
So we have some places to look. Do you have the nvidia binary optimus drivers installed?
Done. I started the usual video I test for tearing and it's there again. The full screen repaints were preventing tearing.
I will try kubuntu. I switched from cinnamon because I heard KDE could help with my problems.
It's a very old version which tends to breed problems.
Hell gnome-disks would lock my KDE shell whenever I imaged a disk and kept it locked until I killed plasmashell and restarted it. An update to KDE 5.13 fixed it perfectly. Generally the higher a version you run the less grief you will have.
Plus you get Vaults in 5.12.
youtube.com
Kubuntu 18+ has pretty much got it down pat.
I'm using KDE Neon on a pitiful 1007u (using the iGPU) and it's working wonders, the .config file and standard tearing prevention just werks for me.
Also look into installing and using optimus with ubuntu. That way you can leverage your nvidia dGPU.
Ubuntu also has something called PRIME, so when you want you can just hit a button, log out, log in, and you're using either the iGPU or the dGPU primarily to make it easy.
Thanks guys. The Linux community is always helpful and friendly.
Nvidia proprietary drivers, right?
I tried every driver I could and it didn't help.
I lol'd
You're using nvidia optimus it requires some special setup to work properly so that you get an actual GPU when you need it and power saving when you don't.
This is not true, there's experimental support with latest nvidia drivers
as long as X server is updated past a certain point, you can enable vsync with the nvidia gpu
I'm on mobile but find the Nvidia forum post about it
ForceCompositionPipeline
devtalk.nvidia.com
Update Xorg to >= 1.19
Make sure nvidia-settings is installed.
After that, add the line "options nvidia_[YOUR VERSION NUMBER, EG "384"]_drm modeset=1" to /etc/modprobe.d
After a reboot, this is what fixed it for me. I dealt with it for about a year until Mint updated to Sylvia and they included Xorg 1.19
I might be wrong because I forget exactly all that I did but I remember this thread was the key to fixing it, as was updating Xorg.
Whoops, link is devtalk.nvidia.com
Mint + Cinnamon with no problems @ 4k
I did sudo apt-get install xorg and it says I'm at the latest version but I don't have 1.19
>there's experimental support with latest drivers
>smooth video is "experimental"
The linux desktop, ladies and gentlemen
Feels good using Windows 7 and not having to fiddle around just to watch a video
apt update
apt install xserver-xorg-hwe-16.04 xserver-xorg-legacy-hwe-16.04 xserver-xorg-video-all-hwe-16.04
apt install -f
Try this
It still says I have 1.18.4
>mfw this worked but I had to keep re-enabling it on nvidia-settings
I may have broke something while following instructions ITT
Did you reboot?
If you did and it didn't work, for shits and giggles try this
sudo add-apt-repository ppa:canonical-x/x-staging
sudo apt-get update
Then run, again:
apt update
apt install xserver-xorg-hwe-16.04 xserver-xorg-legacy-hwe-16.04 xserver-xorg-video-all-hwe-16.04
apt install -f
reboot
You are part of the problem.
Install Gentoo.
>Did you reboot?
Alright that did it. Sorry for being slow. Now I need to watch a movie to see if there's a difference.
Also I don't have tearing when setting vsync to automatic so it's a good start. I can't tell if everything is fixed for sure though.
So until xorg went to 1.19 there was no way of watching smooth video on linux?
Good! I remember trying to fucking fix the tearing issue for so long. The intel IGPU was not good at handling a 4k panel. Felt like a miracle when it finally worked.
But, not really, it was only an issue that came about with laptops that had both an nvidia gpu and an integrated intel gpu (Optimus). Forcing composition pipeline works with desktops that only have one GPU for everything. That first post in that Nvidia forums thread I linked explains why there was such awful tearing. Something about the intel GPU being what pushes the frames to the screen and the Nvidia GPU just sends what it does to the Intel GPU. I forget honestly, but, yeah Optimus setups were busted until Nvidia fixed it. Most Distros aren't throwing the latest Xorg in there for stability or whatever. It was the biggest pain in the ass.
I see. Thanks for the help, I had been experiencing this issue for a whole year and created these types of threads multiple times without finding a solution. Hopefully the problem is gone for good now.
If it ever comes back, you may need to change the line in /etc/modprobe.d
It happened to me when I updated Nvidia drivers. You'll just have to change the version number
If you didn't add the line and it just werks that's even better.
Enjoy John Wick user, goodnight
good night user
U faggot should meet and fuck
You are the problem.
just use windows lol
at least it works
you did not believe linux can into graphics, did you?
you could manually set it in xorg
wiki.archlinux.org
I put mine in my xorg.conf file
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "True"
Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Install GNU
Wayland doesn't have this problem.