Linux video drivers Framework 16 amd 7040

Hey I have a question around video drivers for Framework 16:

Info:

  • Bios - upgraded to the newest version from Framework resources - no problem
  • System: Devuan 5 (Dadelaus) - newly installed - no problem
  • Repositories: apt - only free software, no contrib no no-free firmware allowed during the installation

Problem:

  1. System doesn’t recognize additional screen, I tried:

    • USBC on power ports
    • DP on power ports
    • HDMI → docking station → USBC on my laptop
  2. On suspention/hybernation wake up the laptop screen doesn’t come back on, I tried:

    • add this to /etc/pm/sleep.d/reinitialize_display:
#!/bin/sh

case "$1" in
  thaw|resume)
    /usr/bin/xrandr --auto
    ;;
esac

exit 0
- apt install mesa-utils (up to date)
- apt install xserver-xorg-video-nouveau (up to date)

UPDATE:
Running dmesg -w:

Got an error:
[drm: amdgpu_prci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed

So my question is if you can point me to an existing free software resource to get the firmware for this laptop?

thank you @Mario_Limonciello

Is there a documentation/README file on how to go about installing from this repo?

Everything in the amdgpu folder goes to /lib/firmware/amdgpu on your system.

If you put amdgpu in your initramfs then make sure the firmware goes too.

Not much more to it.

That did the job, thank you!

1 Like

Do you follow a convention to keep this repo at sync with your /lib/firmware/ dir or you just cherry pick a few?

Me? I don’t use Debian. It doesn’t keep software up to date enough for me.

I use Arch and Fedora.

Maybe more generally: would you recommend to debian (no systemd) users to solve the slow software update problem by scripting a periodic linux firmware entire repo pull and cp to /lib/firmware?

You should (ideally) solve it by convincing Debian maintainers to update the package regularly. I would like to think the more complaints the more likely they would do it.

But that aside, sure regularly updating it manually is just fine.

I have one more question related to this.
After wake up from hibernation and unlocking, my screen blacks off, I have to close and open lid again and then I have another login screen, this time not lightdm which is my default one, instead I get libxfce4ui.

After unlocking I don’t have networking available, neither if I restart in cli, the buttons for restart/shut down are greyed out and sometimes my USB ports wouldn’t read USB disks.

I have all linux-firmware in my /lib/firmware up to date and additionally I have /etc/pm/sleep.d/reinitialize_display script:

#!/bin/sh

sleep 5

case "$1" in
  thaw|resume)
    /usr/bin/xrandr --auto
    ;;
esac

exit 0