Alexander88207
Enthusiast
"/boot/modules/drm.ko"
This entry is unnecessary because its enough only to specify the needed drm module (i915kms,amdgpu etc.
drm.ko gets already loaded automatically then.
"/boot/modules/drm.ko"
"wheel" and/or the "video" group ?? If not the user cannot run X
kld_list="ig4 iichid amdgpu amdsmb amdtemp linux64 linux"
.efi_max_resolution="1080p"
PORTS_MODULES+=graphics/gpu-firmware-kmod
https://github.com/freebsd/drm-kmod
in /usr/local/sys/modules/drm-kmod
and manually keep it in sync the version in drm-devel-kmod by doing git pull; git checkout $GH_TAGNAME
, where GH_TAGNAME comes from the drm-devel-kmod Makefile
. I do this whenever I update the port locally. All this elaborate set up to make sure that whenever I rebuild the kernel, the amdgpu module automatically gets rebuilt and copied to /boot/kernel/amdgpu.ko
when I do installkernel, so that it stays in sync with the kernel + it gives me the option of going back to an older working version in case of trouble.usr/local/etc/X11/xorg.conf.d/touchpad.conf
I haveSection "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
EndSection
… In /etc/src.conf I havePORTS_MODULES+=graphics/gpu-firmware-kmod
…
% grep -v \# /etc/src.conf | sort
KERNCONF=GENERIC-NODEBUG
PORTS_MODULES= emulators/virtualbox-ose-kmod graphics/drm-devel-kmod graphics/gpu-firmware-kmod
WITH_CCACHE_BUILD=yes
WITH_MALLOC_PRODUCTION=yes
%
git -C /usr/ports pull --ff-only && git -C /usr/src pull --ff-only
It is from the Handbook https://docs.freebsd.org/en/books/handbook/x11/From the parallel topic: "startx brings up xfce".
IIRC those are requirements for other things, not for X.
pw showgroup
wheel:*:0:root,myusername
video:*:44:myuserusername
Yes. Added user to the video and wheel groups, but it did not work. I might have skipped some steps while installing xfce. Read a howto article, pkg installed slim, edited /etc/rc.conf to enable mouse, slim, hald and dbus, edited xinitrc to addThat sounds like that your $USER is not in the video group.
exec xfce4-session
echo 'exec startxfce4' > /home/myusername/.xinitrc
nano /usr/local/etc/slim.conf
# in file slim.conf #
current_theme fsbd
hald
Please tell me what is it that I need to remove from my configuration? The linePlease remove it from your configuration.
current_theme fsbd
or the entire slim.conf file or something else? As of now it works fine, but if there is something that you noticed as wrong in the 5 year old howto article that I followed, I will do so immediately.You edited /etc/rc.conf to include a HAL-related line. That one line can/should be removed.
portmaster -a
that is running for the past 5 hours (BSD installed in under 30 minutes but this ports tree fix is taking so long). The command to update the ports tree appears to be compiling every software in the Ports tree. Looks like the O/S in my computer is going to be one with a 100+ GB footprint.