Originally posted by Daktyl198
View Post
AMD GPU Linux Driver Becoming "Really Really Big" That It's Starting To Cause Problems
Collapse
X
-
-
-
Originally posted by lem79 View PostArch Linux logo, btw.
(fixed ;-))
Leave a comment:
-
-
Eh, Plymouth. I've had enough problems with it over the years across a wide range of systems that I'm more inclined to it being the problem. Failing to start, failing to stop, being all messed up with nVidia drivers installed, deciding unilaterally to display on a different monitor to the one everything else displays on (joys of early multimonitor in Linux), hanging when handing off to the display manager (but no hang when Plymouth is disabled)...
Leave a comment:
-
-
Originally posted by Weasel View PostThe size of the headers is completely irrelevant when it comes to loading the driver. You're not compiling shit when loading the kernel and its drivers modules.
I then added that headers can contain data that ends up in a binary.
Leave a comment:
-
-
Given that the driver is dynamically loaded, it seems like it would be fairly straightforward to fix. First, begin to create stripped down versions of the driver specific to each GPU chipset, starting with the most commonly used. Do not change the existing AMDGPU driver (yet). Then tweak the loading software to first attempt to load the specific driver; only if it is not found is the AMDGPU. Once these changes are started and the kinks worked out, the code in the original driver can be removed. New GPU chipsets would have only individual drivers written. Eventually, the AMDGPU driver will be obsolete.
Leave a comment:
-
-
Originally posted by caligula View Post
Indeed. Sounds like AMD has fucked this up badly. They're either allocating lots of unnecessary structures for different generations of hardware or exposing lots of internal symbols. I fail to see why the driver needs to be any larger than other GPU drivers in the system.
Most of the header for each GPU is probably a giant list of features supported by the driver, and whether or not they're supported by the GPU itself. That being said... it's been a decade since the initial development of the AMDGPU kernel driver and I'm sure a ton of lessons have been learned since then. It may be time to think about rearchitecting the driver for future hardware.
Leave a comment:
-
-
Originally posted by Weasel View PostOk? And you can look at the compiled output.
The size of the headers is completely irrelevant when it comes to loading the driver. You're not compiling shit when loading the kernel and its drivers modules.
Leave a comment:
-
-
Originally posted by Etherman View Post
Isn't the module commonly in the initramfs and as such is loaded into a ramdisk by the bootloader before the kernel is run?
Other distros just place disk related modules in initramfs and forgo stuff like plymouth, or render it using efifb.
Leave a comment:
-
Leave a comment: