Just got Linux for the first time a week ago so please bear with me.
I'm on Ubuntu 22.04 with a Radeon RX 7600.
I've had a few issues since installing Linux including: getting a black screen when I boot, the night light not working, and my 2nd monitor not getting picked up. This caused me to assume I had some issues with my GPU drivers, so I ran a few different checks and couldn't find anything listed for them.
I tried running
sudo apt installwhich gives me an error saying the distribution for the GPU driver was not signed.I ran
sudo apt-get update --allow-insecure-repositoriesand everything was installed smoothly.Then I rebooted and ran
amdgpu installwhich told me it installed the driver.Next I rebooted and ran
inxi -Gwhich showed me:Driver: N/ASo I tried running
sudo apt installto do some more digging into the error but I'm not getting the unsigned error anymore and am instead getting an error of:Errors were encountered while processing: amdgpu-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help would be appreciated!