Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Issues with getting X to start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Levitiku5
n00b
n00b


Joined: 29 Dec 2019
Posts: 4

PostPosted: Sun Dec 29, 2019 7:05 am    Post subject: [Solved] Issues with getting X to start Reply with quote

A big hello to the Gentoo community!
I am new to Gentoo coming from Debian, but I am still somewhat of a Linux noob. The installation went smoothly, and I am looking at a somewhat fresh install. I am trying to set up a desktop environment (MATE), but I am having trouble getting Xorg to start. I have scoured the internet looking for potential causes to my issues, but frankly I am stumped.

I am getting a no screens error caused by the error "Screen 0 deleted because of no matching config section." X fails to start. Here is the log file:
Code:

[    92.181]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[    92.181] Build Operating System: Linux 4.19.86-gentoo x86_64 Gentoo
[    92.181] Current Operating System: Linux levitiku5-pc 4.19.86-gentoo #1 SMP Thu Dec 19 01:17:41 MST 2019 x86_64
[    92.181] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.19.86-gentoo root=/dev/nvme0n1p7 ro
[    92.181] Build Date: 28 December 2019  10:59:02PM
[    92.181] 
[    92.181] Current version of pixman: 0.38.4
[    92.181]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    92.181] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    92.181] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 28 23:15:47 2019
[    92.182] (==) Using config file: "/etc/X11/xorg.conf"
[    92.182] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    92.182] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    92.183] (==) ServerLayout "X.org Configured"
[    92.183] (**) |-->Screen "Screen0" (0)
[    92.183] (**) |   |-->Monitor "Monitor0"
[    92.183] (**) |   |-->Device "Card0"
[    92.183] (**) |-->Screen "Screen1" (1)
[    92.183] (**) |   |-->Monitor "Monitor1"
[    92.183] (**) |   |-->Device "Card1"
[    92.183] (**) |-->Input Device "Mouse0"
[    92.183] (**) |-->Input Device "Keyboard0"
[    92.183] (==) Automatically adding devices
[    92.183] (==) Automatically enabling devices
[    92.183] (==) Automatically adding GPU devices
[    92.184] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    92.184] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[    92.184]    Entry deleted from font path.
[    92.184] (**) FontPath set to:
   
[    92.184] (**) ModulePath set to "/usr/lib64/xorg/modules"
[    92.184] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    92.184] (WW) Disabling Mouse0
[    92.184] (WW) Disabling Keyboard0
[    92.184] (II) Loader magic: 0x55f963e3cc60
[    92.184] (II) Module ABI versions:
[    92.184]    X.Org ANSI C Emulation: 0.4
[    92.184]    X.Org Video Driver: 24.0
[    92.184]    X.Org XInput driver : 24.1
[    92.184]    X.Org Server Extension : 10.0
[    92.187] (--) PCI:*(7@0:0:0) 1002:15d8:1043:876b rev 200, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfca00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[    92.187] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    92.187] (II) LoadModule: "glx"
[    92.188] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    92.197] (II) Module glx: vendor="X.Org Foundation"
[    92.197]    compiled for 1.20.5, module version = 1.0.0
[    92.197]    ABI class: X.Org Server Extension, version 10.0
[    92.197] (II) LoadModule: "amdgpu"
[    92.197] (II) Loading /usr/lib64/xorg/modules/drivers/amdgpu_drv.so
[    92.198] (II) Module amdgpu: vendor="X.Org Foundation"
[    92.198]    compiled for 1.20.5, module version = 19.1.0
[    92.198]    Module class: X.Org Video Driver
[    92.198]    ABI class: X.Org Video Driver, version 24.0
[    92.198] (II) AMDGPU: Driver for AMD Radeon:
   All GPUs supported by the amdgpu kernel driver
[    92.198] (--) using VT number 7

