Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 04:34:55 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: DRM: radeonkms no longer usable following a switch to stable, FreeBSD 12.0-BETA1
Message-ID:  <81d1e9cc-cdfe-81ec-1168-54b2fa397c59@gmail.com>
In-Reply-To: <16278ced-e565-917f-5015-5083d2171bb0@gmail.com>
References:  <f25e294a-192a-04f9-2466-d1fe09b32fec@gmail.com> <16278ced-e565-917f-5015-5083d2171bb0@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
tl;dr it seems that rc.conf can handle radeonkms and sddm
_if_ I enable CSM at boot
_and if_ I have:

/usr/local/etc/X11/xorg.conf.d/driver-vesa.conf

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?

TIA

----

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

GENERIC

root@momh167-gjp4-hpelitebook8570p-freebsd:~ # poudriere jail -i -j stable | grep r3
Jail vcs version:  r339435
root@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.
 done
root@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@momh167-gjp4-hpelitebook8570p-freebsd:~ # pkg which /usr/local/bin/xauth
/usr/local/bin/xauth was installed by package xauth-1.0.10
root@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@momh167-gjp4-hpelitebook8570p-freebsd:~ # cat /usr/local/etc/X11/xorg.conf.d/driver-vesa.conf
Section "Device"
  Identifier "Card0"
  Driver "vesa"
EndSection
root@momh167-gjp4-hpelitebook8570p-freebsd:~ # grep 'adeon\|sddm' /etc/rc.conf
# kldload radeonkms
kld_list="/boot/modules/radeonkms.ko"
sddm_enable="YES"
root@momh167-gjp4-hpelitebook8570p-freebsd:~ #




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81d1e9cc-cdfe-81ec-1168-54b2fa397c59>