Solved Raptor Lake-S UHD Graphics... GTX2060 instead !

Hello everyone,

Trying to install FreeBSD 13.1 and xfce/slim on a custom PC tower.
Motherboard : Asrock H610M-HVS/M.2 R2.0
CPU : Intel I9-13900K

Installation is ok (both 14 and 13.1).
No problem.
But I get Fatal server error while trying to start xfce4, startx...
Code:
Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices.
I'm sure it's coming from graphics.

Here is a reduced extract of the script I use to set up XFCE environnment :
Code:
echo "nameserver 1.1.1.1" > /etc/resolv.conf
echo "-----------------------------------"
echo "Enter user"
read user
clear
echo "-----------------------------------"
pkg install -y xorg sudo chromium slim slim-themes networkmgr unzip xfce xf86-video-intel drm-kmod
sysrc dbus_enable=YES hald_enable=YES slim_enable=YES kld_list="i915kms" networkmgr_enable=YES
pw groupadd sudo
pw groupmod sudo -m $user
pw groupmod video -m $user
pw groupmod wheel -m $user
sed -i '' "s/# %sudo/ %sudo/" /usr/local/etc/sudoers
sed -i '' "s/# %wheel/ %wheel/" /usr/local/etc/sudoers
echo "startxfce4" > /usr/home/$user/.xinitrc
reboot

Code:
pciconf -lv
gives :
Code:
Raptor Lake-S UHD Graphics
According to Intel site, the model is UHD 770
I tried the solutions with rocketlake but it's not working (logical), drm-510-kmod...
Nothing is working, same error each time.

Does anyone has an idea ?
I read that Raptor Lake are pretty annoying with BSDs.
Do you think I'll be obliged to buy and set another GPU ?

Thank you very much in advance
 
That's exactly what I did today !! 🤣...
So I bought a GTX2060.
I explain here how I configured it, because it's not obvious. It may help newbies.
First, the i9-13900K has GPU integrated, and as everyone has understood, I did not find how to make it work.

So after you add an additional GPU (GTX2060 in my case),
there are a few things to do after having installed xorg and slim/xfce packages or whatever...

1) Install correct Nvidia drivers :
Code:
pkg ins -y nvidia-driver
Thanks to Nvidia, we know which GPU is supposed to be supported : https://www.nvidia.com/Download/driverResults.aspx/194570/en-us/

2) Set proper kld_list in /etc/rc.conf :
Code:
sysrc kld_list=nvidia-modeset
It's my third "modern" nvidia GPU, and kld_list="nvidia" just never worked for me 🤣

3) Set automatic start for Nvidia module :
Code:
echo 'nvidia_load="YES"' >> /boot/loader.conf

3) Locate the correct BusID of the GTX :
Code:
pciconf -lv | less
you should see somewhere
Code:
vgapci0@pci0:1:0:0 ...
vendor    =    'NVIDIA Corporation'
device    =    'TU106    [GeForce RTX 2060 Rev. A]'
class    =    display
So the GTX card is located to PCI:1:0:0

4) Write a Xorg conf file for the GPU :
Code:
vi /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf
#
Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BusID        "PCI:1:0:0"
EndSection
#

5) Reboot
 
Load the module via kld_list (preferred) OR loader.conf. Not both. It won't hurt but now it's going to try to load it twice 😁
 
Back
Top