[    92.200] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
[    92.200] (II) AMDGPU(1): [KMS] drm report modesetting isn't supported.
[    92.200] (EE) Screen 0 deleted because of no matching config section.
[    92.200] (II) UnloadModule: "amdgpu"
[    92.200] (EE) Screen 0 deleted because of no matching config section.
[    92.200] (II) UnloadModule: "amdgpu"
[    92.200] (EE) Device(s) detected, but none match those in the config file.
[    92.200] (EE)
Fatal server error:
[    92.200] (EE) no screens found(EE)
[    92.200] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[    92.200] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    92.200] (EE)
[    92.204] (EE) Server terminated with error (1). Closing log file.


My graphics card is the integrated Vega graphics in the AMD Ryzen 5 3400G APU.
My kernel version is linux-4.19.86-gentoo. I have configured and compiled genkernel with a few required changes.
Xorg version: xorg-server-1.20.5
My setup should be similar to what is found in the Gentoo installation handbook (mostly followed the default path).

Below I have detailed the steps I have already taken to remedy the issue:
followed this guide to configure my kernel, ensuring to build amdgpu as a module: https://wiki.gentoo.org/wiki/AMDGPU
Emerged /sys-kernel/linux-firmware
Emerged the amdgpu drivers
updated my make.conf file with required vars, then emerged @world. Here is my make.conf file:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=znver2 -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
ACCEPT_LICENSE="* -@EULA"
MAKEOPTS="-j5"
GRUB_PLATFORMS="efi-64"
INPUT_DEVICES="libinput"
VIDEO_CARDS="amdgpu radeonsi"


When I run the startx command without a conf file, this is the output:
Code:

[   234.788]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   234.790] Build Operating System: Linux 4.19.86-gentoo x86_64 Gentoo
[   234.791] Current Operating System: Linux levitiku5-pc 4.19.86-gentoo #1 SMP Thu Dec 19 01:17:41 MST 2019 x86_64
[   234.791] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.19.86-gentoo root=/dev/nvme0n1p7 ro
[   234.793] Build Date: 28 December 2019  10:59:02PM
[   234.793] 
[   234.794] Current version of pixman: 0.38.4
[   234.795]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   234.795] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   234.798] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 28 23:18:09 2019
[   234.799] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   234.799] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   234.800] (==) No Layout section.  Using the first Screen section.
[   234.800] (==) No screen section available. Using defaults.
[   234.800] (**) |-->Screen "Default Screen Section" (0)
[   234.800] (**) |   |-->Monitor "<default monitor>"
[   234.800] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   234.800] (==) Automatically adding devices
[   234.800] (==) Automatically enabling devices
[   234.800] (==) Automatically adding GPU devices
[   234.800] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   234.800] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (==) FontPath set to:
   
[   234.800] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   234.800] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   234.800] (II) Loader magic: 0x55c8cf3d0c60
[   234.800] (II) Module ABI versions:
[   234.800]    X.Org ANSI C Emulation: 0.4
[   234.800]    X.Org Video Driver: 24.0
[   234.800]    X.Org XInput driver : 24.1
[   234.800]    X.Org Server Extension : 10.0
[   234.803] (--) PCI:*(7@0:0:0) 1002:15d8:1043:876b rev 200, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfca00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   234.803] (II) LoadModule: "glx"
[   234.803] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   234.803] (II) Module glx: vendor="X.Org Foundation"
[   234.803]    compiled for 1.20.5, module version = 1.0.0
[   234.803]    ABI class: X.Org Server Extension, version 10.0
[   234.803] (==) Matched ati as autoconfigured driver 0
[   234.803] (==) Matched modesetting as autoconfigured driver 1
[   234.803] (==) Matched fbdev as autoconfigured driver 2
[   234.803] (==) Matched vesa as autoconfigured driver 3
[   234.818] (==) Assigned the driver to the xf86ConfigLayout
[   234.818] (II) LoadModule: "ati"
[   234.818] (WW) Warning, couldn't open module ati
[   234.818] (EE) Failed to load module "ati" (module does not exist, 0)
[   234.818] (II) LoadModule: "modesetting"
[   234.818] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   234.818] (II) Module modesetting: vendor="X.Org Foundation"
[   234.818]    compiled for 1.20.5, module version = 1.20.5
[   234.818]    Module class: X.Org Video Driver
[   234.818]    ABI class: X.Org Video Driver, version 24.0
[   234.818] (II) LoadModule: "fbdev"
[   234.818] (WW) Warning, couldn't open module fbdev
[   234.818] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   234.818] (II) LoadModule: "vesa"
[   234.818] (WW) Warning, couldn't open module vesa
[   234.818] (EE) Failed to load module "vesa" (module does not exist, 0)
[   234.818] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   234.818] (--) using VT number 7

