Solved Fatal Xorg server error

default /etc/X11/xorg.conf.d/20-radeon.conf
/usr/local/etc/X11/xorg.conf.d/20-radeon.conf
This is for didactic purposes take your settings in which you put here, and modify xorg.conf manually
Code:
20-radeon.conf

Section "Device"
    Identifier     "Device0"
    Driver         "Radeon"
    BusID          "PCI:5:0:0"
    Option         "Monitor-eDP-1" "eDP-1"
EndSection
 
the driver is not necessary, ok we have already analyzed this. but what is needed is to configure. the xorg.conf, and put the correct information and then as radeon or amd, correctly.
 
It's much better !

this is the /var/log/Xorg.0.log


Code:
       ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
        ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
        REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
        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
[  1269.231] (--) Using syscons driver with X support (version 2.0)
[  1269.231] (--) using VT number 9

[  1269.241] (EE) No devices detected.
[  1269.241] (EE)
Fatal server error:
[  1269.241] (EE) no screens found(EE)
[  1269.241] (EE)
xorg.conf change ati driver
Code:
        Identifier  "Card0"
        Driver      "ati"
        BusID       "PCI:48:0:0"
EndSection
If you have an order to evaluate the graphics card, I cannot find the model of my graphics card, I searched the internet for the model of my motherboard which is MSI A520M - A -pro, It does not give details on the video chip.
 
Please clarify - are we supposed to use xorg.conf or delete. Nvidia made mine.

Mine is functional for XFCE4 - install fixed enough for X to run. But Gnome3 and Cinnamon don't.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 470.86


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection
 
BTW, you are trying to run Xorg as root which is not recommended at all.
I had to do same, as default install leaves sudo (which i am used to) non-functional and various how-to's available were different and incomplete.
It appears root $ visudo is the correct answer.
 
good try to install gpu firmware, then load kldload drm load the module from your video card.
 
I recommend to try to stick to official documentation in the first instance, and try other stuff after.

https://freebsdfoundation.org/freebsd-project/resources/installing-a-desktop-environment-on-freebsd/

Note that in trying to figure how to exit a crashed Xsession with <ctrl>-<alt>-<bksp> disabled, it appears that <ctrl>-<alt>-<F1> works.

My system appears mostly working now - gnome permits desktop setting choice at login screen. Cinnamon terminal font is messed with big gaps between letters.

Code:
~ $ cat .xinitrc
# exec ck-launch-session mate-session
# exec /usr/local/bin/cinnamon
 exec /usr/local/bin/gnome-session
# exec /usr/local/bin/startxfce4 --with-ck-launch
~ $

Code:
~ $ cat /etc/rc.conf
sendmail_enable="NONE"
hostname="hpz2freebsd"
ifconfig_em0="inet 192.168.1.10 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
# kld_list="i915kms"
kld_list="nvidia-modeset"
dbus_enable="YES"
gdm_enable="YES"
# slim_enable="YES"
hald_enable="YES"
~ $

Using Cinnamon since it has better functionality so far, with bugs:
* some default fonts are not set
* no access to System Info
* no access to Users and Groups
* no sound despite drivers all present and settings available
 

It was relevant in 2019 (when I bookmarked it) but please, what's the relevance now? It's in a deprecated area.

Note this, not in a deprecated area:

 
Using Cinnamon since it has better functionality so far, with bugs:
* some default fonts are not set
* no access to System Info
* no access to Users and Groups
* no sound despite drivers all present and settings available
So sound actually works, just system sounds and the system settings not working. Must be some permissions issue...clues welcome since Google isn't helping me so far.
 
After investigating the motherboard, the graphics chipset is in the processor. on the motherboard there is no graphics chipset. The graphics chipset model is radeon vk7graphics.
 
look for this particular name here

graphics/gpu-firmware-kmod : install

xf86-video-amdgpu : install

drm-kmod : install

I redid an installation of my system, to avoid driver conflicts, I applied what Dimitri advised me.
I applied the amdgpu driver.
but the X server gives me errors :
/var/log/Xorg.1.log

Code:
1633.913] (II) LoadModule: "glx"
[  1633.913] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  1633.913] (II) Module glx: vendor="X.Org Foundation"
[  1633.913]    compiled for 1.20.13, module version = 1.0.0
[  1633.913]    ABI class: X.Org Server Extension, version 10.0
[  1633.913] (II) LoadModule: "amdgpu"
[  1633.913] (II) Loading /usr/local/lib/xorg/modules/drivers/amdgpu_drv.so
[  1633.914] (II) Module amdgpu: vendor="X.Org Foundation"
[  1633.914]    compiled for 1.20.13, module version = 19.1.0
[  1633.914]    Module class: X.Org Video Driver
[  1633.914]    ABI class: X.Org Video Driver, version 24.1
[  1633.914] (II) AMDGPU: Driver for AMD Radeon:
        All GPUs supported by the amdgpu kernel driver
[  1633.914] (--) Using syscons driver with X support (version 2.0)
[  1633.914] (--) Using syscons driver with X support (version 2.0)
[  1633.914] (--) using VT number 9
[  1633.924] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
[  1633.924] (II) AMDGPU(1): [KMS] drm report modesetting isn't supported.
[  1633.924] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1633.924] (EE) Screen 0 deleted because of no matching config section.
[  1633.924] (II) UnloadModule: "amdgpu"
[  1633.924] (EE) Screen 0 deleted because of no matching config section.
[  1633.924] (II) UnloadModule: "amdgpu"
[  1633.924] (EE) Device(s) detected, but none match those in the config file.
[  1633.924] (EE)
Fatal server error:
[  1633.924] (EE) no screens found(EE)
[  1633.924] (EE)
Please consult the The X.Org Foundation support

as observed : drm report modesetting isn't supported.
Now I also have a screen confit, he finds two screens.

if I choose "vesa" as drivers of xorg.conf, everything works fine in high resolution!
 
Its still not clear with the gpu of philo_neo have been picked up by an drm driver.

It would be good to see something from /var/log/messages if the drm driver have loaded. (Some firmware images for example)

Device(s) detected, but none match those in the config file.

Looks like a misconfigured config for me.

If only one card is present you also dont need to specify the BusID.

For using xf86-video-amdgpu atleast

Code:
Section "Device"

Identifier "Card0"

Driver "amdgpu"

EndSection

is needed.
 
if it is able to compile a kernel, with code assigned to the hardware.
 
it doesn't matter if graphics acceleration, just has to work. graphics acceleration if it wants, it goes optimizing, with freebsd kernel optimization parameters. the important thing here is to work, if it were on NetBSD would already take a scolding, is becoming a Linux, or something you pick up some junk and loads, without even making sure, that this will keep your hardware stable.

you have to learn one thing, that not everything will work as we expect, more part of the code, yes it can work running on your hardware. the graphical interface, is something that is also not part of the system, is something that has to be dealt with by the administrator.
 
Back
Top