Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[radeon] cannot start X (fresh install) [SOLVED]
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

Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Wed Dec 11, 2019 8:36 am    Post subject: [radeon] cannot start X (fresh install) [SOLVED] Reply with quote

On a fresh system install, I have a radeon card:

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7) (prog-if 00 [VGA controller])

I am using eudev (started on sysinit - both udev and udev-trigger) with a genkernel kernel.

I have /etc/modprobe.d/video.conf:
# Load radeon module

but module is not loaded on boot as shown by an empty lsmod | grep radeon.

My dmesg on boot looks like:

I have two xorg.conf.d files:
Section "Device"
   Identifier "Device0"
   Driver "radeon"
Section "dri"
   Mode 0666

and 10-keyboard.conf:
Section "InputClass"
   Identifier "keyboard-all"
   Driver "evdev"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "gb"
   Option "XkbVariant" "extd"
   Option "XkbOptions" "compose:rctrl"

Yet, when I do startx, I get
(EE) no screens found

My Xorg.0.log after the failure:
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   385.118] Build Operating System: Linux 4.19.86-gentoo x86_64 Gentoo
[   385.118] Current Operating System: Linux andromeda 4.19.86-gentoo #1 SMP Mon Dec 2 00:04:25 CET 2019 x86_64
[   385.119] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.19.86-gentoo root=UUID=d812d3e7-9a3c-4fd9-92bb-d5b5a43e692b ro
[   385.119] Build Date: 10 December 2019  11:10:13AM
[   385.119] 
[   385.119] Current version of pixman: 0.38.4
[   385.119]    Before reporting problems, check
   to make sure that you have the latest version.
[   385.119] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   385.119] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 11 08:13:23 2019
[   385.187] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   385.187] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   385.212] (==) No Layout section.  Using the first Screen section.
[   385.212] (==) No screen section available. Using defaults.
[   385.212] (**) |-->Screen "Default Screen Section" (0)
[   385.212] (**) |   |-->Monitor "<default monitor>"
[   385.212] (==) No device specified for screen "Default Screen Section".
   Using the first device section listed.
[   385.212] (**) |   |-->Device "Device0"
[   385.212] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   385.212] (==) Automatically adding devices
[   385.212] (==) Automatically enabling devices
[   385.212] (==) Automatically adding GPU devices
[   385.212] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   385.229] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   385.229]    Entry deleted from font path.
[   385.229] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   385.229]    Entry deleted from font path.
[   385.229] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   385.229]    Entry deleted from font path.
[   385.229] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   385.230]    Entry deleted from font path.
[   385.230]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   385.230] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   385.230]    Entry deleted from font path.
[   385.230]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   385.230] (==) FontPath set to:
[   385.230] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   385.230] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   385.230] (II) Loader magic: 0x5592ae58cc80
[   385.230] (II) Module ABI versions:
[   385.230]    X.Org ANSI C Emulation: 0.4
[   385.230]    X.Org Video Driver: 24.0
[   385.230]    X.Org XInput driver : 24.1
[   385.230]    X.Org Server Extension : 10.0
[   385.245] (--) PCI:*(2@0:0:0) 1002:67df:1043:0525 rev 231, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfbe00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   385.245] (II) LoadModule: "glx"
[   385.245] (II) Loading /usr/lib64/xorg/modules/extensions/
[   385.418] (II) Module glx: vendor="X.Org Foundation"
[   385.418]    compiled for 1.20.5, module version = 1.0.0
[   385.418]    ABI class: X.Org Server Extension, version 10.0
[   385.418] (II) LoadModule: "radeon"
[   385.419] (II) Loading /usr/lib64/xorg/modules/drivers/
[   385.470] (II) Module radeon: vendor="X.Org Foundation"
[   385.470]    compiled for 1.20.5, module version = 19.1.0
[   385.470]    Module class: X.Org Video Driver
[   385.470]    ABI class: X.Org Video Driver, version 24.0
[   385.470] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
   ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
   ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
   ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
   ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
   ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
   ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
   ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
   ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
   ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
   ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
   ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
   ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
   ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
   ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
   ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
   ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
   ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
   ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
   ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
   ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
   ATI Radeon 9800PRO, ATI Radeon 9800XT,
   ATI Radeon Mobility 9600/9700 (M10/M11),
   ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
   ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
   ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
   ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
   ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
   ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
   ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
   ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
   ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
   ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
   ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
   ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
   ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
   ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
   ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
   ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
   ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
   ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
   ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
   ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
   ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
   ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
   ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
   ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
   ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
   ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
   ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
   ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
   ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
   ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
   ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
   ATI FireGL V3350, ATI Mobility Radeon X1450,
   ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
   ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
   ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
   ATI FireGL V3400, ATI Mobility FireGL V5250,
   ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
   ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
   ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
   ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
   ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
   ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
   ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
   ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
   ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
   ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
   ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
   ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
   AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
   ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
   ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
   ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
   ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
   ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
   ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
   ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
   ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
   ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
   ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
   ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
   ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
   ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
   ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
   ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
   ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
   ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
   ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
   ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
   ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
   ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
   ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
   ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
   ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
   ATI FireGL V3600, ATI Radeon HD 2600 LE,
   ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
   ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
   ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
   ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
   ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
   ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
   ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
   ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
   ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
   ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
   ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
   AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
   AMD Radeon HD 6300 Series Graphics,
   AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
   ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
   AMD Firestream 9350, ATI Radeon HD 5800 Series,
   ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
   ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
   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,
[   385.474] (--) using VT number 7

[   385.489] (EE) No devices detected.
[   385.489] (EE)
Fatal server error:
[   385.490] (EE) no screens found(EE)
[   385.490] (EE)
Please consult the The X.Org Foundation support
 for help.
[   385.490] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   385.490] (EE)
[   385.521] (EE) Server terminated with error (1). Closing log file.

I am not surprised that this fails - because I have no /dev/dri. The Radeon module is not loaded even after I added it to modprobe.d/video.conf. If I try to load it, I get:

libkmod: kmod_config_parse: /etc/modprobe.d/video.conf line 2: ignoring bad line starting with 'radeon'

I was pretty sure that I could just list the module name to load a module without options.

Since I don't know how to do it otherwise, I can attempt to load it with dpm=1. Then the module is loaded:

radeon               1622016  0
ttm                   126976  1 radeon
drm_kms_helper        192512  1 radeon
drm                   536576  3 drm_kms_helper,radeon,ttm
i2c_algo_bit           16384  2 igb,radeon
i2c_core               81920  6 videodev,drm_kms_helper,i2c_algo_bit,igb,radeon,drm

However, /dev/dri does not exist and X still does not start. What could be the problem here?

Last edited by pmatos on Wed Dec 11, 2019 9:42 am; edited 1 time in total
Back to top
View user's profile Send private message

Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Wed Dec 11, 2019 8:57 am    Post subject: Reply with quote

Oh damn, I found the problem. I should be using amdgpu, not radeon driver.
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