[   234.820] (EE) open /dev/dri/card0: No such file or directory
[   234.820] (WW) Falling back to old probe method for modesetting
[   234.820] (EE) open /dev/dri/card0: No such file or directory
[   234.820] (EE) Screen 0 deleted because of no matching config section.
[   234.820] (II) UnloadModule: "modesetting"
[   234.820] (EE) Device(s) detected, but none match those in the config file.
[   234.820] (EE)
Fatal server error:
[   234.820] (EE) no screens found(EE)
[   234.820] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   234.820] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   234.820] (EE)
[   234.824] (EE) Server terminated with error (1). Closing log file.

It is only after manually creating a xorg.conf file that I get the first mentioned log file with less errors. Here is my current xorg.conf file:
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" RightOf "Screen0"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Monitor"
   Identifier   "Monitor1"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                 # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "EnablePageFlip"        # [<bool>]
        #Option     "SubPixelOrder"         # [<str>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "AccelMethod"           # <str>
        #Option     "DRI3"                  # [<bool>]
        #Option     "DRI"                   # <i>
        #Option     "ShadowPrimary"         # [<bool>]
        #Option     "TearFree"              # [<bool>]
        #Option     "DeleteUnusedDP12Displays"    # [<bool>]
        #Option     "VariableRefresh"       # [<bool>]
   Identifier  "Card0"
   Driver      "amdgpu"
   BusID       "PCI:7:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                 # [<bool>]
        #Option     "SWcursor"              # [<bool>]
        #Option     "EnablePageFlip"        # [<bool>]
        #Option     "SubPixelOrder"         # [<str>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "AccelMethod"           # <str>
        #Option     "DRI3"                  # [<bool>]
        #Option     "DRI"                   # <i>
        #Option     "ShadowPrimary"         # [<bool>]
        #Option     "TearFree"              # [<bool>]
        #Option     "DeleteUnusedDP12Displays"    # [<bool>]
        #Option     "VariableRefresh"       # [<bool>]
   Identifier  "Card1"
   Driver      "amdgpu"
   BusID       "PCI:7:0:1"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device     "Card1"
   Monitor    "Monitor1"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


So that's the long and short of it. I have tried messing around with the xorg.conf file but with no success. However, I don't really understand the error that I'm getting so I'm stuck on how to troubleshoot this. This is the guide I followed to set up X: https://wiki.gentoo.org/wiki/Xorg/Guide

Any help would be greatly appreciated, thank you very much for your time :)


Last edited by Levitiku5 on Mon Jan 06, 2020 5:21 am; edited 1 time in total
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1159
Location: switzerland

PostPosted: Sun Dec 29, 2019 7:21 am    Post subject: Reply with quote

do you use card0 and card1 but in the conf file are not presented

did you already read this wiki? https://wiki.gentoo.org/wiki/Xorg/Guide
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 331
Location: Germany

PostPosted: Sun Dec 29, 2019 9:56 am    Post subject: Reply with quote

Also it looks like you need this one https://wiki.gentoo.org/wiki/AMDGPU instead of the default Xorg guide.
_________________
My personal space
Back to top
View user's profile Send private message
kajzer
l33t
l33t


Joined: 27 Nov 2014
Posts: 641

PostPosted: Sun Dec 29, 2019 10:21 am    Post subject: Reply with quote

You don't really need xorg.conf file
Try removing that one and create /etc/X11/xorg.conf.d/20-amdgpu.conf
with following inside that file

Code:
Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "TearFree" "true"
EndSection
Back to top
View user's profile Send private message
Levitiku5
n00b
n00b


