The officially official Devuan Forum!

You are not logged in.

#1 2023-12-17 22:45:43

okkvltisch
Member
Registered: 2023-07-22
Posts: 7  

Firmware update for AMD GPU's doesn't load on startup

Hello,

Based on previous issues I've had, I'm going to assume this is another one where it's the waiting game. But I only post this here in hopes that someone has possibly found a solution, even if temporary or some kind of workaround.

I recently upgraded my GPU to a 7900XTX (because why not) from ASRock and I wanted to ensure I had full support when it came to fully utilizing the card. So, naturally to ensure this I moved from Devuan Daedalus (stable at the time) to Excalibur/Ceres. Outside of a few other issues which I've worked around successfully and moved on from, things have been great. I have full support for everything on my new card and games run fantastic.

However, on December 15th I updated my system to include the following packages: (apologies if the paste doesn't work out)

okkvltisch@supreme-overlord:~$ sudo apt update
[sudo] password for okkvltisch: 
Hit:1 [url]http://deb.devuan.org/merged[/url] excalibur InRelease                                                    
Hit:2 [url]https://brave-browser-apt-release.s3.brave.com[/url] stable InRelease                                     
Hit:3 [url]https://repo.nordvpn.com//deb/nordvpn/debian[/url] stable InRelease                                       
Hit:4 [url]https://repo.steampowered.com/steam[/url] stable InRelease                                                
Hit:5 [url]https://download.vscodium.com/debs[/url] vscodium InRelease         
Hit:6 [url]https://download.docker.com/linux/debian[/url] bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
189 packages can be upgraded. Run 'apt list --upgradable' to see them.
okkvltisch@supreme-overlord:~$ apt list --upgradable 
Listing... Done
accountsservice/testing 23.13.9-5 amd64 [upgradable from: 23.13.9-4]
binutils-common/testing 2.41.50.20231214-1 amd64 [upgradable from: 2.41.50.20231202-1]
binutils-x86-64-linux-gnu/testing 2.41.50.20231214-1 amd64 [upgradable from: 2.41.50.20231202-1]
binutils/testing 2.41.50.20231214-1 amd64 [upgradable from: 2.41.50.20231202-1]
bootlogd/testing 3.08-5devuan1 amd64 [upgradable from: 3.08-3devuan1]
brave-browser/stable 1.61.104 amd64 [upgradable from: 1.61.101]
bsdextrautils/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
bsdutils/testing 1:2.39.3-2devuan1 amd64 [upgradable from: 1:2.39.2-6devuan1]
codium/unknown 1.85.1.23348 amd64 [upgradable from: 1.84.2.23319]
containerd.io/bookworm 1.6.26-1 amd64 [upgradable from: 1.6.25-1]
cpp-12/testing 12.3.0-13 amd64 [upgradable from: 12.3.0-12]
cracklib-runtime/testing 2.9.6-5.1 amd64 [upgradable from: 2.9.6-5+b1]
eject/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
fdisk/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
ffmpeg/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
filezilla-common/testing,testing 3.66.1-4 all [upgradable from: 3.66.1-2]
filezilla/testing 3.66.1-4 amd64 [upgradable from: 3.66.1-2]
firmware-amd-graphics/testing,testing 20230625-1 all [upgradable from: 20230515-3]
firmware-iwlwifi/testing,testing 20230625-1 all [upgradable from: 20230515-3]
firmware-linux-nonfree/testing,testing 20230625-1 all [upgradable from: 20230515-3]
firmware-linux/testing,testing 20230625-1 all [upgradable from: 20230515-3]
firmware-misc-nonfree/testing,testing 20230625-1 all [upgradable from: 20230515-3]
firmware-realtek/testing,testing 20230625-1 all [upgradable from: 20230515-3]
gcc-12-base/testing 12.3.0-13 amd64 [upgradable from: 12.3.0-12]
gcc-12-multilib/testing 12.3.0-13 amd64 [upgradable from: 12.3.0-12]
gcc-12/testing 12.3.0-13 amd64 [upgradable from: 12.3.0-12]
gir1.2-gst-plugins-bad-1.0/testing 1.22.7-1 amd64 [upgradable from: 1.22.4-1]
gir1.2-gst-plugins-base-1.0/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1]
gir1.2-javascriptcoregtk-4.0/testing 2.42.3-1 amd64 [upgradable from: 2.42.2-1]
gir1.2-javascriptcoregtk-4.1/testing 2.42.3-1 amd64 [upgradable from: 2.42.2-1]
gir1.2-libosinfo-1.0/testing 1.11.0-2 amd64 [upgradable from: 1.11.0-1]
gir1.2-webkit2-4.0/testing 2.42.3-1 amd64 [upgradable from: 2.42.2-1]
gir1.2-webkit2-4.1/testing 2.42.3-1 amd64 [upgradable from: 2.42.2-1]
git-man/testing,testing 1:2.43.0-1 all [upgradable from: 1:2.42.0-1]
git/testing 1:2.43.0-1 amd64 [upgradable from: 1:2.42.0-1]
gnustep-common/testing 2.9.1-3 amd64 [upgradable from: 2.9.1-2]
gstreamer1.0-gl/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1]
gstreamer1.0-plugins-bad/testing 1.22.7-1 amd64 [upgradable from: 1.22.4-1]
gstreamer1.0-plugins-base/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1]
gstreamer1.0-plugins-base/testing 1.22.7-1 i386 [upgradable from: 1.22.6-1]
gstreamer1.0-plugins-good/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1+b1]
gstreamer1.0-plugins-ugly/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1]
gstreamer1.0-pulseaudio/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1+b1]
gstreamer1.0-x/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1]
initscripts/testing,testing 3.08-5devuan1 all [upgradable from: 3.08-3devuan1]
intel-media-va-driver/testing 23.4.2+dfsg1-1 amd64 [upgradable from: 23.3.5+dfsg1-1]
intel-media-va-driver/testing 23.4.2+dfsg1-1 i386 [upgradable from: 23.3.5+dfsg1-1]
iptables/testing 1.8.10-1 amd64 [upgradable from: 1.8.9-2]
kio-extras-data/testing,testing 4:23.08.4-1 all [upgradable from: 4:22.12.3-1]
kio-extras/testing 4:23.08.4-1 amd64 [upgradable from: 4:22.12.3-1]
kup-backup/testing 0.9.1-1+b4 amd64 [upgradable from: 0.9.1-1+b3]
lib32gcc-12-dev/testing 12.3.0-13 amd64 [upgradable from: 12.3.0-12]
libaccountsservice0/testing 23.13.9-5 amd64 [upgradable from: 23.13.9-4]
libadwaita-1-0/testing 1.4.2-1 amd64 [upgradable from: 1.4.0-2]
libasound2-data/testing,testing 1.2.10-2 all [upgradable from: 1.2.10-1]
libasound2-dev/testing 1.2.10-2 amd64 [upgradable from: 1.2.10-1]
libasound2/testing 1.2.10-2 amd64 [upgradable from: 1.2.10-1]
libasound2/testing 1.2.10-2 i386 [upgradable from: 1.2.10-1]
libatopology2/testing 1.2.10-2 amd64 [upgradable from: 1.2.10-1]
libaudit-common/testing,testing 1:3.1.2-1 all [upgradable from: 1:3.1.1-1]
libaudit1/testing 1:3.1.2-1 amd64 [upgradable from: 1:3.1.1-1+b1]
libavcodec-dev/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavcodec60/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavdevice-dev/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavdevice60/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavfilter-dev/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavfilter9/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavformat-dev/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavformat60/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavif16/testing 1.0.2-1 amd64 [upgradable from: 1.0.1-2+b1]
libavif16/testing 1.0.2-1 i386 [upgradable from: 1.0.1-2+b1]
libavutil-dev/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libavutil58/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libayatana-indicator3-7/testing 0.9.3-1.1 amd64 [upgradable from: 0.9.3-1]
libbinutils/testing 2.41.50.20231214-1 amd64 [upgradable from: 2.41.50.20231202-1]
libblkid-dev/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
libblkid1/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
libblkid1/testing 2.39.3-2devuan1 i386 [upgradable from: 2.39.2-6devuan1]
libcrack2/testing 2.9.6-5.1 amd64 [upgradable from: 2.9.6-5+b1]
libctf-nobfd0/testing 2.41.50.20231214-1 amd64 [upgradable from: 2.41.50.20231202-1]
libctf0/testing 2.41.50.20231214-1 amd64 [upgradable from: 2.41.50.20231202-1]
libdecor-0-0/testing 0.2.1-1 amd64 [upgradable from: 0.2.0-1]
libdecor-0-0/testing 0.2.1-1 i386 [upgradable from: 0.2.0-1]
libdecor-0-dev/testing 0.2.1-1 amd64 [upgradable from: 0.2.0-1]
libdecor-0-plugin-1-cairo/testing 0.2.1-1 amd64 [upgradable from: 0.2.0-1]
libdecor-0-plugin-1-cairo/testing 0.2.1-1 i386 [upgradable from: 0.2.0-1]
libfdisk1/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
libflatpak0/testing 1.14.5-1 amd64 [upgradable from: 1.14.4-2]
libgcc-12-dev/testing 12.3.0-13 amd64 [upgradable from: 12.3.0-12]
libglib2.0-0/testing 2.78.3-1 amd64 [upgradable from: 2.78.1-4]
libglib2.0-0/testing 2.78.3-1 i386 [upgradable from: 2.78.1-4]
libglib2.0-bin/testing 2.78.3-1 amd64 [upgradable from: 2.78.1-4]
libglib2.0-data/testing,testing 2.78.3-1 all [upgradable from: 2.78.1-4]
libglib2.0-dev-bin/testing 2.78.3-1 amd64 [upgradable from: 2.78.1-4]
libglib2.0-dev/testing 2.78.3-1 amd64 [upgradable from: 2.78.1-4]
libgprofng0/testing 2.41.50.20231214-1 amd64 [upgradable from: 2.41.50.20231202-1]
libgssglue1/testing 0.8-2 amd64 [upgradable from: 0.7-2]
libgstreamer-gl1.0-0/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1]
libgstreamer-plugins-bad1.0-0/testing 1.22.7-1 amd64 [upgradable from: 1.22.4-1]
libgstreamer-plugins-base1.0-0/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1]
libgstreamer-plugins-base1.0-0/testing 1.22.7-1 i386 [upgradable from: 1.22.6-1]
libgstreamer-plugins-base1.0-dev/testing 1.22.7-1 amd64 [upgradable from: 1.22.6-1]
libgtk-4-1/testing 4.12.4+ds-3 amd64 [upgradable from: 4.12.3+ds-3]
libgtk-4-bin/testing 4.12.4+ds-3 amd64 [upgradable from: 4.12.3+ds-3]
libgtk-4-common/testing,testing 4.12.4+ds-3 all [upgradable from: 4.12.3+ds-3]
libgtk-4-media-gstreamer/testing 4.12.4+ds-3 amd64 [upgradable from: 4.12.3+ds-3]
libigdgmm12/testing 22.3.14+ds1-1 amd64 [upgradable from: 22.3.12+ds1-1]
libigdgmm12/testing 22.3.14+ds1-1 i386 [upgradable from: 22.3.12+ds1-1]
libip4tc2/testing 1.8.10-1 amd64 [upgradable from: 1.8.9-2]
libip6tc2/testing 1.8.10-1 amd64 [upgradable from: 1.8.9-2]
libiw30/testing 30~pre9-16 amd64 [upgradable from: 30~pre9-14]
libjavascriptcoregtk-4.0-18/testing 2.42.3-1 amd64 [upgradable from: 2.42.2-1]
libjavascriptcoregtk-4.1-0/testing 2.42.3-1 amd64 [upgradable from: 2.42.2-1]
libkolabxml1v5/testing 1.2.1-5 amd64 [upgradable from: 1.2.1-4+b3]
libkpmcore12/testing 23.08.3-1 amd64 [upgradable from: 22.12.3-1]
libksba8/testing 1.6.5-2 amd64 [upgradable from: 1.6.4-2]
libldb2/testing 2:2.8.0+samba4.19.3+dfsg-2 amd64 [upgradable from: 2:2.8.0+samba4.19.3+dfsg-1]
libmount-dev/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
libmount1/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
libmount1/testing 2.39.3-2devuan1 i386 [upgradable from: 2.39.2-6devuan1]
libncurses-dev/testing 6.4+20231209-1 amd64 [upgradable from: 6.4+20231121-1]
libncurses6/testing 6.4+20231209-1 amd64 [upgradable from: 6.4+20231121-1]
libncursesw6/testing 6.4+20231209-1 amd64 [upgradable from: 6.4+20231121-1]
libosinfo-1.0-0/testing 1.11.0-2 amd64 [upgradable from: 1.11.0-1]
libosinfo-l10n/testing,testing 1.11.0-2 all [upgradable from: 1.11.0-1]
libostree-1-1/testing 2023.8-1 amd64 [upgradable from: 2023.7-3]
libpostproc-dev/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libpostproc57/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libpython3.11-dev/testing 3.11.7-2 amd64 [upgradable from: 3.11.6-3]
libpython3.11-minimal/testing 3.11.7-2 amd64 [upgradable from: 3.11.6-3]
libpython3.11-stdlib/testing 3.11.7-2 amd64 [upgradable from: 3.11.6-3]
libpython3.11/testing 3.11.7-2 amd64 [upgradable from: 3.11.6-3]
libqaccessibilityclient-qt5-0/testing 0.6.0-1 amd64 [upgradable from: 0.5.0-1]
libqpdf29/testing 11.6.4-1 amd64 [upgradable from: 11.6.3-1]
libsdl2-image-2.0-0/testing 2.8.0+dfsg-1 amd64 [upgradable from: 2.6.3+dfsg-2]
libsframe1/testing 2.41.50.20231214-1 amd64 [upgradable from: 2.41.50.20231202-1]
libsmartcols1/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
libsmbclient/testing 2:4.19.3+dfsg-2 amd64 [upgradable from: 2:4.19.3+dfsg-1]
libswresample-dev/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libswresample4/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libswscale-dev/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libswscale7/testing 7:6.1-5 amd64 [upgradable from: 7:6.1-3]
libtiff-dev/testing 4.5.1+git230720-3 amd64 [upgradable from: 4.5.1+git230720-1]
libtiff5-dev/testing 4.5.1+git230720-3 amd64 [upgradable from: 4.5.1+git230720-1]
libtiff6/testing 4.5.1+git230720-3 amd64 [upgradable from: 4.5.1+git230720-1]
libtiff6/testing 4.5.1+git230720-3 i386 [upgradable from: 4.5.1+git230720-1]
libtiffxx6/testing 4.5.1+git230720-3 amd64 [upgradable from: 4.5.1+git230720-1]
libtinfo6/testing 6.4+20231209-1 amd64 [upgradable from: 6.4+20231121-1]
libtinfo6/testing 6.4+20231209-1 i386 [upgradable from: 6.4+20231121-1]
libuuid1/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
libwbclient0/testing 2:4.19.3+dfsg-2 amd64 [upgradable from: 2:4.19.3+dfsg-1]
libwebkit2gtk-4.0-37/testing 2.42.3-1 amd64 [upgradable from: 2.42.2-1]
libwebkit2gtk-4.1-0/testing 2.42.3-1 amd64 [upgradable from: 2.42.2-1]
libx32gcc-12-dev/testing 12.3.0-13 amd64 [upgradable from: 12.3.0-12]
libxs-parse-keyword-perl/testing 0.39-1 amd64 [upgradable from: 0.38-1]
libxtables12/testing 1.8.10-1 amd64 [upgradable from: 1.8.9-2]
mount/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
ncurses-base/testing,testing 6.4+20231209-1 all [upgradable from: 6.4+20231121-1]
ncurses-bin/testing 6.4+20231209-1 amd64 [upgradable from: 6.4+20231121-1]
ncurses-term/testing,testing 6.4+20231209-1 all [upgradable from: 6.4+20231121-1]
python3-blinker/testing,testing 1.7.0-1 all [upgradable from: 1.6.3-1]
python3-greenlet/testing 3.0.1-2 amd64 [upgradable from: 2.0.2-1]
python3-lazr.restfulclient/testing,testing 0.14.5-2 all [upgradable from: 0.14.5-1]
python3-ldb/testing 2:2.8.0+samba4.19.3+dfsg-2 amd64 [upgradable from: 2:2.8.0+samba4.19.3+dfsg-1]
python3-numpy/testing 1:1.24.2-2 amd64 [upgradable from: 1:1.24.2-1]
python3-samba/testing 2:4.19.3+dfsg-2 amd64 [upgradable from: 2:4.19.3+dfsg-1]
python3-vdf/testing,testing 3.4-4 all [upgradable from: 3.4-2]
python3-wxgtk4.0/testing 4.2.1+dfsg-2 amd64 [upgradable from: 4.2.1+dfsg-1]
python3.11-dev/testing 3.11.7-2 amd64 [upgradable from: 3.11.6-3]
python3.11-minimal/testing 3.11.7-2 amd64 [upgradable from: 3.11.6-3]
python3.11-venv/testing 3.11.7-2 amd64 [upgradable from: 3.11.6-3]
python3.11/testing 3.11.7-2 amd64 [upgradable from: 3.11.6-3]
samba-common-bin/testing 2:4.19.3+dfsg-2 amd64 [upgradable from: 2:4.19.3+dfsg-1]
samba-common/testing,testing 2:4.19.3+dfsg-2 all [upgradable from: 2:4.19.3+dfsg-1]
samba-dsdb-modules/testing 2:4.19.3+dfsg-2 amd64 [upgradable from: 2:4.19.3+dfsg-1]
samba-libs/testing 2:4.19.3+dfsg-2 amd64 [upgradable from: 2:4.19.3+dfsg-1]
sddm/testing 0.20.0-2 amd64 [upgradable from: 0.20.0-1]
smbclient/testing 2:4.19.3+dfsg-2 amd64 [upgradable from: 2:4.19.3+dfsg-1]
sudo/testing 1.9.15p2-2 amd64 [upgradable from: 1.9.14p2-1]
sysvinit-core/testing 3.08-5devuan1 amd64 [upgradable from: 3.08-3devuan1]
sysvinit-utils/testing 3.08-5devuan1 amd64 [upgradable from: 3.08-3devuan1]
tree/testing 2.1.1-2 amd64 [upgradable from: 2.1.1-1]
util-linux-extra/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
util-linux-locales/testing,testing 2.39.3-2devuan1 all [upgradable from: 2.39.2-6devuan1]
util-linux/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
uuid-dev/testing 2.39.3-2devuan1 amd64 [upgradable from: 2.39.2-6devuan1]
wireless-tools/testing 30~pre9-16 amd64 [upgradable from: 30~pre9-14]
zenity-common/testing,testing 3.99.91-1 all [upgradable from: 3.44.2-1]
zenity/testing 3.99.91-1 amd64 [upgradable from: 3.44.2-1]

