Xserver errors

Hello,
I try FreeBSD 14 release, i work on AMD ryzen 5 pro with video into the processor.
When i do a command startx i have this output :
Code:
root@hpc-pluton:/home/phipo # startx
xauth:  file /root/.serverauth.1173 does not exist


X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
Current Operating System: FreeBSD hpc-pluton 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
 
Current version of pixman: 0.42.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 20 17:07:15 2024
(==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
scfb trace: probe start
scfb trace: probe done
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
root@hpc-pluton:/home/phipo #

root@hpc-pluton:/home/phipo # nano /var/log/Xorg.0.log

Code:
       AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
        AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
        ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
        MULLINS, KAVERI, HAWAII
[   835.586] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   835.586] (II) scfb: driver for wsdisplay framebuffer: scfb
[   835.586] (II) VESA: driver for VESA chipsets: vesa
[   835.586] (--) Using syscons driver with X support (version 2.0)
[   835.586] (--) using VT number 9

[   835.587] (EE) open /dev/dri/card0: No such file or directory
[   835.587] (WW) Falling back to old probe method for modesetting
[   835.587] (EE) open /dev/dri/card0: No such file or directory
[   835.587] (WW) Falling back to old probe method for scfb
[   835.587] scfb trace: probe start
[   835.587] (II) scfb(1): using default device
[   835.587] scfb trace: probe done
[   835.587] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   835.587] (EE) Screen 0 deleted because of no matching config section.
[   835.587] (II) UnloadModule: "modesetting"
[   835.587] (EE)
 
have do
# pkg install drm-kmod
and
/etc/rc.conf file,
# sysrc kld_list+=amdgpu

errors server X
 
Last edited by a moderator:
Code:
no multi-card support

Do you have more than one graphics card?

First of all, check whether an entry in rc.conf with this syntax will work
Code:
kld_list="amdgpu"

or

Code:
#kldload amdgpu
 
no graphics card, before with Freebsd 13, X run as well without xorg.conf.
The processor have a chipset video, output is 4K definition.

this is the outputs :
Code:
ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
        AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
        AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
        ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
        MULLINS, KAVERI, HAWAII
[  3497.429] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3497.429] (II) scfb: driver for wsdisplay framebuffer: scfb
[  3497.429] (II) VESA: driver for VESA chipsets: vesa
[  3497.429] (--) Using syscons driver with X support (version 2.0)
[  3497.429] (--) using VT number 9

[  3497.429] (EE) open /dev/dri/card0: No such file or directory
[  3497.429] (WW) Falling back to old probe method for modesetting
[  3497.429] (EE) open /dev/dri/card0: No such file or directory
[  3497.429] (WW) Falling back to old probe method for scfb
[  3497.429] scfb trace: probe start
[  3497.429] (II) scfb(1): using default device
[  3497.429] scfb trace: probe done
[  3497.429] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  3497.429] (EE) Screen 0 deleted because of no matching config section.
[  3497.429] (II) UnloadModule: "modesetting"

same error
it don't find the video card

this is my /etc/rc.conf

Code:
hostname="hpc-pluton"
keymap="fr.kbd"
ifconfig_re0="DHCP"
ifconfig_re0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
moused_nondefault_enable="NO"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
dbus_enable="YES"
sddm_enable="YES"
sysrc kld_list+=amdgpu
kld_list="amdgpu"
 
Last edited by a moderator:
Remove "sysrc kld_list+=amdgpu" from your rc.conf. You didn't understand where this command has to be typed. But, kld_list="amdgpu" should be enough for that part of the config.

It lacks the X11 config file... Read once again the handbook.
 
#kldstat

Code:
┌──(root㉿kpc-tulipe)-[/home/phipo]
└─# ssh 192.168.1.114
([email]root@192.168.1.114[/email]) Password for root@hpc-pluton:
([email]root@192.168.1.114[/email]) Password for root@hpc-pluton:
Last login: Mon Apr 22 11:56:03 2024 from 192.168.1.113
FreeBSD 14.0-RELEASE (GENERIC) #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023

Welcome to FreeBSD!

