the xfree-drm-4.3.0-r6 ebuild puts the kernel modules in /lib/modules/KERNEL_VERSION/kernel/drivers/char/drm. then if you decide to change your kernel modules and run make modules_install, it deletes the kernel modules that were installed by xfree-drm. solution: put the modules under /lib/modules/KERNEL_VERSION/xfree-drm or something. put a file at /etc/modules.d/xfree-drm with: keep path[xfree-drm]=/lib/modules/KERNEL_VERSION/xfree-drm this is the strategy that the sys-apps/thinkpad ebuild uses Reproducible: Always Steps to Reproduce: 1. 2. 3.
Bryan, can you take a look at this?
Created attachment 24966 [details, diff] Patch to make xfree-drm use new module location
Created attachment 24967 [details] xfree-drm modules.d file to be placed in xfree-drm/files/
Ok, I've got a patch to the xfree-drm ebuild and the required modules.d file attached. As per your great suggestion, it will install to /lib/modules/`uname -r`/xfree-drm. I've tested merging it with VIDEO_CARDS settings including radeon (with and without USE="gatos") and mach64. Please test this yourself to make sure the module actually works. Thanks. If you don't already know how this works, please copy /usr/portage/x11-base/xfree-drm into your PORTDIR_OVERLAY (usually /usr/local/portage, set in make.conf) and apply the patch in the overlay (patch -p0 <file.patch). You can then merge it normally.
The above changes have been added to xfree-drm-4.3.0-r7. Please 'emerge sync' to get an updated tree with the changes. The changes will also be in further revisions. Thanks.