All package updates went through without error besides the sudo change message. However, upon restarting my system, the AMDGPU drivers and related packages don't boot and I'm left with a 4:3 scale resolution on a normally 2560x1440p monitor after manually running "startx" after login.

Specifically, the error is: "[drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed", obviously the thing is, all necessary packages are installed and went in without error. I manually selected only to update firmware-amd-graphics and it requested to do the whole firmware group with the same timestamps of 20230515-3 to 20230625-1, and after rebooting this is where the issue occurs.

This isn't much of a problem for me right now, as I have Timeshift set to make a root and home backup every hour to a seperate drive, so I just reverted back to the last working snapshots. It is just again seeing if there is a workaround/solution or if it's just the waiting game like the eudev/libgudev issue a few months back. I normally update on this branch every Friday night, so if there is anything I need to do on the weekends I have time to address it, especially when the work week is over.

Appreciate any input, thanks.

Offline

#2 2023-12-21 05:20:07

Nietz
Member
Registered: 2023-12-16
Posts: 13  

Re: Firmware update for AMD GPU's doesn't load on startup

i am unable to see which packages were installed through the provided image.

you may have installed the new modules and not added them to any runlevels..

Can you use your backups to return to before this happened? thank you so much for contributing to the forum.

Do you have any ability to view logfiles from before?  if you can get to a terminal...

