Hello to everybody.
First steps here with freebsd. I come from Linux,but I've realized that it became a moster of complexity and I'm tired of it. I wanna try freebsd to relax myself a little bit. Anyway,I'm not involved in any company and I haven't a great job experience with linux. I'm an hobbyist. With that said,I'm here to ask some help to fix a problem with Xorg and the display driver that prevents me from using freebsd.
Everything worked great until I have installed the closed source nvidia driver for freebsd that I've got here :
https://www.nvidia.it/Download/driverResults.aspx/175998/it :
It added these entries inside the /etc/X11/xorg.conf file :
and also these entries inside the file /etc/loader.conf
but with these modifications,Xorg stopped working,telling : "no screens found". Ok that's right,because on the BIOS I have chosen the Intel UHD Graphics 630 as default graphic card to boot with (IGFX integrated chipset inside the motherboard : Intel I9 + Gigabyte Aorus PRO : (Subsystem: Gigabyte Technology Co., Ltd 8th/9th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]),so the nvidia driver can't be used. So,this is what I did to remove it and to use the intel driver. First of all I have added to this file :
/boot/loader.conf
this entry :
and then I have installed this package :
in addition,I have renamed the file /etc/X11/xorg.conf to xorg._conf and I have created this file :
/usr/local/etc/X11/xorg.conf.d/10-intel.conf
that I have copied also inside the folder /etc/X11 with the name of xorg.conf
the UHD graphics 630 chipset is located at the address : 00:02.0,as the command lspci -k given in Linux,says :
Something is broken,anyway,because this is what happens when I write "startx" from freebsd :
So,lets make a recap : These are my :
and my /etc/rc.conf
So,I don't know what could be wrong. Can someone give me some suggestion ? thanks.
First steps here with freebsd. I come from Linux,but I've realized that it became a moster of complexity and I'm tired of it. I wanna try freebsd to relax myself a little bit. Anyway,I'm not involved in any company and I haven't a great job experience with linux. I'm an hobbyist. With that said,I'm here to ask some help to fix a problem with Xorg and the display driver that prevents me from using freebsd.
Everything worked great until I have installed the closed source nvidia driver for freebsd that I've got here :
https://www.nvidia.it/Download/driverResults.aspx/175998/it :
FreeBSD Display Driver – x64
Versione: | 460.84 |
Data di rilascio: | 2021.6.3 |
Sistema operativo: | FreeBSD x64 |
Lingua: | Italiano |
Dimensioni: | 103.27 MB |
It added these entries inside the /etc/X11/xorg.conf file :
Code:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
and also these entries inside the file /etc/loader.conf
Code:
nvidia_load="YES"
nvidia_name="nvidia"
nvidia_modeset_load="YES"
nvidia_modeset_name="nvidia-modeset"
but with these modifications,Xorg stopped working,telling : "no screens found". Ok that's right,because on the BIOS I have chosen the Intel UHD Graphics 630 as default graphic card to boot with (IGFX integrated chipset inside the motherboard : Intel I9 + Gigabyte Aorus PRO : (Subsystem: Gigabyte Technology Co., Ltd 8th/9th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]),so the nvidia driver can't be used. So,this is what I did to remove it and to use the intel driver. First of all I have added to this file :
/boot/loader.conf
this entry :
Code:
i915kms_load="YES"
and then I have installed this package :
Code:
pkg install xf86-video-intel
in addition,I have renamed the file /etc/X11/xorg.conf to xorg._conf and I have created this file :
/usr/local/etc/X11/xorg.conf.d/10-intel.conf
Code:
Section "Device"
Identifier "Card0"
Driver "intel"
BusID "PCI:0:0:2:0"
EndSection
that I have copied also inside the folder /etc/X11 with the name of xorg.conf
the UHD graphics 630 chipset is located at the address : 00:02.0,as the command lspci -k given in Linux,says :
Code:
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] (rev 02)
DeviceName: Onboard - Video
Subsystem: Gigabyte Technology Co., Ltd UHD Graphics 630 (Desktop 9 Series)
Kernel driver in use: i915
Kernel modules: i915
Something is broken,anyway,because this is what happens when I write "startx" from freebsd :
Intel: Driver for Intel integrated chipsets : i810,i810-dc100,i810e,i815,i830M,845G,854,852GM/855GM,865G,915G,E7221 (i915),915GM,945G,945GM,945GME,Pineview GM,Pineview G,965G,G35,965Q,946GZ,965GM,965GME/GLE,G33,Q35,Q33,GM45, 4 series,G45/G43,Q45/Q43,G41,B43
Intel: driver for intel HD graphics
intel: driver for intel Iris graphics
Intel: driver for intel iris pro graphics
using syscons driver with X support (version 2.0)
using VT number 9
No devices detected.
No screens found (EE)
So,lets make a recap : These are my :
Code:
/boot/loader.conf
vmm_load="YES"
nmdm_load="YES"
if_tap_load="YES"
if_bridge_load="YES"
#nvidia_load="YES"
#nvidia_name="nvidia"
#nvidia_modeset_load="YES"
#nvidia_modeset_name="nvidia-modeset"
i915kms_load="YES"
and my /etc/rc.conf
Code:
hostname="lozioma"
keymap="it.kbd"
ifconfig_em0="DHCP"
local_outbound_enable="YES"
sshd_enable="YES"
hald_enable="YES"
dbus_enable="YES"
moused_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
libvirt_enable="YES"
dumpdev="AUTO"
linux_enable="YES"
So,I don't know what could be wrong. Can someone give me some suggestion ? thanks.