DRM: radeonkms no longer usable following a switch to stable, FreeBSD 12.0-BETA1

Graham Perrin grahamperrin at gmail.com
Mon Oct 22 03:34:59 UTC 2018

tl;dr it seems that rc.conf can handle radeonkms and sddm
_if_ I enable CSM at boot
_and if_ I have:


Not truly benefiting from radeonkms.

AFAICT if I exclude the VESA workaround and manually load radeonkmos and start sddm, then as previously noted:

/usr/local/bin/xauth: (stdin):1:  bad "remove" command line
/usr/local/bin/xauth: (stdin):2:  bad "add" command line
/usr/local/bin/xauth: (stdin):1:  bad "remove" command line
/usr/local/bin/xauth: (stdin):2:  bad "add" command line

What next? Any suggestions?



root at momh167-gjp4-hpelitebook8570p-freebsd:~ # date ; uname -v
Mon 22 Oct 2018 04:10:51 BST
FreeBSD 12.0-BETA1


root at momh167-gjp4-hpelitebook8570p-freebsd:~ # poudriere jail -i -j stable | grep r3
Jail vcs version:  r339435
root at momh167-gjp4-hpelitebook8570p-freebsd:~ # poudriere ports -u
[00:00:00] Updating portstree "default" with portsnap...Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.
root at momh167-gjp4-hpelitebook8570p-freebsd:~ # poudriere bulk -j stable graphics/gpu-firmware-kmod graphics/drm-kmod graphics/drm-next-kmod x11/xorg[00:00:01] Creating the reference jail... done
[00:00:02] Mounting system devices for stable-default
[00:00:02] Mounting ports/packages/distfiles
[00:00:02] Stashing existing package repository
[00:00:02] Mounting ccache from: /var/cache/ccache
[00:00:02] Mounting packages from: /usr/local/poudriere/data/packages/stable-default
[00:00:02] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options
[00:00:03] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/stable-default/ref/etc/resolv.conf
[00:00:03] Starting jail stable-default
[00:00:06] Logs: /usr/local/poudriere/data/logs/bulk/stable-default/2018-10-22_04h12m09s
[00:00:06] Loading MOVED for /usr/local/poudriere/data/.m/stable-default/ref/usr/ports
[00:00:07] Ports supports: FLAVORS SELECTED_OPTIONS
[00:00:07] Gathering ports metadata
[00:00:18] Calculating ports order and dependencies
[00:00:19] Sanity checking the repository
[00:00:19] Checking packages for incremental rebuild needs
[00:00:34] Deleting stale symlinks... done
[00:00:34] Deleting empty directories... done
[00:00:34] Cleaning the build queue
[00:00:34] Sanity checking build queue
[00:00:34] Processing PRIORITY_BOOST
[00:00:34] Balancing pool
[00:00:34] Recording filesystem state for prepkg... done
[00:00:40] No package built, no need to update the repository
[00:00:40] Committing packages to repository
[00:00:40] Removing old packages
[stable-default] [2018-10-22_04h12m09s] [committing:] Queued: 0  Built: 0  Failed: 0  Skipped: 0  Ignored: 0  Tobuild: 0   Time: 00:00:34
[00:00:40] Logs: /usr/local/poudriere/data/logs/bulk/stable-default/2018-10-22_04h12m09s
[00:00:40] Cleaning up
[00:00:40] Unmounting file systems
root at momh167-gjp4-hpelitebook8570p-freebsd:~ # pkg which /usr/local/bin/xauth
/usr/local/bin/xauth was installed by package xauth-1.0.10
root at momh167-gjp4-hpelitebook8570p-freebsd:~ # pkg query '%o %v %R' gpu-firmware-kmod drm-kmod drm-next-kmod xorg
graphics/gpu-firmware-kmod g20180825 poudriere
graphics/drm-kmod g20180930 poudriere
graphics/drm-next-kmod 4.11.g20180822 poudriere
x11/xorg 7.7_3 poudriere
root at momh167-gjp4-hpelitebook8570p-freebsd:~ # cat /usr/local/etc/X11/xorg.conf.d/driver-vesa.conf
Section "Device"
  Identifier "Card0"
  Driver "vesa"
root at momh167-gjp4-hpelitebook8570p-freebsd:~ # grep 'adeon\|sddm' /etc/rc.conf
# kldload radeonkms
root at momh167-gjp4-hpelitebook8570p-freebsd:~ #

More information about the freebsd-current mailing list