I chose to use opensuse tw kde based on some vm tests. The installation was easy but for some reason the video playback on youtube is terrible. It stutters. First thing I did after install was to use opi to install codecs. Then I used Yast to get the Nvidia repo. Lastly, I used the software manager to install the video g06 driver.
To be honest I am happy using Windows 10 but I wanted to try Linux again because of the privacy and security, but there always seems to be something whenever I try to use linux. Should I keep using Windows or try a different distro?
My specs:
1080ti, ryzen 2600, msi b450 tomahawk.
Update: It was the secure boot setting. Nvidia drivers don’t work with it on I guess. Thanks for all the other information though, more to look into.
Is your os installed in a vm? No gpu acceleration?
That would be the most important question.
(I usually don’t advertise for using Linux in a VM on Windows. There are use-cases for that. But it combines the downsides of Windows with the limitations of your VM software and issues on Linux (for example the proprietary NVidia drivers and whatever they do to pass through parts of the hardware, or weird stuff VirtualBox does). And it can make it slow(er) to unusable in some cases. None of that has anything to do with Linux, but people try it that way and blame issues on Linux, when it’s really the VM software’s fault. (Or you ticked the wrong config checkbox.)
A better way to do it would be trying a live image on an USB stick, testing performance and then looking for performance issues within your whole virtualization stack if you absolutely have to use Linux within a VM. This is certainly possible. I usually dual-boot. Or do it the other way around, Windows inside a VM on a Linux host. But I don’t really use Windows, so I’m not a good example.)
For OP and other people with this issue, make sure you set media.ffmpeg.vaapi.enabled
to true in about:config
in firefox. Unless you do that, hardware video acceleration often wont be used.
I’ve always been curious why this isn’t enabled by default on Firefox on Linux, do you know why that’s the case?
It brakes some things. I tried to enable it on my main desktop, but some site were not working properly, I don’t remember exactly what was the problem, but for me, with a decent desktop CPU, everything was better without it. On my low end laptop it helped a lot with intel graphics. It depends on your hardware, and they bet on the safe side.
I don’t think that’s gonna work because this is a thing that he needs
This may be a stupid question but is your video cable plugged into the gpu or into the motherboard?
My brother and a friend built his computer and couldn’t figure this out. He called me a couple days later to vent some frustration and I said exactly the same thing.
“I know this is a stupid question, but is your Dport plugged into the mobo or the dedicated graphics card?”
“…”
🤦♂️
If this is a VM, video playback stutters do not surprise me one bit. There’s many layers between the video and the image you see on screen here and they’re not optimised for viewing fidelity. This is likely not due to Linux but because you’re running this inside a with an emulated GPU. GUIs in VMs usually suck.
Optional codecs won’t help for Youtube since they serve royalty-free codecs such as VP9 or AV1 most of the time rather than patent-encoumbered codecs such as H.264 and free codecs are always installed.
That would also not fix stutters, only videos not playing back at all (because there’d be no decoder that could).
If this is a VM, installing the Nvidia driver also won’t do anything because the machine has no access to your host’s GPU. Not that the nvidia driver would change anything about videos since no sane browser supports their proprietary crap driver, so it’s software decoding either way.
You should try this on real hardware. You technically don’t even need to install as most GUI distros have a graphical installer with Firefox etc. pre-installed that you can use to test this.
If you have an Nvidia GPU, I’d recommend you to try !pop_os@lemmy.world.