XFCE xorg errors

Hi Experts/Experiences,
I have installed FreeBSD 14 from scratch as can't upgrade from 13, after 6 months tried.
But for more than 3 weeks, I unsuccessful install XORG & XFCE. I have followed FreeBSD handbook, YouTube video, forums, groups and website but still get various error. Such as:
"Cannot run in frambufebuffer mode. Please specify busIDs for all framebuffer devices",
"No screen found",
Blank screen with tiny square and these pictures.
After those errors I tried to follow suggested solution from websites or forums but cannot solve those problems/errors.
So any ideas or suggestion or any proven references or any proven guide from experts or experiences
Thank you
 

Attachments

  • 20240428_064947.jpg
    20240428_064947.jpg
    2 MB · Views: 105
  • 20240428_154948.jpg
    20240428_154948.jpg
    1.6 MB · Views: 112
What graphics card does the machine have? Or, if it's onboard video, what exact CPU model does it have?
 
What graphics card does the machine have? Or, if it's onboard video, what exact CPU model does it have?
Onboard/built in:-
Code:
vgapci1@pci0:0:2:0: class=0x030000 rev=0x07 hdr=0x00 vendor=0x8086 device=0x2a42 subvendor=0x1043 subdevice=0x1bc2
vendor = 'Intel Corporation'
device = 'Mobile 4 Series Chipset Integrated Graphics Controller'
class = display
subclass = VGA
--
vgapci0@pci0:1:0:0: class=0x030000 rev=0xa2 hdr=0x00 vendor=0x10de device=0x0a74 subvendor=0x1043 subdevice=0x1bc2
vendor = 'NVIDIA Corporation'
device = 'GT218M [GeForce G210M]'
class = display
subclass = VGA
already set:
Code:
kld_list="i915kms"
and also
Code:
pkg install nvidia-driver
sysrc kld_list+=nvidia-modeset
 
Code:
vgapci1@pci0:0:2:0: class=0x030000 rev=0x07 hdr=0x00 vendor=0x8086 device=0x2a42 subvendor=0x1043 subdevice=0x1bc2
vendor = 'Intel Corporation'
device = 'Mobile 4 Series Chipset Integrated Graphics Controller'
class = display
subclass = VGA
--
vgapci0@pci0:1:0:0: class=0x030000 rev=0xa2 hdr=0x00 vendor=0x10de device=0x0a74 subvendor=0x1043 subdevice=0x1bc2
vendor = 'NVIDIA Corporation'
device = 'GT218M [GeForce G210M]'
class = display
subclass = VGA
Is this a laptop or a desktop? For a desktop, on what connector is the monitor connected to, the onboard or the external video card?

For the NVidia GT218M you need to use an old NVidia driver; x11/nvidia-driver-340 NVidia dropped support for this card a long time ago.
 
Is this a laptop or a desktop? For a desktop, on what connector is the monitor connected to, the onboard or the external video card?

For the NVidia GT218M you need to use an old NVidia driver; x11/nvidia-driver-340 NVidia dropped support for this card a long time ago.
Laptop onboard.
is it need to use nvidia-driver-340?
So I must use
# pkg install nvidia-driver-340 and
# sysrc kld_list+=nvidia
not
# sysrc kld_list+=nvidia-modeset

Confuse, because on FreeBSD 13 no need to use nvidia-driver-340
 
"Cannot run in frambufebuffer mode. Please specify busIDs for all framebuffer devices",
You have 2 video devices, the message implies you need to create a file to specify which device you want to use.
Can you disable one of the devices in the BIOS? If so, I'd try disable the NVIDIA device and see what happens.
 
You have 2 video devices, the message implies you need to create a file to specify which device you want to use.
Can you disable one of the devices in the BIOS? If so, I'd try disable the NVIDIA device and see what happens.
Why on FreeBSD 13 no need to disable NVIDIA?
 
Did you finally succeed?
As I see the entry in pciconf -lv for your NVIDIA graphics, I can add it to the freebsd-desktop script for auto-detection.
Thank you.
 
Check with kldstat if i915kms.ko is actually loaded.
Yes loaded as below but still get errors ""Cannot run in frambufebuffer mode. Please specify busIDs for all framebuffer devices":

Id Refs Address Size Name
1 92 0xffffffff80200000 1d34598 kernel
2 1 0xffffffff81f36000 5d51c8 zfs.ko
3 1 0xffffffff8250c000 7718 cryptodev.ko
4 1 0xffffffff83000000 963c38 nvidia.ko
5 1 0xffffffff82e20000 31a10 linux.ko
6 2 0xffffffff82e52000 be70 linux_common.ko
7 1 0xffffffff83964000 1b3920 i915kms.ko
8 2 0xffffffff82e5e000 7c050 drm.ko
9 1 0xffffffff82edb000 22b8 iic.ko
10 3 0xffffffff82ede000 3080 linuxkpi_hdmi.ko
11 3 0xffffffff82ee2000 6350 dmabuf.ko
12 3 0xffffffff82ee9000 3378 lindebugfs.ko
13 1 0xffffffff82eed000 b360 ttm.ko
14 1 0xffffffff82ef9000 3390 acpi_wmi.ko
15 1 0xffffffff82efd000 3360 uhid.ko
16 1 0xffffffff82f01000 4364 ums.ko
17 1 0xffffffff82f06000 33c0 usbhid.ko
18 1 0xffffffff82f0a000 3380 hidbus.ko
19 1 0xffffffff82f0e000 4d20 ng_ubt.ko
20 6 0xffffffff82f13000 abb8 netgraph.ko
21 2 0xffffffff82f1e000 a250 ng_hci.ko
22 4 0xffffffff82f29000 2670 ng_bluetooth.ko
23 1 0xffffffff82f2c000 e268 ng_l2cap.ko
24 1 0xffffffff82f3b000 1bf68 ng_btsocket.ko
25 1 0xffffffff82f57000 38f8 ng_socket.ko
 
Back
Top