Joined: 29 Dec 2019
Posts: 4

PostPosted: Sun Dec 29, 2019 8:18 pm    Post subject: Reply with quote

Thank you everybody for the responses.

luna80 wrote:
do you use card0 and card1 but in the conf file are not presented

did you already read this wiki? https://wiki.gentoo.org/wiki/Xorg/Guide


I have indeed reviewed the wiki https://wiki.gentoo.org/wiki/Xorg/Guide. I don't understand the first part of your reply though. Sprechen sie Deutsch?

Banana wrote:
Also it looks like you need this one https://wiki.gentoo.org/wiki/AMDGPU instead of the default Xorg guide.


I have indeed reviewed the wiki https://wiki.gentoo.org/wiki/AMDGPU.

kajzer wrote:
You don't really need xorg.conf file
Try removing that one and create /etc/X11/xorg.conf.d/20-amdgpu.conf
with following inside that file

Code:
Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "TearFree" "true"
EndSection


I followed these instructions but X still fails. Here is the log file that was generated after the above changes were made:
Code:

[   373.652]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   373.654] Build Operating System: Linux 4.19.86-gentoo x86_64 Gentoo
[   373.654] Current Operating System: Linux levitiku5-pc 4.19.86-gentoo #1 SMP Thu Dec 19 01:17:41 MST 2019 x86_64
[   373.654] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.19.86-gentoo root=/dev/nvme0n1p7 ro
[   373.656] Build Date: 28 December 2019  10:59:02PM
[   373.657] 
[   373.657] Current version of pixman: 0.38.4
[   373.659]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   373.659] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   373.662] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 29 13:05:55 2019
[   373.663] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   373.663] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   373.663] (==) No Layout section.  Using the first Screen section.
[   373.663] (==) No screen section available. Using defaults.
[   373.663] (**) |-->Screen "Default Screen Section" (0)
[   373.663] (**) |   |-->Monitor "<default monitor>"
[   373.664] (==) No device specified for screen "Default Screen Section".
   Using the first device section listed.
[   373.664] (**) |   |-->Device "AMD"
[   373.664] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   373.664] (==) Automatically adding devices
[   373.664] (==) Automatically enabling devices
[   373.664] (==) Automatically adding GPU devices
[   373.664] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   373.664] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[   373.664]    Entry deleted from font path.
[   373.664] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   373.664]    Entry deleted from font path.
[   373.664] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   373.664]    Entry deleted from font path.
[   373.664] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   373.664]    Entry deleted from font path.
[   373.664] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[   373.664]    Entry deleted from font path.
[   373.664] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[   373.664]    Entry deleted from font path.
[   373.664] (==) FontPath set to:
   
[   373.664] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   373.664] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   373.664] (II) Loader magic: 0x55dde1eacc60
[   373.664] (II) Module ABI versions:
[   373.664]    X.Org ANSI C Emulation: 0.4
[   373.664]    X.Org Video Driver: 24.0
[   373.664]    X.Org XInput driver : 24.1
[   373.664]    X.Org Server Extension : 10.0
[   373.667] (--) PCI:*(7@0:0:0) 1002:15d8:1043:876b rev 200, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfca00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   373.667] (II) LoadModule: "glx"
[   373.667] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   373.668] (II) Module glx: vendor="X.Org Foundation"
[   373.668]    compiled for 1.20.5, module version = 1.0.0
[   373.668]    ABI class: X.Org Server Extension, version 10.0
[   373.668] (II) LoadModule: "amdgpu"
[   373.668] (II) Loading /usr/lib64/xorg/modules/drivers/amdgpu_drv.so
[   373.682] (II) Module amdgpu: vendor="X.Org Foundation"
[   373.682]    compiled for 1.20.5, module version = 19.1.0
[   373.682]    Module class: X.Org Video Driver
[   373.682]    ABI class: X.Org Video Driver, version 24.0
[   373.682] (II) AMDGPU: Driver for AMD Radeon:
   All GPUs supported by the amdgpu kernel driver
[   373.682] (--) using VT number 7