Release Notes, Errata: [URL]https://www.freebsd.org/releases/[/URL]
Security Advisories:   [URL]https://www.freebsd.org/security/[/URL]
FreeBSD Handbook:      [URL]https://www.freebsd.org/handbook/[/URL]
FreeBSD FAQ:           [URL]https://www.freebsd.org/faq/[/URL]
Questions List:        [URL]https://www.freebsd.org/lists/questions/[/URL]
FreeBSD Forums:        [URL]https://forums.freebsd.org/[/URL]

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

To change this login announcement, see motd(5).
root@hpc-pluton:~ # kldstat
Id Refs Address                Size Name
 1  101 0xffffffff80200000  1d34598 kernel
 2    1 0xffffffff81f36000   5d51c8 zfs.ko
 3    1 0xffffffff8250c000     7718 cryptodev.ko
 4    1 0xffffffff83200000   502958 amdgpu.ko
 5    2 0xffffffff83110000    7c050 drm.ko
 6    1 0xffffffff8318d000     22b8 iic.ko
 7    3 0xffffffff83190000     3080 linuxkpi_hdmi.ko
 8    3 0xffffffff83194000     6350 dmabuf.ko
 9    3 0xffffffff8319b000     3378 lindebugfs.ko
10    1 0xffffffff8319f000     b360 ttm.ko
11    1 0xffffffff831ab000     64e0 amdgpu_renoir_sdma_bin.ko
12    1 0xffffffff831b2000    2c2e0 amdgpu_renoir_asd_bin.ko
13    1 0xffffffff831df000     c4e0 amdgpu_renoir_ta_bin.ko
14    1 0xffffffff831ec000     7560 amdgpu_renoir_pfp_bin.ko
15    1 0xffffffff831f4000     6560 amdgpu_renoir_me_bin.ko
16    1 0xffffffff831fb000     4560 amdgpu_renoir_ce_bin.ko
17    1 0xffffffff83703000     bcd8 amdgpu_renoir_rlc_bin.ko
18    1 0xffffffff8370f000    43800 amdgpu_renoir_mec_bin.ko
19    1 0xffffffff83753000    1fbe8 amdgpu_renoir_dmcub_bin.ko
20    1 0xffffffff83773000    645a0 amdgpu_renoir_vcn_bin.ko
21    1 0xffffffff837d8000     3390 acpi_wmi.ko
22    1 0xffffffff837dc000     3220 intpm.ko
23    1 0xffffffff837e0000     2178 smbus.ko
24    1 0xffffffff837e3000     3360 uhid.ko
25    1 0xffffffff837e7000     4364 ums.ko
26    1 0xffffffff837ec000     33c0 usbhid.ko
27    1 0xffffffff837f0000     3380 hidbus.ko
28    1 0xffffffff837f4000     3360 wmt.ko
root@hpc-pluton:~ #

Now I have a session manager of KDE5.
the Xserver run well but the session manager when I'm logging block the computer.
 
I see that the module is loaded. Since the session manager probably KDM is blocking the computer, I suggest disabling all entries related to this nanager and try to enable xorg with:

Code:
#startx /usr/local/bin/startplsama-x11

But I'm not sure of programmname.
 
the session manager probably KDM is blocking the computer, what is the true rights for a classic user.
Maybe a command line doesn't in the config files.
The command ssh run as well, i forgot but there are a parametres for active the LDAP to session manager ?
 
The session manager starts with root privileges, is need to provide the path to the program that launches the rest of kde in its configuration file. (startplasma-x11) and the rest works with the user's preferences who run xorg. Other than that it doesn't matter, it should work any way.
 
Code:
┌──(root㉿kpc-tulipe)-[/home/phipo]
└─# ssh 192.168.1.114
([email]root@192.168.1.114[/email]) Password for root@hpc-pluton:
([email]root@192.168.1.114[/email]) Password for root@hpc-pluton:
Last login: Mon Apr 22 11:56:03 2024 from 192.168.1.113
FreeBSD 14.0-RELEASE (GENERIC) #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023

I don't understand why you log in via SSH to the computer on which you want to run Xorg.
 
Back
Top