pw groupmod video -m scottro
kld_list="/boot/modules/radeonkms.ko"
kldload amdgpu
No, it isn't UEFI
# svn co https://svn.freebsd.org/base/head /usr/src
&& # svn co https://svn.freebsd.org/ports/head /usr/ports
svn co https://svn.freebsd.org/base/release/11.2.0 /usr/src
and so forth) # make buildworld
etc, followed by some beer, a dinner date with your gf, a movie and perhaps some bedroom acrobatics. Unless you are more wise and simply keep a pet cat for entertainment. Either way it will take a while to build the whole mess. This is your guide: https://www.freebsd.org/doc/handbook/makeworld.html /usr/ports/graphics/drm-next-kmod/ # make clean install
kld_list="....."
is the *only* way you want to do this. Leave /boot/loader.conf the hell alone! kld_list="linux linux64 amdgpu"
for basic functionality. Adjust for /boot/modules/i915kms.ko (for Intel GPU) or radeonkms (for something you mistakenly stole, believing it to be a valuable trinket, from an archeology museum) as needed.The graphics/drm-next-kmod (or the now-ignored graphics/drm-stable-kmod) supersede the graphics card offerings from x11-drivers xf86-video-* drivers
Kernel drivers can't supersede Xorg drivers, you need both types of drivers to function. Unless you using Wayland, of course, then you don't need Xorg-anything.
3d acceleration wouldn't work.
Interesting... Can you post your Xorg log? That might actually be the generic modesetting driver, in which case at least 3d acceleration wouldn't work.
Ok, I take that back. This is supposed to work as well.
I don't have a gf. Too lazy for for compiling everything. Worked once with graphics/drm-NEXT-kmod, then 5 days worked with it, update and BOOM don't work. I will have my computer back at 29th
# svn up /usr/src
& # svn up /usr/ports
amounts to barely lifting fingers. Doing a buildworld & kernel takes about ~45-60 minutes on a Core i5 or i7 platform and doesn't require supervision; easily done while you have a beauty-rest. The installworld & mergemaster procedures take ~5 mins total. Followed by portmaster'ing graphics/drm-next-kmod takes another ~5mins. Boom-de-yada boom-de-yada the world is all good again!I mix ports and packages all the time, and it works. Use portmaster, then get the list of ports it installs, and cancel the installation. Then install a few of those as packages, depending on if you know those packages don't interfere with the options you need.
For this, I install the package x11-servers/xorg-server, and ports under the lang category provided the latest version is available as packages, then go with portmaster the rest of the way. You can do it, if you keep track, know the pkg options don't interfere with the port options you need, and you may have to be ready to install everything if it changes, which is no different than using ports all the way.
Also, from what I realized, drm-*-kmod is for everything, and is enough for the console (when the driver is loaded through rc.conf). The driver under the xorg driver category is not used for the console, as it works on top of the kernel module and is basically for xorg.
Oh indeed you can mix ports/pkgs all you like...but don't expect the miracle of a binary pkg to suddenly work when kernel source is explicitly required, especially when the versions are out of sync.
(in case you are using 11.2, you will want to usesvn co https://svn.freebsd.org/base/release/11.2.0 /usr/src
and so forth)
Next you will be doing a# make buildworld
etc, followed by some beer, a dinner date with your gf, a movie and perhaps some bedroom acrobatics. Unless you are more wise and simply keep a pet cat for entertainment. Either way it will take a while to build the whole mess. This is your guide: https://www.freebsd.org/doc/handbook/makeworld.html
Rebuild the DRM modules,/usr/ports/graphics/drm-next-kmod/ # make clean install
If you square all that away, and successfully build/install/boot, you'll need to KLD load some modules for basic operation.
Adjust /etc/rc.conf to suit your needs. Thekld_list="....."
is the *only* way you want to do this. Leave /boot/loader.conf the hell alone!kld_list="linux linux64 amdgpu"
for basic functionality. Adjust for /boot/modules/i915kms.ko (for Intel GPU) or radeonkms (for something you mistakenly stole, believing it to be a valuable trinket, from an archeology museum) as needed.
Getting AMD GPUs to work, as the plethora of guides indicate, will *only* work in BIOS mode, *not* in UEFI mode; I've had no success --ever-- with UEFI and varying AMD GPUs. The system console will need to be either SC or VT, depending on what hardware you got.
View attachment 5401
SIR! I am DOING this! I have a GF & Cat. I soo want my KABINI AMD APU to start working finally!
I will serve you beer if this works! Because I make these... (See attached) only BSD. And I cant exactly fit hardware you see... The cherry wood
(in case you are using 11.2, you will want to usesvn co https://svn.freebsd.org/base/release/11.2.0 /usr/src
and so forth)
svn co https://svn.freebsd.org/base/releng/11.2 /usr/src
I have only one box with 11-STABLE, now rebuilding. I shall try my luck without xf86-video-* and then build WM & minimal ports except firefox & palemoon. I don't understand the diference ofI don't even bother with any xf86-video-<name> drivers anymore these days, drm-next-kmod (in both 11.2 & 12) is sufficiently hardened for my purposes.
portsnap
and svn'ing.