Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD 5700 - unable to start X
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
davydm
n00b
n00b


Joined: 06 Jan 2017
Posts: 52

PostPosted: Sat Jan 18, 2020 7:06 am    Post subject: AMD 5700 - unable to start X Reply with quote

I recently got a 5700, popped it into my machine, and followed https://wiki.gentoo.org/wiki/AMDGPU, loading amdgpu as a module (so no kernel config for firmware)

After a reboot, I do have modules loading, but X won't start - xdm / sddm bombs out and manually trying `startx` gets me:

Code:

X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.4.6-gentoo-x86_64 x86_64 Gentoo
Current Operating System: Linux nea.local 5.4.11-gentoo-x86_64 #4 SMP Sat Jan 18 07:53:10 SAST 2020 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.11-gentoo-x86_64 root=UUID=f6c68918-a995-4054-8a6e-a6fe7a780543 ro scsi_mod.use_blk_mq=1
Build Date: 06 January 2020  08:53:24AM
 
Current version of pixman: 0.38.4
   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 Jan 18 08:57:26 2020
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) AMDGPU(0): [KMS] Kernel modesetting enabled.
X: /usr/include/xorg/privates.h:121: dixGetPrivateAddr: Assertion `key->initialized' failed.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x4d) [0x5598724e28ed]
(EE) 1: /usr/bin/X (0x55987233d000+0x1a95b8) [0x5598724e65b8]
(EE) 2: /lib64/libpthread.so.0 (0x7f1c9613c000+0x14590) [0x7f1c96150590]
(EE) 3: /lib64/libc.so.6 (gsignal+0x141) [0x7f1c95fa6df1]
(EE) 4: /lib64/libc.so.6 (abort+0x121) [0x7f1c95f90535]
(EE) 5: /lib64/libc.so.6 (0x7f1c95f6e000+0x2240f) [0x7f1c95f9040f]
(EE) 6: /lib64/libc.so.6 (0x7f1c95f6e000+0x30862) [0x7f1c95f9e862]
(EE) 7: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f1c95afa000+0x8fd3) [0x7f1c95b02fd3]
(EE) 8: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f1c95afa000+0x931e) [0x7f1c95b0331e]
(EE) 9: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f1c95afa000+0x183f5) [0x7f1c95b123f5]
(EE) 10: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f1c95afa000+0x1a22b) [0x7f1c95b1422b]
(EE) 11: /usr/bin/X (MapWindow+0x204) [0x5598723bdf54]
(EE) 12: /usr/bin/X (0x55987233d000+0x5a1f5) [0x5598723971f5]
(EE) 13: /lib64/libc.so.6 (__libc_start_main+0xeb) [0x7f1c95f91f2b]
(EE) 14: /usr/bin/X (_start+0x2a) [0x5598723810aa]
(EE)
(EE)
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(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: unexpected signal 2


/var/log/Xorg.0.log contains:
Code:

[    25.225]
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[    25.225] Build Operating System: Linux 5.4.6-gentoo-x86_64 x86_64 Gentoo
[    25.225] Current Operating System: Linux nea.local 5.4.11-gentoo-x86_64 #4 SMP Sat Jan 18 07:53:10 SAST 2020 x86_64
[    25.225] Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.11-gentoo-x86_64 root=UUID=f6c68918-a995-4054-8a6e-a6fe7a780543 ro scsi_mod.use_blk_mq=1
[    25.225] Build Date: 06 January 2020  08:53:24AM
[    25.225] 
[    25.225] Current version of pixman: 0.38.4
[    25.225]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    25.225] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    25.225] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 18 08:47:56 2020
[    25.226] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    25.226] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    25.226] (==) No Layout section.  Using the first Screen section.
[    25.226] (==) No screen section available. Using defaults.
[    25.226] (**) |-->Screen "Default Screen Section" (0)
[    25.226] (**) |   |-->Monitor "<default monitor>"
[    25.226] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[    25.226] (**) Option "DontZap" "false"
[    25.226] (==) Automatically adding devices
[    25.226] (==) Automatically enabling devices
[    25.226] (==) Automatically adding GPU devices
[    25.226] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    25.226] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    25.226]    Entry deleted from font path.
[    25.226] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    25.226]    Entry deleted from font path.
[    25.226] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    25.226]    Entry deleted from font path.
[    25.226] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    25.226]    Entry deleted from font path.
[    25.226]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    25.226] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/100dpi/
[    25.226] (**) ModulePath set to "/usr/lib64/xorg/modules,/usr/lib64/xorg/modules"
[    25.226] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[    25.226] (II) Loader magic: 0x564bd9477c60
[    25.226] (II) Module ABI versions:
[    25.226]    X.Org ANSI C Emulation: 0.4
[    25.226]    X.Org Video Driver: 24.0
[    25.226]    X.Org XInput driver : 24.1
[    25.226]    X.Org Server Extension : 10.0
[    25.226] (II) xfree86: Adding drm device (/dev/dri/card0)
[    25.235] (--) PCI:*(3@0:0:0) 1002:731f:1682:5705 rev 196, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xf7c00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[    25.235] (II) LoadModule: "glx"
[    25.236] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    25.236] (II) Module glx: vendor="X.Org Foundation"
[    25.236]    compiled for 1.20.6, module version = 1.0.0
[    25.236]    ABI class: X.Org Server Extension, version 10.0
[    25.236] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[    25.236]    loading driver: amdgpu
[    25.237] (==) Matched amdgpu as autoconfigured driver 0
[    25.237] (==) Matched ati as autoconfigured driver 1
[    25.237] (==) Matched modesetting as autoconfigured driver 2
[    25.237] (==) Matched fbdev as autoconfigured driver 3
[    25.237] (==) Matched vesa as autoconfigured driver 4
[    25.237] (==) Assigned the driver to the xf86ConfigLayout
[    25.237] (II) LoadModule: "amdgpu"
[    25.237] (II) Loading /usr/lib64/xorg/modules/drivers/amdgpu_drv.so
[    25.237] (II) Module amdgpu: vendor="X.Org Foundation"
[    25.237]    compiled for 1.20.6, module version = 19.1.0
[    25.237]    Module class: X.Org Video Driver
[    25.237]    ABI class: X.Org Video Driver, version 24.0
[    25.237] (II) LoadModule: "ati"
[    25.237] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[    25.237] (II) Module ati: vendor="X.Org Foundation"
[    25.237]    compiled for 1.20.6, module version = 19.1.0
[    25.237]    Module class: X.Org Video Driver
[    25.237]    ABI class: X.Org Video Driver, version 24.0
[    25.249] (II) LoadModule: "radeon"
[    25.249] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[    25.250] (II) Module radeon: vendor="X.Org Foundation"
[    25.250]    compiled for 1.20.6, module version = 19.1.0
[    25.250]    Module class: X.Org Video Driver
[    25.250]    ABI class: X.Org Video Driver, version 24.0
[    25.250] (II) LoadModule: "modesetting"
[    25.250] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    25.250] (II) Module modesetting: vendor="X.Org Foundation"
[    25.250]    compiled for 1.20.6, module version = 1.20.6
[    25.250]    Module class: X.Org Video Driver
[    25.250]    ABI class: X.Org Video Driver, version 24.0
[    25.250] (II) LoadModule: "fbdev"
[    25.250] (WW) Warning, couldn't open module fbdev
[    25.250] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    25.250] (II) LoadModule: "vesa"
[    25.250] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[    25.250] (II) Module vesa: vendor="X.Org Foundation"
[    25.250]    compiled for 1.20.6, module version = 2.4.0
[    25.250]    Module class: X.Org Video Driver
[    25.250]    ABI class: X.Org Video Driver, version 24.0
[    25.250] (II) AMDGPU: Driver for AMD Radeon:
   All GPUs supported by the amdgpu kernel driver
[    25.250] (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,
   ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
   MULLINS, KAVERI, HAWAII
[    25.253] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    25.253] (II) VESA: driver for VESA chipsets: vesa
[    25.253] (--) using VT number 7

[    25.269] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[    25.270] (WW) Falling back to old probe method for modesetting
[    25.270] (II) AMDGPU(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[    25.270] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    25.270] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    25.270] (==) AMDGPU(0): Default visual is TrueColor
[    25.270] (==) AMDGPU(0): RGB weight 888
[    25.270] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    25.270] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x731f)
[    25.270] (II) Loading sub module "fb"
[    25.270] (II) LoadModule: "fb"
[    25.270] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    25.271] (II) Module fb: vendor="X.Org Foundation"
[    25.271]    compiled for 1.20.6, module version = 1.0.0
[    25.271]    ABI class: X.Org ANSI C Emulation, version 0.4
[    25.271] (II) Loading sub module "dri2"
[    25.271] (II) LoadModule: "dri2"
[    25.271] (II) Module "dri2" already built-in
[    25.332] (II) Loading sub module "glamoregl"
[    25.332] (II) LoadModule: "glamoregl"
[    25.332] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    25.337] (II) Module glamoregl: vendor="X.Org Foundation"
[    25.337]    compiled for 1.20.6, module version = 1.0.1
[    25.337]    ABI class: X.Org ANSI C Emulation, version 0.4
[    25.345] (EE) AMDGPU(0): eglGetDisplay() failed
[    25.345] (EE) AMDGPU(0): glamor detected, failed to initialize EGL.
[    25.345] (WW) AMDGPU(0): amdgpu_glamor_pre_init returned FALSE, using ShadowFB
[    25.345] (II) Loading sub module "shadow"
[    25.345] (II) LoadModule: "shadow"
[    25.345] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[    25.345] (II) Module shadow: vendor="X.Org Foundation"
[    25.345]    compiled for 1.20.6, module version = 1.1.0
[    25.346]    ABI class: X.Org ANSI C Emulation, version 0.4
[    25.346] (II) AMDGPU(0): KMS Pageflipping: enabled
[    25.346] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[    25.346] (II) AMDGPU(0): Output DisplayPort-1 has no monitor section
[    25.346] (II) AMDGPU(0): Output DisplayPort-2 has no monitor section
[    25.346] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    25.349] (II) AMDGPU(0): EDID for output DisplayPort-0
[    25.349] (II) AMDGPU(0): Manufacturer: DEL  Model: 40f6  Serial#: 1095588162
[    25.349] (II) AMDGPU(0): Year: 2016  Week: 17
[    25.349] (II) AMDGPU(0): EDID Version: 1.4
[    25.349] (II) AMDGPU(0): Digital Display Input
[    25.349] (II) AMDGPU(0): 8 bits per channel
[    25.349] (II) AMDGPU(0): Digital interface is DisplayPort
[    25.349] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 60  vert.: 34
[    25.349] (II) AMDGPU(0): Gamma: 2.20
[    25.349] (II) AMDGPU(0): DPMS capabilities: Off
[    25.349] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 YCrCb 4:2:2
[    25.349] (II) AMDGPU(0): First detailed timing is preferred mode
[    25.349] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[    25.349] (II) AMDGPU(0): redX: 0.653 redY: 0.336   greenX: 0.322 greenY: 0.609
[    25.349] (II) AMDGPU(0): blueX: 0.152 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[    25.349] (II) AMDGPU(0): Supported established timings:
[    25.349] (II) AMDGPU(0): 720x400@70Hz
[    25.349] (II) AMDGPU(0): 640x480@60Hz
[    25.349] (II) AMDGPU(0): 640x480@75Hz
[    25.349] (II) AMDGPU(0): 800x600@60Hz
[    25.349] (II) AMDGPU(0): 800x600@75Hz
[    25.349] (II) AMDGPU(0): 1024x768@60Hz
[    25.349] (II) AMDGPU(0): 1024x768@75Hz
[    25.349] (II) AMDGPU(0): 1280x1024@75Hz
[    25.349] (II) AMDGPU(0): Manufacturer's mask: 0
[    25.349] (II) AMDGPU(0): Supported standard timings:
[    25.349] (II) AMDGPU(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    25.349] (II) AMDGPU(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    25.349] (II) AMDGPU(0): #2: hsize: 1600  vsize 900  refresh: 60  vid: 49321
[    25.349] (II) AMDGPU(0): #3: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[    25.349] (II) AMDGPU(0): Supported detailed timing:
[    25.349] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  598 x 336 mm
[    25.349] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    25.349] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    25.349] (II) AMDGPU(0): Serial No: 4P9HC64SAMYB
[    25.349] (II) AMDGPU(0): Monitor name: DELL P2717H
[    25.349] (II) AMDGPU(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
[    25.349] (II) AMDGPU(0): EDID (in hex):
[    25.349] (II) AMDGPU(0):    00ffffffffffff0010acf64042594d41
[    25.349] (II) AMDGPU(0):    111a0104a53c22783a4815a756529c27
[    25.349] (II) AMDGPU(0):    0f5054a54b00714f8180a9c0d1c00101
[    25.349] (II) AMDGPU(0):    010101010101023a801871382d40582c
[    25.349] (II) AMDGPU(0):    450056502100001e000000ff00345039
[    25.349] (II) AMDGPU(0):    4843363453414d59420a000000fc0044
[    25.349] (II) AMDGPU(0):    454c4c205032373137480a20000000fd
[    25.349] (II) AMDGPU(0):    00384c1e5311010a20202020202000c4
[    25.349] (II) AMDGPU(0): Printing probed modes for output DisplayPort-0
[    25.349] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    25.349] (II) AMDGPU(0): Modeline "1680x1050"x60.0  148.50  1680 2008 2052 2200  1050 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1440x900"x60.0  148.50  1440 2008 2052 2200  900 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1280x800"x60.0  148.50  1280 2008 2052 2200  800 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1280x720"x60.0  148.50  1280 2008 2052 2200  720 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    25.349] (II) AMDGPU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    25.349] (II) AMDGPU(0): EDID for output DisplayPort-1
[    25.349] (II) AMDGPU(0): EDID for output DisplayPort-2
[    25.349] (II) AMDGPU(0): EDID for output HDMI-A-0
[    25.349] (II) AMDGPU(0): Output DisplayPort-0 connected
[    25.349] (II) AMDGPU(0): Output DisplayPort-1 disconnected
[    25.349] (II) AMDGPU(0): Output DisplayPort-2 disconnected
[    25.349] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[    25.349] (II) AMDGPU(0): Using exact sizes for initial modes
[    25.349] (II) AMDGPU(0): Output DisplayPort-0 using initial mode 1920x1080 +0+0
[    25.349] (II) AMDGPU(0): mem size init: gart size :1fe6ad000 vram size: s:1f6b4e000 visible:ed4c000
[    25.349] (==) AMDGPU(0): DPI set to (96, 96)
[    25.349] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    25.349] (II) Loading sub module "ramdac"
[    25.349] (II) LoadModule: "ramdac"
[    25.349] (II) Module "ramdac" already built-in
[    25.350] (II) UnloadModule: "radeon"
[    25.350] (II) Unloading radeon
[    25.350] (II) UnloadModule: "modesetting"
[    25.350] (II) Unloading modesetting
[    25.350] (II) UnloadModule: "vesa"
[    25.350] (II) Unloading vesa
[    25.350] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[    25.350] (==) AMDGPU(0): DRI3 disabled
[    25.350] (==) AMDGPU(0): Backing store enabled
[    25.350] (WW) AMDGPU(0): Direct rendering disabled
[    25.350] (II) AMDGPU(0): 2D and 3D acceleration disabled
[    25.350] (==) AMDGPU(0): DPMS enabled
[    25.350] (==) AMDGPU(0): Silken mouse enabled
[    25.367] (II) Initializing extension Generic Event Extension
[    25.367] (II) Initializing extension SHAPE
[    25.367] (II) Initializing extension MIT-SHM
[    25.367] (II) Initializing extension XInputExtension
[    25.367] (II) Initializing extension XTEST
[    25.367] (II) Initializing extension BIG-REQUESTS
[    25.367] (II) Initializing extension SYNC
[    25.367] (II) Initializing extension XKEYBOARD
[    25.367] (II) Initializing extension XC-MISC
[    25.367] (II) Initializing extension XFIXES
[    25.367] (II) Initializing extension RENDER
[    25.367] (II) Initializing extension RANDR
[    25.367] (II) Initializing extension COMPOSITE
[    25.367] (II) Initializing extension DAMAGE
[    25.367] (II) Initializing extension MIT-SCREEN-SAVER
[    25.367] (II) Initializing extension DOUBLE-BUFFER
[    25.367] (II) Initializing extension RECORD
[    25.367] (II) Initializing extension DPMS
[    25.367] (II) Initializing extension Present
[    25.367] (II) Initializing extension DRI3
[    25.367] (II) Initializing extension X-Resource
[    25.367] (II) Initializing extension XVideo
[    25.367] (II) Initializing extension XVideo-MotionCompensation
[    25.367] (II) Initializing extension GLX
[    25.367] (II) AIGLX: Screen 0 is not DRI2 capable
[    25.371] (II) IGLX: Loaded and initialized swrast
[    25.371] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    25.371] (II) Initializing extension XFree86-VidModeExtension
[    25.371] (II) Initializing extension XFree86-DGA
[    25.371] (II) Initializing extension XFree86-DRI
[    25.371] (II) Initializing extension DRI2
[    25.371] (II) AMDGPU(0): Setting screen physical size to 508 x 285
[    25.376] (EE)
[    25.376] (EE) Backtrace:
[    25.376] (EE) 0: /usr/bin/X (xorg_backtrace+0x4d) [0x564bd93ec8ed]
[    25.376] (EE) 1: /usr/bin/X (0x564bd9247000+0x1a95b8) [0x564bd93f05b8]
[    25.376] (EE) 2: /lib64/libpthread.so.0 (0x7fe192da5000+0x14590) [0x7fe192db9590]
[    25.376] (EE) 3: /lib64/libc.so.6 (gsignal+0x141) [0x7fe192c0fdf1]
[    25.376] (EE) 4: /lib64/libc.so.6 (abort+0x121) [0x7fe192bf9535]
[    25.376] (EE) 5: /lib64/libc.so.6 (0x7fe192bd7000+0x2240f) [0x7fe192bf940f]
[    25.376] (EE) 6: /lib64/libc.so.6 (0x7fe192bd7000+0x30862) [0x7fe192c07862]
[    25.376] (EE) 7: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7fe192763000+0x8fd3) [0x7fe19276bfd3]
[    25.376] (EE) 8: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7fe192763000+0x931e) [0x7fe19276c31e]
[    25.376] (EE) 9: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7fe192763000+0x183f5) [0x7fe19277b3f5]
[    25.376] (EE) 10: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7fe192763000+0x1a22b) [0x7fe19277d22b]
[    25.376] (EE) 11: /usr/bin/X (MapWindow+0x204) [0x564bd92c7f54]
[    25.376] (EE) 12: /usr/bin/X (0x564bd9247000+0x5a1f5) [0x564bd92a11f5]
[    25.376] (EE) 13: /lib64/libc.so.6 (__libc_start_main+0xeb) [0x7fe192bfaf2b]
[    25.376] (EE) 14: /usr/bin/X (_start+0x2a) [0x564bd928b0aa]
[    25.376] (EE)
[    25.376] (EE)
Fatal server error:
[    25.376] (EE) Caught signal 6 (Aborted). Server aborting
[    25.376] (EE)
[    25.376] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[    25.376] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    25.376] (EE)
[    25.436] (EE) Server terminated with error (1). Closing log file.


lsmod | grep amdpgu presents:
Code:

amdgpu               4722688  1
gpu_sched              36864  1 amdgpu
ttm                   118784  1 amdgpu
drm_kms_helper        200704  1 amdgpu
drm                   569344  5 gpu_sched,drm_kms_helper,amdgpu,ttm
i2c_algo_bit           16384  1 amdgpu
i2c_core               94208  4 drm_kms_helper,i2c_algo_bit,amdgpu,drm
backlight              20480  2 video,amdgpu
mfd_core               16384  2 lpc_ich,amdgpu


I have ~amd64 for mesa, libdrm, linux-firmware, gentoo-sources. Running kernel 5.4.11.

I can boot into That Other OS and the card works fine there, so I have to assume that I'm missing something in Gentoo-land. I've seen other threads about the 5700, in particular https://forums.gentoo.org/viewtopic-t-1100010.html which starts with a lot of things set to bleeding-edge, but near the end, it seems that people are having success with similar accept_keywords as what I have, so I haven't gone for 9999 versions of anything.

I've been banging my head on this for a while. I'd really appreciate any assistance.
Back to top
View user's profile Send private message
runem
n00b
n00b


Joined: 08 Sep 2006
Posts: 40

PostPosted: Mon Jan 20, 2020 4:00 pm    Post subject: Re: AMD 5700 - unable to start X Reply with quote

I had the same kind of problem. Make sure to have the following in make.conf:
Code:

VIDEO_CARDS="amdgpu radeonsi"
INPUT_DEVICES="$INPUT_DEVICES evdev mouse keyboard joystick"


Event devices is needed with AMDGPU, but not supported by NVIDIA cards. Rebuild with the new settings and make sure to remove the old Xorg-drivers.
The following wiki pages turned out yo be useful to me:
AMDGPU: https://wiki.gentoo.org/wiki/AMDGPU
evdev: https://wiki.gentoo.org/wiki/Evdev
Back to top
View user's profile Send private message
kurisu
Apprentice
Apprentice


Joined: 19 Jan 2011
Posts: 157
Location: Munich, Germany

PostPosted: Mon Jan 20, 2020 6:39 pm    Post subject: Re: AMD 5700 - unable to start X Reply with quote

davydm wrote:
I have ~amd64 for mesa, libdrm, linux-firmware, gentoo-sources. Running kernel 5.4.11.

You need at least LLVM 9 for AMD Navi.
_________________
#1 Ryzen 7 2700 | Asus ROG Strix X470-F Gaming | G.Skill 32 GB DDR4-3000 | PowerColor Radeon RX 5700 Red Dragon | Samsung SSD 970 EVO Plus 1TB NVMe
#2 Ryzen 5 2400G | ASRock B450 Steel Legend | G.Skill 16 GB DDR4-3000 | Samsung SSD 850 PRO 512GB SATA
Back to top
View user's profile Send private message
wdmcja
n00b
n00b


Joined: 18 Feb 2020
Posts: 2

PostPosted: Tue Feb 18, 2020 5:21 pm    Post subject: Reply with quote

It bothers me the same, Excuse me, is there any new progress?
Back to top
View user's profile Send private message
wdmcja
n00b
n00b


Joined: 18 Feb 2020
Posts: 2

PostPosted: Tue Feb 18, 2020 5:54 pm    Post subject: Reply with quote

rebuild the media-libs/mesa with use : video_cards_radeonsi
works for me
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