Do I need to install Nvidia drivers? If so, how and where do I install them?

Hi, I am completely new to Qubes OS, so please forgive me if this is a stupid question.

I just installed Qubes OS and it seems to be working on my system so far. I haven’t yet learned how to do much on the system, as I don’t see much point until I know for sure it will work. I have an Nvidia graphics card, which from what I understand may not be compatible.

The graphics card I have is a GeForce GTX 1070. I’m using a 40" 4k TV as a monitor, so the screen resolution is 3840x2160 which causes the text to be small and hard to read - I can still read it, it’s just not ideal.

I have Qubes OS version 4.1.2, so I’m not sure if I need to install the drivers if it has built in support for the graphics card (does it?).

I tried to change the screen resolution but that causes the whole screen to flicker, which makes me think I still need to find a way to install the Nvidia drivers. So the question is how.

I found different instructions for installing the Nvidia drivers using RPMFusion, but I am not sure where or how I’m supposed to do that.

I’ve been assuming I need to do that through the Dom0 terminal so I can change the screen resolution, but when I tried typing in the command:

sudo dnf install \
  https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

I get a bunch of errors saying that the URL is in a bad/illegal format or missing URL.

I don’t know what I’m doing wrong or how to get this setup correctly. Information I’ve found is usually several years old and I am not sure if it still applies or to my particular setup.

This system has a big learning curve. I’m going to need more specific instructions for what I need to do and where to run the commands.

I would love to be able to get this OS to work on my system and use it every day, so any guidance is greatly appreciated. Thanks in advance.

Hi.

Does your CPU have integrated iGPU ? or the gtx is for dom0 ?
It is a Laptop or Desktop ? The TV is the primary or a secondary screen ?

It is a scale issue ? (some related links).
https://forum.qubes-os.org/t/global-scaling-for-tiling-window-manager/15357/3
https://forum.qubes-os.org/t/4k-font-size-dom0-vs-vm/3767/10

Assuming you do not have flickering issue with the default resolution (and no other issue),
you do not need to install Nvidia driver.

Does the scaling solution works ?

If dom0 use the nvidia gtx and not an integrated iGpu, nvidia driver may be needed.
But for a gtx 1070, the nouveau driver should work well enought. (to confirm on 4k display).