[   373.684] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
[   373.684] (EE) Screen 0 deleted because of no matching config section.
[   373.684] (II) UnloadModule: "amdgpu"
[   373.684] (EE) Device(s) detected, but none match those in the config file.
[   373.684] (EE)
Fatal server error:
[   373.684] (EE) no screens found(EE)
[   373.684] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   373.684] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   373.684] (EE)
[   373.688] (EE) Server terminated with error (1). Closing log file.
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 331
Location: Germany

PostPosted: Mon Dec 30, 2019 10:33 am    Post subject: Reply with quote

Quote:
[ 373.684] (EE) Device(s) detected, but none match those in the config file.

What happens if you do not use a /etc/X11/xorg.conf.d/20-amdgpu.conf file?

This topic here is about a different AMD Card: https://forums.gentoo.org/viewtopic-t-1100010-start-0-postdays-0-postorder-asc-highlight-5700.html but maybe it can help. The soluton there was to use a newer version of kernel, llvm, mesa and clang.
_________________
My personal space
Back to top
View user's profile Send private message
Levitiku5
n00b
n00b


Joined: 29 Dec 2019
Posts: 4

PostPosted: Wed Jan 01, 2020 12:12 am    Post subject: Reply with quote

Banana wrote:
Quote:
[ 373.684] (EE) Device(s) detected, but none match those in the config file.

What happens if you do not use a /etc/X11/xorg.conf.d/20-amdgpu.conf file?

This topic here is about a different AMD Card: https://forums.gentoo.org/viewtopic-t-1100010-start-0-postdays-0-postorder-asc-highlight-5700.html but maybe it can help. The soluton there was to use a newer version of kernel, llvm, mesa and clang.


This is the output that I get with no configuration files present:

Code:

[   234.788]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   234.790] Build Operating System: Linux 4.19.86-gentoo x86_64 Gentoo
[   234.791] Current Operating System: Linux levitiku5-pc 4.19.86-gentoo #1 SMP Thu Dec 19 01:17:41 MST 2019 x86_64
[   234.791] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.19.86-gentoo root=/dev/nvme0n1p7 ro
[   234.793] Build Date: 28 December 2019  10:59:02PM
[   234.793]
[   234.794] Current version of pixman: 0.38.4
[   234.795]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   234.795] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   234.798] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 28 23:18:09 2019
[   234.799] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   234.799] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   234.800] (==) No Layout section.  Using the first Screen section.
[   234.800] (==) No screen section available. Using defaults.
[   234.800] (**) |-->Screen "Default Screen Section" (0)
[   234.800] (**) |   |-->Monitor "<default monitor>"
[   234.800] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   234.800] (==) Automatically adding devices
[   234.800] (==) Automatically enabling devices
[   234.800] (==) Automatically adding GPU devices
[   234.800] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   234.800] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[   234.800]    Entry deleted from font path.
[   234.800] (==) FontPath set to:
   
[   234.800] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   234.800] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   234.800] (II) Loader magic: 0x55c8cf3d0c60
[   234.800] (II) Module ABI versions:
[   234.800]    X.Org ANSI C Emulation: 0.4
[   234.800]    X.Org Video Driver: 24.0
[   234.800]    X.Org XInput driver : 24.1
[   234.800]    X.Org Server Extension : 10.0
[   234.803] (--) PCI:*(7@0:0:0) 1002:15d8:1043:876b rev 200, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfca00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   234.803] (II) LoadModule: "glx"
[   234.803] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   234.803] (II) Module glx: vendor="X.Org Foundation"
[   234.803]    compiled for 1.20.5, module version = 1.0.0
[   234.803]    ABI class: X.Org Server Extension, version 10.0
[   234.803] (==) Matched ati as autoconfigured driver 0
[   234.803] (==) Matched modesetting as autoconfigured driver 1
[   234.803] (==) Matched fbdev as autoconfigured driver 2
[   234.803] (==) Matched vesa as autoconfigured driver 3
[   234.818] (==) Assigned the driver to the xf86ConfigLayout
[   234.818] (II) LoadModule: "ati"
[   234.818] (WW) Warning, couldn't open module ati
[   234.818] (EE) Failed to load module "ati" (module does not exist, 0)
[   234.818] (II) LoadModule: "modesetting"
[   234.818] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   234.818] (II) Module modesetting: vendor="X.Org Foundation"
[   234.818]    compiled for 1.20.5, module version = 1.20.5
[   234.818]    Module class: X.Org Video Driver
[   234.818]    ABI class: X.Org Video Driver, version 24.0
[   234.818] (II) LoadModule: "fbdev"
[   234.818] (WW) Warning, couldn't open module fbdev
[   234.818] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   234.818] (II) LoadModule: "vesa"
[   234.818] (WW) Warning, couldn't open module vesa
[   234.818] (EE) Failed to load module "vesa" (module does not exist, 0)
[   234.818] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   234.818] (--) using VT number 7

