FW13 7840U GPU Acceleration with Dock

Which Linux distro are you using?
Nixos

Which release version?
24.05

Which kernel are you using?
6.6.50

Which BIOS version are you using?
Stock

Which Framework Laptop 13 model are you using?
FW13 AMD 7840U

I’m not sure if this is a driver issue or a dock issue since I don’t fully understand how the parts all tie together. :slight_smile:

I’m using my FW13 with the Plugable TBT4-UDZ dock, which for the most part works well.
I’m running dual 4k screens.

I haven’t tested this issue in a while, but figured I’d ask here since I haven’t seen anything related and maybe someone will know something that will prompt me one way or the other.

When the laptop is on the dock (which is most of the time) and I have GPU acceleration enabled, the AMDGPU driver was crashing within a few seconds of anything trying to use acceleration. If the lapotp was not docked everything would be fine.
So I’m trying to understand if this is most likely a driver issue or a dock issue since I don’t fully understand how the video chain all ties together when using a dock to run monitors.

Any insight is appreciated!
(I can test again as well to get log details and whatnot if it still crashes, I just have to find some downtime to go through the multiple reboots to get acceleration back on and then reboot after capturing logs if it crashes again.)

If you search this forum, you will find out that dock compatibility is generally quite a fragile thing, kinda like silicon lottery, so you are already quite lucky that it mostly works :wink: You may update a community-maintained list here: USB-C/Thunderbolt Dock Megathread

Regarding your issue, it would be very interesting to test it on Windows also (or at least another distro) if you happen to have a copy at hand: if it works there without problems, it means it’s a Linux kernel driver issue probably, otherwise it may mean hardware/firmware incompatibility.

Yeah I heavily consulted that thread before picking that one out, but I’m guessing my issue and setup is a pretty edge case.
I’ll find some time to reboot to the latest Nixos update and test again and if it still fails I’ll boot into the Kali install I set up secondary and get that up to date and see if that works.
I wonder if Ubuntu Live has acceleration drivers installed and includes anything that could properly test it…
I’ve got a shiny flash drive setup with Ventoy so I can pretty easily test anything that can live boot.

one more thing that came to my mind: as i understand this dock has both DP and HDMI ports: if your displays also support both, try changing the connection and see if it imporves anything (on Linux DP is usually more stable in my experience).

I’m currently doing one HDMI (via an HDMI Matrix switch - that’s what feeds my audio system and most monitors) and one DP - it did weird things when I tried dual HDMI (only saw one monitor). I didn’t try dual DP but it might be worth a quick experiment just to see what it does (but if I keep it that way I’d have to get audio out some other way and I’m out of open analog inputs on my interfaces lol).

Well it seems to have been a driver issue with the earlier builds for this GPU.
That’s not surprising considering this is a pretty new chipset still.
I re-enabled all the parts per the Nixos wiki then updated and rebooted.
I fired up Resolve and it opened (it didn’t even do that if acceleration wasn’t enabled, but maybe they fixed that in a newer build as well?) and rendered an old 2.5 hr 720p project out in 11 minutes, so I’d say it’s working properly now.
I’m doing another test render as I’m typing this, with all my normal applications open and it’s happily running along.

Thanks for helping me brainstorm!

1 Like

glad to hear it works! especially that I’m also considering buying this dock :wink:

1 Like