Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For example if I pause one of the videos and then drag the window at the same speed it was panning, I don't get the choppiness. so I don't think it's necessarily a display issue but a playback issue specifically.
I thought we established that already.
Quote:
Originally Posted by Red Squirrel
Not sure if playing video touches different parts of the hardware than just GUI actions
It does, or at least it's better if it does.
See my previous post, still a few questions to answer.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Original Poster
Rep:
Not sure which questions I missed, but yeah it does it with almost all videos. The 60fps video downloaded and played directly seemed to be better but in Youtube it was bad. But the other ones are bad regardless of being played in a player locally or not. Tried some movies too.
Not really sure if it's codec specific, not sure what codecs every video is running or how to check, there are tons of different ones.
Would getting a higher refresh rate display fix this issue? At this point I am willing to splurge on a higher end display if that's what it takes. Any videos that have panning or someone free handing a camera make me sick and I can't even watch them.
I guess worse case scenario I can just watch videos on my windows machine but I want to not need to rely on windows for anything.
Last edited by Red Squirrel; 01-23-2022 at 12:02 PM.
There are browser extensions for firefox like h264ify that will tell youtube that you don't support VP8/VP9 so they feed you h264, which likely your video card can decode in hardware.
There are browser extensions for firefox like h264ify that will tell youtube that you don't support VP8/VP9 so they feed you h264, which likely your video card can decode in hardware.
Well, that gave me a new direction to look into. I was wondering if the graphic card can support VP9 hardware decoding. I looked up the graphic card's specs (https://www.amd.com/en/products/graphics/radeon-rx-580) and I find these 'Unified Video Decoder (UVD)' and 'Video Code Engine (VCE)' in the Features sections. Wikipedia had their information in details.
In the first link, I see that the RX 580 graphic card is 'UVD 6.3' and in the second link, that fall in the 'No' section of the 'VP9 decoding' column for the 'UVD 6.3' row. Red Squirrel, if you convert a "problematic" VP9-encoded video to H.264 codec or playback only H.264 videos on youtube in your browser as suggested by enigma9o7, does your problem go away? If yes, then we may have found the source of the problem.
Not really sure if it's codec specific, not sure what codecs every video is running or how to check, there are tons of different ones.
At this point in the thread, this answer really isn't sufficient.
Depending on your media player, it's just a hotkey ('i' on mpv) or somewhere in the menu (sth like "media info" I guess).
Otherwise you could use something like mediainfo, a separate gui/tui app.
And yes, I think we should concentrate on local files & media players for now. The browser brings in additional complexity that should be solved later, IMO.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Original Poster
Rep:
Ok so I tried to convert a video with that ffmpeg command but it did not seem to change anything, the resulting file still has lot of jitter. Playing it with VLC.
I also tried that h264ify extension and it does not seem to do a difference. Is there a way to confirm it's active/working when watching a video? But yeah for now maybe need to focus on getting media player playback to look normal first.
I'm not too familiar with any Linux games, any games I could also test with? This would rule out the issue being specific to playback.
Last edited by Red Squirrel; 01-25-2022 at 08:13 PM.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Original Poster
Rep:
I'm not sure what part I might be missing. Anything else to try that I missed? Reread through the thread but think I tried everything suggested so far.
glxgears is the closet thing you can to testing the 3D side of the graphic cards without installing a game. Can you try #30 and post the result?
Quote:
Reread through the thread but think I tried everything suggested so far.
It's what ondoho was trying to tell you, we can't do much until we hear of the results of your efforts. In details, lol. You're our proxy eyes to your problem.
Thanks for posting the results. Yeah, your glxgears is working just fine. Your screenshot is very close to mine (see attached). I pulled down the 137 and 140 in the https://www.youtube.com/watch?v=fVrcbBz0d4Q youtube link to get the h264/mp4 format. Not sure why yours is saying 'vaapi', though.
I googled vaapi. Is your monitor plugged into your motherboard's display port? It should be plugged into your graphic card's port instead.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Original Poster
Rep:
Yeah the monitors are plugged into the GPU's HDMI ports. I purposely chose that GPU as I wanted to avoid using DP to HDMI adapters if I can just to rule out any issues. That and DP cables don't seem to come in 25 foot lenghts and HDMI do. The PCs are in the basement and the cables come to the KVM. Makes everything cleaner at my desk as I don't have room for two machines. The KVM supports 4k at 60hz.
Wait, you have a KVM in between the monitor and the computer? That will have an effect, too. Try without KVM just to verify if this KVM is potentially the cause of your problem.
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336
Original Poster
Rep:
Hmm that's worth a shot at least to rule it out. Hopefully it's not that.
I have too much stuff going on right now to mess with that (unplugging monitors tends to cause lot of chaos with the window positions) but when I get a chance I will try it. I can use a HDMI coupler to just connect the two cables together to bypass it.
The KVM I have is one of few that is actually very good as it emulates everything, so there's no delay between switching (at least for keyboard/mouse) and no monitor disconnect/reconnect either, so it means the OS does not go haywire. I actually bought one for my 2nd monitor too just so that when I turn it off the OS does not know. When I work from home I also switch it to my work machine so I have the 2 4ks for work.
But yeah I will try to bypass it just to see if it makes a difference and report back.
If it does turn out to be that, I suppose I can just setup one of my separate monitors with a RPI or something and dedicate that towards watching videos.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.