[   234.820] (EE) open /dev/dri/card0: No such file or directory
[   234.820] (WW) Falling back to old probe method for modesetting
[   234.820] (EE) open /dev/dri/card0: No such file or directory
[   234.820] (EE) Screen 0 deleted because of no matching config section.
[   234.820] (II) UnloadModule: "modesetting"
[   234.820] (EE) Device(s) detected, but none match those in the config file.
[   234.820] (EE)
Fatal server error:
[   234.820] (EE) no screens found(EE)
[   234.820] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   234.820] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   234.820] (EE)
[   234.824] (EE) Server terminated with error (1). Closing log file.


I took a look at that other forum, I was hoping it wouldn't come to that as I am nervous about running a kernel too "bleeding edge". I do however realize that the Ryzen 5 3400G is a pretty new APU, so it's starting to look like I may have to choose between a bleeding edge Gentoo system or a more stable system on maybe Debian or Arch. I would love to hear any other ideas to try, but otherwise thank you everybody for the suggestions!
Cheers
Back to top
View user's profile Send private message
xahodo
n00b
n00b


Joined: 17 May 2007
Posts: 41
Location: Gouda, the Netherlands

PostPosted: Wed Jan 01, 2020 1:16 am    Post subject: Reply with quote

Have you tried taking a look at 'eselect opengl'?

Also, if I remember correctly, amd's newest stuff is actually supported by the newer kernel versions. Have you tried one of those?

Providing X with an idea about your graphics device could also be helpful. These days xorg is quite happy with a minimal description of things and figures out everything by itself (in my case, at least).

You could put sys-kernel/gentoo-sources on ~amd64 or you could unmask a specific version from testing - no need to run the entire system on testing packages.
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 331
Location: Germany

PostPosted: Thu Jan 02, 2020 10:54 am    Post subject: Reply with quote

Quote:
Also, if I remember correctly, amd's newest stuff is actually supported by the newer kernel versions. Have you tried one of those?

This is described here: https://forums.gentoo.org/viewtopic-t-1100010-start-0-postdays-0-postorder-asc-highlight-5700.html

so @Levitiku5 give it a shot. It could be the solution since the xorg.log file shows it can not find any drivers.
_________________
My personal space
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44896
Location: 56N 3W

PostPosted: Thu Jan 02, 2020 12:26 pm    Post subject: Reply with quote

Levitiku5,

Welcome to Gentoo.
Code:
[   234.820] (EE) open /dev/dri/card0: No such file or directory

tells of kernel support for DRM missing.

If you have made a kernel since
Code:
[   234.791] Current Operating System: Linux levitiku5-pc 4.19.86-gentoo #1 SMP Thu Dec 19 01:17:41 MST 2019 x86_64

Thu Dec 19 01:17:41 MST 2019 you are not actually running it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Levitiku5
n00b
n00b


Joined: 29 Dec 2019
Posts: 4

PostPosted: Mon Jan 06, 2020 5:20 am    Post subject: Reply with quote

Solved! Compiled and installed Linux 5.4 configuring with make olddefconfig, and upon rebooting X is starting normally. Lost wireless networking though, but I have some kernel compiling to do anyways. Thank you all very much for the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum