Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screen 0 deleted because of no matching... (amdgpu)
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
newin
n00b
n00b


Joined: 27 Oct 2012
Posts: 27

PostPosted: Sun Oct 08, 2017 4:47 pm    Post subject: Screen 0 deleted because of no matching... (amdgpu) Reply with quote

Hi all,
I just bought a new PC (a beautiful Ryzen 7 1700X with a Rx Vega that worked perfectly on windows and the ubuntu live I used to install my brand new gentoo)
But I get stuck on making startx work.

Here is my xorg.conf:
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "HDMIScreen" 0 0
   #Screen      1  "DVIScreen" RightOf "HDMIScreen"
   #InputDevice    "RAT5" "CorePointer"
   #InputDevice    "levetron" "CoreKeyboard"
EndSection

Section "Monitor"
   Identifier "HDMIMonitor"
   Option "DPMS" "true"
   Option "PreferredMode" "1920x1080"
   Option "TargetRefresh" "60"
   Option "Position" "0 0"
   Option "Rotate" "normal"
EndSection

Section "Device"
   Identifier "RxVega"
   Driver "amdgpu"
   BusID "PCI:11:00:0"
   Option   "DRI" "3"
   Option "AccelMethod" "glamor"
EndSection

Section "Screen"
   Identifier "HDMIScreen"
   Device     "RxVega"
   Monitor    "HDMIMonitor"
   DefaultDepth 24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


I saw on multiple thread on internet saying that I should just delete my xorg.conf and let X do his stuff automatically but I get "no Screen Found" without further explanation if I do this. Additionally by making my xorg.conf by hand I get much more explicit/useful errors.

With this configuration I get this /var/log/Xorg.0.log:
Code:

[  5530.447]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[  5530.447] X Protocol Version 11, Revision 0
[  5530.447] Build Operating System: Linux 4.13.4-gentoo x86_64 Gentoo
[  5530.447] Current Operating System: Linux vega 4.13.4-gentoo #2 SMP Sun Oct 8 18:23:30 CEST 2017 x86_64
[  5530.447] Kernel command line: \EFI\gentoo\gentoo.efi root=/dev/sda2 rootfstype=btrfs rw
[  5530.447] Build Date: 02 October 2017  01:05:08AM
[  5530.447] 
[  5530.447] Current version of pixman: 0.34.0
[  5530.447]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  5530.448] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5530.448] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct  8 20:20:40 2017
[  5530.448] (==) Using config file: "/etc/X11/xorg.conf"
[  5530.448] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  5530.448] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  5530.448] (==) ServerLayout "X.org Configured"
[  5530.448] (**) |-->Screen "HDMIScreen" (0)
[  5530.448] (**) |   |-->Monitor "HDMIMonitor"
[  5530.448] (**) |   |-->Device "RxVega"
[  5530.448] (==) Automatically adding devices
[  5530.448] (==) Automatically enabling devices
[  5530.448] (==) Automatically adding GPU devices
[  5530.448] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  5530.448] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[  5530.448]    Entry deleted from font path.
[  5530.448] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  5530.448]    Entry deleted from font path.
[  5530.448] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  5530.448]    Entry deleted from font path.
[  5530.448] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  5530.448]    Entry deleted from font path.
[  5530.448] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[  5530.448]    Entry deleted from font path.
[  5530.448] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[  5530.448]    Entry deleted from font path.
[  5530.448] (==) FontPath set to:
   
[  5530.448] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  5530.448] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  5530.448] (II) Loader magic: 0x80cc80
[  5530.448] (II) Module ABI versions:
[  5530.448]    X.Org ANSI C Emulation: 0.4
[  5530.448]    X.Org Video Driver: 23.0
[  5530.448]    X.Org XInput driver : 24.1
[  5530.448]    X.Org Server Extension : 10.0
[  5530.450] (--) PCI:*(0:11:0:0) 1002:687f:1002:6b76 rev 192, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfe500000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[  5530.450] (II) LoadModule: "glx"
[  5530.450] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  5530.451] (II) Module glx: vendor="X.Org Foundation"
[  5530.451]    compiled for 1.19.3, module version = 1.0.0
[  5530.451]    ABI class: X.Org Server Extension, version 10.0
[  5530.451] (II) LoadModule: "amdgpu"
[  5530.451] (II) Loading /usr/lib64/xorg/modules/drivers/amdgpu_drv.so
[  5530.451] (II) Module amdgpu: vendor="X.Org Foundation"
[  5530.451]    compiled for 1.19.3, module version = 1.4.0
[  5530.451]    Module class: X.Org Video Driver
[  5530.451]    ABI class: X.Org Video Driver, version 23.0
[  5530.451] (II) AMDGPU: Driver for AMD Radeon:
   All GPUs supported by the amdgpu kernel driver
[  5530.451] (--) using VT number 7

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


I triple checked everything and i don't know why I can't get X to work.

Note: lspci -k say that amdgpu is mounted and working, no errors on dmesg do far. @x11-module-rebuild contain: xf86-video-ati xf86-video-amdgpu xf86-input-keyboard xf86-input-wacom xf86-input-evdev

That's the first time in 5 years I'm so lost with X11 :(

Edit:
additional information: I use xorg-server-1.19.3 with mesa-9999 xf86-video-amdgpu-9999 and gentoo-sources-4.13.4 and VIDEO_CARDS="amdgpu radeonsi" in my make.conf
_________________
uname -a: Linux legion 4.12.0-rc7 #2 SMP Sun Jul 2 22:07:50 CEST 2017 x86_64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz GenuineIntel GNU/Linux
gcc : gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
window manager : dwm 6.1
web browser : Vivaldi 1.10.867.42
Back to top
View user's profile Send private message
skiwarz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2014
Posts: 128

PostPosted: Tue Oct 10, 2017 3:51 am    Post subject: Reply with quote

According to the man page for xorg.conf:
Code:
       Screen  number
              This option is mandatory for cards where a single PCI entity can drive more than one display (i.e., multiple CRTCs sharing a single  graph-
              ics  accelerator  and  video  memory).   One Device section is required for each head, and this parameter determines which head each of the
              Device sections applies to.  The legal values of number range from 0 to one less than the total number of heads per entity.   Most  drivers
              require that the primary screen (0) be present.

So, try putting a Screen option in your Device section.
Or,
Try commenting out/deleting the entire ServerLayout section.
That's all I can think of. But then again, I've never manually configured my X.
Back to top
View user's profile Send private message
newin
n00b
n00b


Joined: 27 Oct 2012
Posts: 27

PostPosted: Thu Oct 12, 2017 7:43 pm    Post subject: Reply with quote

It seems that I just bought my GPU too soon:
https://www.phoronix.com/scan.php?page=article&item=radeon-vega-setup&num=1

if I quote the article:
Quote:
While Linux 4.13 has Radeon RX Vega support, it's only headless (non-display) support. There isn't display support until AMDGPU lands its big DC display stack, which looks like it will be Linux 4.15 at the earliest before that happens.

I'm gonna switch to the amd-staging-4.12 branch and see what happen.
_________________
uname -a: Linux legion 4.12.0-rc7 #2 SMP Sun Jul 2 22:07:50 CEST 2017 x86_64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz GenuineIntel GNU/Linux
gcc : gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
window manager : dwm 6.1
web browser : Vivaldi 1.10.867.42
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