So, I was trying to switch to using this, as I realise its where things are heading, and I rather like the look of it. But I cant get it to see my multiple monitors. I install the port, set 'kld_list="amdgpu"' and it boots up with the new modules, and appears to find all my displays in dmesg. But when I start X it only uses the single display port, mirroring it to DVI. When I start X what I am seeing in dmesg is this: module_register: cannot register drmn from drm2.ko; already loaded from drm.ko Module drmn failed to register: 17 KLD radeonkms.ko: depends on drmn - not available or version mismatch linker_load_file: Unsupported file type Which make me think theres some clash with the old modules and thats why its not working properly. Also xrandr only lists a single screen, as default, unlike the list I get using the old drm, which lists all the outpus correctly. Anyone got any advice, or can point me to the coorrect place for this ? cheers, -pete.
On Tue, Sep 11, 2018, 14:52 Pete French <petefrench at ingresso.co.uk> wrote:> So, I was trying to switch to using this, as I realise its where things > are heading, and I rather like the look of it. But I cant get it to see my > multiple monitors. I install the port, set 'kld_list="amdgpu"' and it boots > up with the new modules, and appears to find all my displays in dmesg. But > when I start X it only uses the single display port, mirroring it to DVI. > > > When I start X what I am seeing in dmesg is this: > > module_register: cannot register drmn from drm2.ko; already loaded from > drm.ko > Module drmn failed to register: 17 > KLD radeonkms.ko: depends on drmn - not available or version mismatch > linker_load_file: Unsupported file type > > Which make me think theres some clash with the old modules and thats why > its not > working properly. Also xrandr only lists a single screen, as default, > unlike > the list I get using the old drm, which lists all the outpus correctly. > > Anyone got any advice, or can point me to the coorrect place for this ? > > cheers, > > -pete. >I think you have to use kld_list="/boot/modules/amdgpu.ko" to get the new one. Best regards Andreas> >
I agree it sounds like a clash with older modules. Did you have drm-stable-kmod installed or drm-legacy-kmod installed? If so, make sure you remove them before. Sounds to me like what is probably happening is you have modules from two different drm ports installed. So I'd try a make deinstall inside drm-stable-kmod and drm-legacy-kmod directories and see if that fixes anything. On Tue, 11 Sep 2018 13:50:24 +0100 Pete French <petefrench at ingresso.co.uk> wrote:> So, I was trying to switch to using this, as I realise its where > things are heading, and I rather like the look of it. But I cant get > it to see my multiple monitors. I install the port, set > 'kld_list="amdgpu"' and it boots up with the new modules, and appears > to find all my displays in dmesg. But when I start X it only uses the > single display port, mirroring it to DVI. > > > When I start X what I am seeing in dmesg is this: > > module_register: cannot register drmn from drm2.ko; already loaded > from drm.ko Module drmn failed to register: 17 > KLD radeonkms.ko: depends on drmn - not available or version mismatch > linker_load_file: Unsupported file type > > Which make me think theres some clash with the old modules and thats > why its not working properly. Also xrandr only lists a single screen, > as default, unlike the list I get using the old drm, which lists all > the outpus correctly. > > Anyone got any advice, or can point me to the coorrect place for > this ? > > cheers, > > -pete. > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe at freebsd.org"
On 09/11/2018 14:50, Pete French wrote:> So, I was trying to switch to using this, as I realise its where things > are heading, and I rather like the look of it. But I cant get it to see my > multiple monitors. I install the port, set 'kld_list="amdgpu"' and it boots > up with the new modules, and appears to find all my displays in dmesg. But > when I start X it only uses the single display port, mirroring it to DVI. > > > When I start X what I am seeing in dmesg is this: > > module_register: cannot register drmn from drm2.ko; already loaded from drm.ko > Module drmn failed to register: 17 > KLD radeonkms.ko: depends on drmn - not available or version mismatch > linker_load_file: Unsupported file type >Starting from the beginning: how the "drm.ko" is loaded ? My experience (with the drm2 from base) is that drm.ko and drm2.ko must not be loaded at the same time. Claude Buisson