cheers

Nietz

Offline

#3 2023-12-22 12:42:21

mirrortokyo
Member
Registered: 2021-04-08
Posts: 55  

Re: Firmware update for AMD GPU's doesn't load on startup

I had some pain with the usrmerge process associated with:

[UPGRADE] firmware-amd-graphics:amd64 20230515-3 -> 20230625-1

which happened for me on 03 December 2023

(and not just firmware for the AMD GPU, but also for the Ethernet card, so I couldn't do a remote login to the affected pc).

update-initramfs also complained of missing firmware (once I had stopped the boot process from attempting to change out of text mode and was able to see where the failure was occuring).

I ended up copying the contents from /lib/firmware to /usr/lib/firmware then renamed the old /lib/firmware directory /lib/oldfirmware then recreated a symbolic link from /lib/firmware to /usr/llib/firmware

Last edited by mirrortokyo (2023-12-22 12:50:12)

Offline

#4 2023-12-22 15:22:01

Nietz
Member
Registered: 2023-12-16
Posts: 13  

Re: Firmware update for AMD GPU's doesn't load on startup

Good day Mirrortokyo,

We do not have your sources.list here, but my inspection of the listed URLs in the output led me to a possible conclusion (perhaps a more seasoned admin could offer insight).

Your devuan mirror is set to Excalibur, based on Debian Trixie testing, and on the Devuan page is listed in development.  However, your debian mirror is set to bookworm.
Your updated graphics driver version, 20230625-1, is out of date as of my posting.  The current version is firmware-amd-graphics-20230625-2, and is available in the Devuan repos.  If your apt cache is up-to-date, the version you are trying to install, 20230625-1 looks to be the current Debian Trixie release, and NOT from Devuan.

In summation,
There is likely a mismatch in your kernel version / graphics version installation. (see the https://packages.debian.org/trixie/nvid … 470-driver)
--From the page:

Please see the nvidia-tesla-470-kernel-dkms or nvidia-tesla-470-kernel-source packages for building the kernel module required by this package. This will provide nvidia-tesla-470-kernel-470.223.02.

It's possible that the driver is mismatched because it is a different version in the Debian repo located in your /etc/apt/sources.list

I think the first step is to get rid of all the non-devuan packages on your system, restore the original sources.list and sources.list.d (I put other sources in the latter as their own files).

If you can easily go back to a Timeshift point BEFORE that Debian repo was added, then trying to upgrade your graphics from the Devuan repo, making sure that it works with your installed kernel.

Looking forward to your reply.

Nietz

Offline

#5 2023-12-22 17:28:52

quickfur
Member
Registered: 2023-12-14
Posts: 438  

Re: Firmware update for AMD GPU's doesn't load on startup

Nietz wrote:

[...]
I think the first step is to get rid of all the non-devuan packages on your system, restore the original sources.list and sources.list.d (I put other sources in the latter as their own files).
[...]

Sorry for barging in, but just wanted to confirm that this is a very real problem. Yesterday for some dev work I needed to install libcurl-dev.  Normally just an apt-get install would have worked, but instead, it came back with an error saying that some packages depend on 7.x.y while 8.0.x is installed.  Turns out, the problem is that I migrated to Daedalus from Debian trixie, so some packages on my system are newer than what's in the Devuan Daedalus archive. This caused an unresolvable dependency problem that required dpkg --force-depends to work around (which I do not recommend unless you're absolutely sure you know what you're doing).

tl;dr: don't use a mixed system; make sure all your packages are the latest Devuan packages, not a mixture of devuan and whatever else may have been on the system from before.

Offline

#6 2023-12-24 08:00:51

mirrortokyo
Member
Registered: 2021-04-08
Posts: 55  

Re: Firmware update for AMD GPU's doesn't load on startup

Nietz wrote:

Good day Mirrortokyo,

Your updated graphics driver version, 20230625-1, is out of date as of my posting.  The current version is firmware-amd-graphics-20230625-2, and is available in the Devuan repos.  If your apt cache is up-to-date, the version you are trying to install, 20230625-1 looks to be the current Debian Trixie release, and NOT from Devuan.
...
Nietz

Hi, I wasn't the original poster in this thread, however the usrmerge issue did prevent firmware for my AMD gpu and for my network card from being loaded (back in early December 2023).

Since then firmware-amd-graphics has been updated again:

Thu, Dec 21 2023 22:15:16 +1030
[UPGRADE] firmware-amd-graphics:amd64 20230625-1 -> 20230625-2

Offline

#7 2023-12-24 20:09:17

okkvltisch
Member
Registered: 2023-07-22
Posts: 7  

Re: Firmware update for AMD GPU's doesn't load on startup

Hi, I wasn't the original poster in this thread, however the usrmerge issue did prevent firmware for my AMD gpu and for my network card from being loaded (back in early December 2023).

Since then firmware-amd-graphics has been updated again:

Thu, Dec 21 2023 22:15:16 +1030
[UPGRADE] firmware-amd-graphics:amd64 20230625-1 -> 20230625-2

What did you have to do? I'm getting close to reinstalling my OS as I want to use this GPU that I spent nearly $1k on, granted I can use it just fine, but I'd like to continue getting support and newer features without breakage everytime I upgrade...

Thanks.

Offline

#8 2023-12-24 20:22:06

okkvltisch
Member
Registered: 2023-07-22
Posts: 7  

Re: Firmware update for AMD GPU's doesn't load on startup

So just generally what I've done from here since posting this as an attempted fix.

I've tried doing "sudo apt install isenkram" and then "sudo isenkram-auto-install firmware" which does mention some issues with missing firmware for firmware-amd-graphics, but it still doesn't work.

I've tried upgrading to a higher branch like Devuan Ceres in hopes that I can do a big version jump and move to a rolling release style, but I still get the same problem when I move to the highest package of the AMDGPU and I'm again forced to revert back to when this first started.

The problem is quite simply, I update my system to include the following now-held packages, but it just causes my graphics card to not initialize and I'm still left with a text-only input where I have to do startx in order to get to a desktop environment.

okkvltisch@supreme-overlord:~$ sudo apt-mark showhold
firmware-amd-graphics
firmware-iwlwifi
firmware-linux
firmware-linux-nonfree
firmware-misc-nonfree
firmware-realtek

I can't install just one or all but one of these packages as when I do, they all ask for the rest. It's either all or none.

Another thing I've tried is running update-initramfs in various combinations at various times before, during or after the upgrade but still with indifferent results.

Does anyone have a solution to this at this point, because I really don't want to reinstall my OS but it's looking like I might have to, as this installation was one that was migrated from Daedalus to Excalibur/Ceres simply so I could have maximum support for my new card. I'm only now realizing however, that Phoronix reports that I simply need kernel 6.0+ and Mesa 22.2+ to run this card and max capacity, whereas right now I'm on kernel 6.5+ and Mesa 22.3, and Debian/Devuan stable does offer those 7900XTX supporing versions, I'd just prefer to have all features enabled for this card.

Thanks.

Offline

#9 2023-12-24 23:04:55

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 650  

Re: Firmware update for AMD GPU's doesn't load on startup

Hi, I have tried similar methods to install packages to maximise my investment (in my multimedia-entertainment-system).

Check the package you want is available for off-line installation.

ls -la /var/cache/apt/archives/ | grep "package-name.deb"

then you may (try to) use dpkg to force install with no-deps, but with firmware you may have to reboot to load it and see if it works.

checkout the --help for dpkg...

root@GamesBox:/root  dpkg --help | grep depend
  --predep-package                 Print pre-dependencies to unpack.
  --ignore-depends=<package>[,...]
                             Ignore dependencies involving <package>.
root@GamesBox:/root  dpkg --help | grep force
  --force-help                     Show help on forcing.
  --[no-]triggers            Skip or force consequential trigger processing.
  --force-<thing>[,...]      Override problems (see --force-help).
  --no-force-<thing>[,...]   Stop when problems encountered.

Must read...
dpkg --force-help

root@GamesBox:/root  dpkg --force-help
dpkg forcing options - control behaviour when problems found:
  warn but continue:  --force-<thing>,<thing>,...
  stop with error:    --refuse-<thing>,<thing>,... | --no-force-<thing>,...
 Forcing things:
  [!] all                Set all force options
  [*] security-mac       Use MAC based security if available
  [*] downgrade          Replace a package with a lower version
      configure-any      Configure any package which may help this one
      hold               Install or remove incidental packages even when on hold
      not-root           Try to (de)install things even when not root
      bad-path           PATH is missing important programs, problems likely
      bad-verify         Install a package even if it fails authenticity check
      bad-version        Process even packages with wrong versions
      statoverride-add   Overwrite an existing stat override when adding it
      statoverride-remove Ignore a missing stat override when removing it
      overwrite          Overwrite a file from one package with another
      overwrite-diverted Overwrite a diverted file with an undiverted version
  [!] overwrite-dir      Overwrite one package's directory with another's file
  [!] unsafe-io          Do not perform safe I/O operations when unpacking
  [!] script-chrootless  Do not chroot into maintainer script environment
  [!] confnew            Always use the new config files, don't prompt
  [!] confold            Always use the old config files, don't prompt
  [!] confdef            Use the default option for new config files if one
                         is available, don't prompt. If no default can be found,
                         you will be prompted unless one of the confold or
                         confnew options is also given
  [!] confmiss           Always install missing config files
  [!] confask            Offer to replace config files with no new versions
  [!] architecture       Process even packages with wrong or no architecture
  [!] breaks             Install even if it would break another package
  [!] conflicts          Allow installation of conflicting packages
  [!] depends            Turn all dependency problems into warnings
  [!] depends-version    Turn dependency version problems into warnings
  [!] remove-reinstreq   Remove packages which require installation
  [!] remove-protected   Remove a protected package
  [!] remove-essential   Remove an essential package

WARNING - use of options marked [!] can seriously damage your installation.
Forcing options marked [*] are enabled by default.

Currently enabled options:
 security-mac,downgrade
root@GamesBox:/root  

I hope this helps.


pic from 1993, new guitar day.

Offline

#10 2023-12-25 01:35:13

mirrortokyo
Member
Registered: 2021-04-08
Posts: 55  

Re: Firmware update for AMD GPU's doesn't load on startup

okkvltisch wrote:

Hi, I wasn't the original poster in this thread, however the usrmerge issue did prevent firmware for my AMD gpu and for my network card from being loaded (back in early December 2023).

Since then firmware-amd-graphics has been updated again:

Thu, Dec 21 2023 22:15:16 +1030
[UPGRADE] firmware-amd-graphics:amd64 20230625-1 -> 20230625-2

What did you have to do? I'm getting close to reinstalling my OS as I want to use this GPU that I spent nearly $1k on, granted I can use it just fine, but I'd like to continue getting support and newer features without breakage everytime I upgrade...

Thanks.

This is risky as you might end up with an unbootable system.

As I still have optical drives, I made a bootable Devuan live DVD on another pc for rescue purposes after suffering non-working graphics and networking.

I ended up manually moving the contents of /lib/firmware to /usr/lib/firmware

mv /lib/firmware/* /usr/lib/firmware

then

mv /lib/firmware /lib/oldfirmware (there shouldn't be anything left in the /lib/firmware directory after the previous command)

and most importantly, create a symbolic link from /lib/firmware to /usr/lib/firmware

ln -s /usr/lib/firmware /lib/firmware

After all these changes, try running

update-initramfs -u -k $(uname -r)

to get the firmware included in the initramfs

Look out for any missing firmware commands. If there are any warnings for hardware that you use, you many need to install additional firmware packages.

Last edited by mirrortokyo (2023-12-25 01:35:52)

Offline

#11 2023-12-26 15:24:42

stopAI
Member
Registered: 2023-04-04
Posts: 187  

Re: Firmware update for AMD GPU's doesn't load on startup

okkvltisch wrote:

What did you have to do?

There is no automatic method to restore the precedent configuration, so there is no going back once the system is converted to the merged /usr directory scheme...

Offline

Board footer