pkg install drm-kmod installed exactly that. Is it a problem with the binary?Try building graphics/drm-fbsd12.0-kmod from ports.
I guess it's still the package built for 12.1.
Agree. I have this setup working (only RX 570, but this is almost identical). Did not even expect the module to work after upgrading from 12.1 to 12.2. This module should be rebuilt.Userspace ABI doesn't change with minor releases. But the kernel (inside) DOES change. This is a kernel driver/module.
It asks for kernel source files, which I don't have. Are they on github? I am not sure if it is a good idea to mix ports + make and pkg binaries.This picture doesn't help at all. Please read my post above. If you don't understand something, feel free to ask.
In a nutshell: build the port on your machine and it will work.
Installing 12.1 is not an option either. 12.1 RELEASE does not support NKRO keyboards as 12.1 STABLE did, and I don't find any option to download an old 12.1 STABLE from the server.In case anyone needs an explanation: This is NOT a "problem with the binary" but a consequence/shortcoming of the fact package repositories are only organized by (userspace) ABI.
As long as both 12.1 and 12.2 are supported releases, packages containing kernel modules can only fit ONE of them. Sticking with 12.1 makes sense, so it doesn't affect users "by surprise".
For users of 12.2, this means you have to build all ports/packages containing kernel modules yourself until EOL of 12.1.
For base systemIt asks for kernel source files, which I don't have. Are they on github? I am not sure if it is a good idea to mix ports + make and pkg binaries.
cd /usr/src
svn checkout https://svn.freebsd.org/base/releng/12.2/ .
Does it matter that I installed 12.2 stable instead of release?For base system
cd /usr/src
svn checkout https://svn.freebsd.org/base/releng/12.2/ .
Then how are you keeping your 12-STABLE up to date? The only way to update -STABLE is by compiling from source.It asks for kernel source files, which I don't have.
Yes, it matters. It should be /base/stable/12 for 12-STABLE.Does it matter that I installed 12.2 stable instead of release?
I guess you missed the part where I wrote that RELASE does not support my NKRO keyboard and STABLE does. I tried with releng, it did not work. I don't have another half hour today for this. I'll continue tomorrow.Then how are you keeping your 12-STABLE up to date? The only way to update -STABLE is by compiling from source.
Yes, it matters. It should be /base/stable/12 for 12-STABLE.
Note that -STABLE is a development version. A supported development version as opposed to -CURRENT, which is an unsupported development version. I suggest you stick to a -RELEASE version, -RELEASE versions can be easily updated/upgraded using freebsd-update(8). Both -STABLE and -CURRENT can only be updated/upgraded by compiling from source.
The moniker -STABLE has nothing to do with its fitness to run, it refers to the ABI that's stable (at least it should be).
I totally forgot that there is a release for 12.2 too.So, why don't you just use 12.2-RELEASE?![]()
pkg install drm-kmod
and sysrc kld_list+="amdgpu"
. I got the same kernel panic as previously when loading the kernel module. I can try to build it, but I don't think it will work.Now that I read back, that's why I wanted to try it with 12.1-RELEASE and the NKRO keyboard driver instead of 12.2-RELEASE as you suggested.Ok now DID you read the replies you got on this thread or not? Seriously. You were told multiple times that right now, for 12.2, you HAVE to build ports with kernel modules yourself. I also gave an explanation why this is the case.
I don't want to mix pkg and ports if not necessary. But I think it will be, because the keyboard driver does not seem to work on 12.1-RELEASE. But that is a different topic. Now I managed to install the amdgpu driver with pkg on 12.1-RELEASE. First it wrote something like "ring 10 error". After that I found that adding "hw.syscons.disable" to the "boot/loader.conf" fixes this in theory, so I tried it out. I got some weird artifacts at boot, but after that I got higher resolution in console, so in theory it works. I cannot make it work with xorg though, it writes that "no screen" when I try "startx" even though I added a config file for a device with "amdgpu" driver to the "xorg.conf.d". So from this perspective it does not seem to work.Why? What's the huge problem with compiling ONE port (I assume it's the only one you need with a kernel module) yourself? This will only be necessary until EOL of 12.1!
Consider this necessary then.I don't want to mix pkg and ports if not necessary.
it writes that "no screen" when I try "startx" even though I added a config file for a device with "amdgpu" driver to the "xorg.conf.d".
% pkg search amdgpu
xf86-video-amdgpu-19.1.0_1 X.Org amdgpu display driver
Ohh, thanks! Does this xorg driver package require the amdgpu kernel module? Btw. I was able to start it by removing the xorg config file. I guess then it loaded a different xorg driver, which is compatible with AMD too.Consider this necessary then.
You know it's a separate package, right?
Code:% pkg search amdgpu xf86-video-amdgpu-19.1.0_1 X.Org amdgpu display driver