Recently I have tried to display my screen to my TV via HDMI, however neither the TV or my computer have seemed to have any response to the HDMI connection (TV didn’t detect any input and nothing have changed on my laptop).
At first I was concerned that it may be some kind of hardware issue, so I booted up windows on the same laptop, and HDMI on windows seemed to work perfectly fine with no issues whatsoever.
I have tried to follow this tutorial, however encountered an issue at
sudo cp -p /usr/share/X11/xorg.conf.d/nvidia.conf /etc/X11/xorg.conf.d/nvidia.conf
with the output being
cp: cannot stat '/usr/share/X11/xorg.conf.d/nvidia.conf': No such file or directory
I have gotten the same output trying to change the ‘usr’ (I thought it would so something).
I also do not have the same settings as in this tutorial, since I appear to be missing display modes.
What I think may possibly be related to the issue is the fact that for some reason, no matter how much I click the ‘Restart & Update’ button in the software store, the apps, which are NVIDIA Drivers Graphics Control Panel and System Updates, they do not seem to update.
I have also gotten errors while trying to run sudo dnf update
Package Arch Version Reposito Size
Skipping packages with conflicts:
kmod-nvidia-latest-dkms x86_64 3:580.105.08-1.fc42 cuda-fed 117.7 MiB
kmod-nvidia-latest-dkms x86_64 3:580.126.09-1.fc42 cuda-fed 117.8 MiB
kmod-nvidia-latest-dkms x86_64 3:580.126.16-1.fc42 cuda-fed 117.8 MiB
kmod-nvidia-latest-dkms x86_64 3:580.126.20-1.fc42 cuda-fed 117.8 MiB
kmod-nvidia-latest-dkms x86_64 3:580.159.03-1.fc42 cuda-fed 117.9 MiB
kmod-nvidia-latest-dkms x86_64 3:580.159.04-1.fc42 cuda-fed 117.9 MiB
kmod-nvidia-latest-dkms x86_64 3:580.167.08-1.fc42 cuda-fed 117.9 MiB
kmod-nvidia-latest-dkms x86_64 3:580.173.02-1.fc42 cuda-fed 117.9 MiB
kmod-nvidia-latest-dkms x86_64 3:580.65.06-1.fc42 cuda-fed 117.5 MiB
kmod-nvidia-latest-dkms x86_64 3:580.82.07-1.fc42 cuda-fed 117.6 MiB
kmod-nvidia-latest-dkms x86_64 3:580.95.05-1.fc42 cuda-fed 117.7 MiB
kmod-nvidia-latest-dkms x86_64 3:590.44.01-1.fc42 cuda-fed 111.3 MiB
nvidia-libXNVCtrl x86_64 3:580.178.04-1.fc42 cuda-fed 44.1 KiB
nvidia-persistenced x86_64 3:580.105.08-1.fc42 cuda-fed 58.1 KiB
nvidia-persistenced x86_64 3:580.126.09-1.fc42 cuda-fed 58.1 KiB
nvidia-persistenced x86_64 3:580.126.16-1.fc42 cuda-fed 58.1 KiB
nvidia-persistenced x86_64 3:580.126.20-1.fc42 cuda-fed 58.1 KiB
nvidia-persistenced x86_64 3:580.159.03-1.fc42 cuda-fed 58.1 KiB
nvidia-persistenced x86_64 3:580.159.04-1.fc42 cuda-fed 58.1 KiB
nvidia-persistenced x86_64 3:580.167.08-1.fc42 cuda-fed 58.0 KiB
nvidia-persistenced x86_64 3:580.173.02-1.fc42 cuda-fed 58.0 KiB
nvidia-persistenced x86_64 3:580.178.04-1.fc42 cuda-fed 58.0 KiB
nvidia-persistenced x86_64 3:580.65.06-1.fc42 cuda-fed 58.0 KiB
nvidia-persistenced x86_64 3:580.82.07-1.fc42 cuda-fed 58.0 KiB
nvidia-persistenced x86_64 3:580.95.05-1.fc42 cuda-fed 58.1 KiB
nvidia-persistenced x86_64 3:590.44.01-1.fc42 cuda-fed 58.1 KiB
xorg-x11-drv-nvidia-cuda-libs x86_64 3:595.58.03-1.fc44 rpmfusio 430.7 MiB
nvidia-modprobe x86_64 3:610.57.04-1.fc44 rpmfusio 50.7 KiB
nvidia-persistenced x86_64 3:610.57.04-1.fc44 rpmfusio 54.2 KiB
nvidia-settings x86_64 3:610.57.04-1.fc44 rpmfusio 4.4 MiB
xorg-x11-drv-nvidia-cuda x86_64 3:610.57.04-1.fc44 rpmfusio 7.4 MiB
xorg-x11-drv-nvidia-cuda-libs x86_64 3:610.57.04-1.fc44 rpmfusio 481.1 MiB
Skipping packages with broken dependencies:
cuda-drivers x86_64 3:580.105.08-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.126.09-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.126.16-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.126.20-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.159.03-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.159.04-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.167.08-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.173.02-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.178.04-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.65.06-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.82.07-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:580.95.05-1.fc42 cuda-fed 0.0 B
cuda-drivers x86_64 3:590.44.01-1.fc42 cuda-fed 0.0 B
nvidia-driver-cuda x86_64 3:580.105.08-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.126.09-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.126.16-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.126.20-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.159.03-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.159.04-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.167.08-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.173.02-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.178.04-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.65.06-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.82.07-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:580.95.05-1.fc42 cuda-fed 1.4 MiB
nvidia-driver-cuda x86_64 3:590.44.01-1.fc42 cuda-fed 1.5 MiB
xorg-x11-drv-nvidia-cuda x86_64 3:595.58.03-1.fc44 rpmfusio 6.4 MiB
xorg-x11-drv-nvidia-cuda x86_64 3:610.57.04-1.fc44 rpmfusio 7.4 MiB
Please keep in mind I am a noob and I am not sure whether the issues are connected.
For reference, my laptop model is Lenovo ThinkPad P16 Gen 2.
Any help is appreciated.
Solved!
Removing the old nvidia drivers and reinstalling them following this tutorial helped (as well as following the steps from the solution)! The HDMI displays fine now, thank you to everyone who has helped.