Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Xorg Abort With Signal 6
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 07 Dec 2020
Posts: 25

PostPosted: Fri Apr 02, 2021 2:59 am    Post subject: [Solved] Xorg Abort With Signal 6 Reply with quote

Hi. I am making my way through a Gentoo install for a home built machine for the HD TV. I have done a test installation of Gentoo on an old laptop, so I am somewhat familiar with the process, but I am new to getting a real graphics card to work. I believe I just solved the linux-firmware issue (I asked about that on the Gentoo Installation forum), rebuilt the kernel with the amdgpu drivers and firmware built in, and am logged into the system in text mode with the font noticeably different than it was before the drivers and firmware were present. Additionally, /dev/dri/ and /dev/dri/card0 are now present (neither were before building in the drivers and firmware).

For reference, my graphics card is a Sapphire Radeon RX 550. I followed the instructions here (https://wiki.gentoo.org/wiki/AMDGPU) with the caveat that RX 550 is listed as both Polaris 11 and Polaris 12 (possibly an error?). I researched online and found other sources say RX 550 is Polaris 12 so I used that list of firmware.

Given that I now have /dev/dri and the font looks different, I was hoping this would be it and startx would lauch, but it is failing again now. Please see the Xorg.0.log below:


Code:
[    46.611]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[    46.611] Build Operating System: Linux 5.4.97-gentoo-default-config x86_64 Gentoo
[    46.611] Current Operating System: Linux mediamachine 5.4.97-gentoo-graphics-config #2 SMP Thu Apr 1 18:11:30 PDT 2021 x86_64
[    46.611] Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.97-gentoo-graphics-config root=PARTUUID=28752c05-45f8-4157-8528-909b23f3b242 ro
[    46.611] Build Date: 31 March 2021  10:17:36PM
[    46.611] 
[    46.611] Current version of pixman: 0.40.0
[    46.611]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    46.611] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    46.611] (==) Log file: "/home/name/.local/share/xorg/Xorg.0.log", Time: Thu Apr  1 18:16:09 2021
[    46.615] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    46.615] (==) No Layout section.  Using the first Screen section.
[    46.615] (==) No screen section available. Using defaults.
[    46.615] (**) |-->Screen "Default Screen Section" (0)
[    46.615] (**) |   |-->Monitor "<default monitor>"
[    46.616] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[    46.616] (==) Automatically adding devices
[    46.616] (==) Automatically enabling devices
[    46.616] (==) Automatically adding GPU devices
[    46.616] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    46.617] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    46.617]    Entry deleted from font path.
[    46.617] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    46.617]    Entry deleted from font path.
[    46.617] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    46.617]    Entry deleted from font path.
[    46.617] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    46.617]    Entry deleted from font path.
[    46.617]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    46.617] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/75dpi/
[    46.617] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    46.617] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[    46.617] (II) Loader magic: 0x558533869d00
[    46.617] (II) Module ABI versions:
[    46.617]    X.Org ANSI C Emulation: 0.4
[    46.617]    X.Org Video Driver: 24.1
[    46.617]    X.Org XInput driver : 24.1
[    46.618]    X.Org Server Extension : 10.0
[    46.618] (++) using VT number 1

[    46.618] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    46.618] (II) xfree86: Adding drm device (/dev/dri/card0)
[    46.619] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[    46.621] (--) PCI:*(7@0:0:0) 1002:699f:1da2:e367 rev 199, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfcf00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[    46.621] (II) LoadModule: "glx"
[    46.624] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    46.639] (II) Module glx: vendor="X.Org Foundation"
[    46.639]    compiled for 1.20.10, module version = 1.0.0
[    46.639]    ABI class: X.Org Server Extension, version 10.0
[    46.639] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[    46.639]    loading driver: amdgpu
[    46.639] (==) Matched amdgpu as autoconfigured driver 0
[    46.639] (==) Matched ati as autoconfigured driver 1
[    46.639] (==) Matched modesetting as autoconfigured driver 2
[    46.639] (==) Matched fbdev as autoconfigured driver 3
[    46.639] (==) Matched vesa as autoconfigured driver 4
[    46.639] (==) Assigned the driver to the xf86ConfigLayout
[    46.639] (II) LoadModule: "amdgpu"
[    46.640] (II) Loading /usr/lib64/xorg/modules/drivers/amdgpu_drv.so
[    46.645] (II) Module amdgpu: vendor="X.Org Foundation"
[    46.645]    compiled for 1.20.10, module version = 19.1.0
[    46.645]    Module class: X.Org Video Driver
[    46.645]    ABI class: X.Org Video Driver, version 24.1
[    46.645] (II) LoadModule: "ati"
[    46.645] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[    46.645] (II) Module ati: vendor="X.Org Foundation"
[    46.645]    compiled for 1.20.10, module version = 19.1.0
[    46.645]    Module class: X.Org Video Driver
[    46.645]    ABI class: X.Org Video Driver, version 24.1
[    46.646] (II) LoadModule: "modesetting"
[    46.646] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    46.647] (II) Module modesetting: vendor="X.Org Foundation"
[    46.647]    compiled for 1.20.10, module version = 1.20.10
[    46.647]    Module class: X.Org Video Driver
[    46.647]    ABI class: X.Org Video Driver, version 24.1
[    46.647] (II) LoadModule: "fbdev"
[    46.648] (WW) Warning, couldn't open module fbdev
[    46.648] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    46.648] (II) LoadModule: "vesa"
[    46.648] (WW) Warning, couldn't open module vesa
[    46.648] (EE) Failed to load module "vesa" (module does not exist, 0)
[    46.648] (II) AMDGPU: Driver for AMD Radeon:
   All GPUs supported by the amdgpu kernel driver
[    46.648] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    46.648] (WW) Falling back to old probe method for modesetting
[    46.649] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    46.649] (II) AMDGPU(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[    46.649] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    46.649] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    46.649] (==) AMDGPU(0): Default visual is TrueColor
[    46.649] (==) AMDGPU(0): RGB weight 888
[    46.649] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    46.649] (--) AMDGPU(0): Chipset: "Radeon RX550/550 Series" (ChipID = 0x699f)
[    46.649] (II) Loading sub module "fb"
[    46.649] (II) LoadModule: "fb"
[    46.649] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    46.650] (II) Module fb: vendor="X.Org Foundation"
[    46.650]    compiled for 1.20.10, module version = 1.0.0
[    46.650]    ABI class: X.Org ANSI C Emulation, version 0.4
[    46.650] (II) Loading sub module "dri2"
[    46.650] (II) LoadModule: "dri2"
[    46.650] (II) Module "dri2" already built-in
[    46.892] (II) Loading sub module "glamoregl"
[    46.892] (II) LoadModule: "glamoregl"
[    46.892] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[    46.901] (II) Module glamoregl: vendor="X.Org Foundation"
[    46.901]    compiled for 1.20.10, module version = 1.0.1
[    46.901]    ABI class: X.Org ANSI C Emulation, version 0.4
[    46.939] (II) AMDGPU(0): Refusing to try glamor on llvmpipe
[    46.940] (EE) AMDGPU(0): glamor detected, failed to initialize EGL.
[    46.940] (WW) AMDGPU(0): amdgpu_glamor_pre_init returned FALSE, using ShadowFB
[    46.940] (II) Loading sub module "shadow"
[    46.940] (II) LoadModule: "shadow"
[    46.940] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[    46.941] (II) Module shadow: vendor="X.Org Foundation"
[    46.941]    compiled for 1.20.10, module version = 1.1.0
[    46.941]    ABI class: X.Org ANSI C Emulation, version 0.4
[    46.941] (II) AMDGPU(0): KMS Pageflipping: enabled
[    46.941] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[    46.941] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    46.941] (II) AMDGPU(0): Output DVI-D-0 has no monitor section
[    46.944] (II) AMDGPU(0): EDID for output DisplayPort-0
[    46.944] (II) AMDGPU(0): EDID for output HDMI-A-0
[    46.944] (II) AMDGPU(0): Manufacturer: SAM  Model: e33  Serial#: 2048
[    46.944] (II) AMDGPU(0): Year: 2017  Week: 8
[    46.944] (II) AMDGPU(0): EDID Version: 1.3
[    46.944] (II) AMDGPU(0): Digital Display Input
[    46.944] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 102  vert.: 57
[    46.944] (II) AMDGPU(0): Gamma: 2.20
[    46.944] (II) AMDGPU(0): No DPMS capabilities specified
[    46.944] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[    46.944] (II) AMDGPU(0): First detailed timing is preferred mode
[    46.944] (II) AMDGPU(0): redX: 0.641 redY: 0.330   greenX: 0.301 greenY: 0.601
[    46.944] (II) AMDGPU(0): blueX: 0.150 blueY: 0.061   whiteX: 0.280 whiteY: 0.290
[    46.944] (II) AMDGPU(0): Supported established timings:
[    46.944] (II) AMDGPU(0): 720x400@70Hz
[    46.944] (II) AMDGPU(0): 640x480@60Hz
[    46.944] (II) AMDGPU(0): 640x480@67Hz
[    46.944] (II) AMDGPU(0): 640x480@72Hz
[    46.944] (II) AMDGPU(0): 640x480@75Hz
[    46.944] (II) AMDGPU(0): 800x600@60Hz
[    46.944] (II) AMDGPU(0): 800x600@72Hz
[    46.944] (II) AMDGPU(0): 800x600@75Hz
[    46.944] (II) AMDGPU(0): 832x624@75Hz
[    46.944] (II) AMDGPU(0): 1024x768@60Hz
[    46.944] (II) AMDGPU(0): 1024x768@70Hz
[    46.944] (II) AMDGPU(0): 1024x768@75Hz
[    46.944] (II) AMDGPU(0): 1280x1024@75Hz
[    46.944] (II) AMDGPU(0): 1152x864@75Hz
[    46.944] (II) AMDGPU(0): Manufacturer's mask: 0
[    46.944] (II) AMDGPU(0): Supported standard timings:
[    46.944] (II) AMDGPU(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    46.944] (II) AMDGPU(0): #1: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[    46.944] (II) AMDGPU(0): #2: hsize: 1280  vsize 800  refresh: 60  vid: 129
[    46.944] (II) AMDGPU(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    46.944] (II) AMDGPU(0): #4: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    46.944] (II) AMDGPU(0): #5: hsize: 1600  vsize 900  refresh: 60  vid: 49321
[    46.944] (II) AMDGPU(0): #6: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    46.944] (II) AMDGPU(0): Supported detailed timing:
[    46.944] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  1210 x 680 mm
[    46.944] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    46.944] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[    46.944] (II) AMDGPU(0): Supported detailed timing:
[    46.944] (II) AMDGPU(0): clock: 85.5 MHz   Image Size:  1210 x 680 mm
[    46.944] (II) AMDGPU(0): h_active: 1366  h_sync: 1436  h_sync_end 1579 h_blank_end 1792 h_border: 0
[    46.944] (II) AMDGPU(0): v_active: 768  v_sync: 771  v_sync_end 774 v_blanking: 798 v_border: 0
[    46.944] (II) AMDGPU(0): Ranges: V min: 24 V max: 75 Hz, H min: 15 H max: 81 kHz, PixClock max 235 MHz
[    46.944] (II) AMDGPU(0): Monitor name: SAMSUNG
[    46.944] (II) AMDGPU(0): Supported detailed timing:
[    46.944] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  1210 x 680 mm
[    46.944] (II) AMDGPU(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[    46.944] (II) AMDGPU(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    46.944] (II) AMDGPU(0): Supported detailed timing:
[    46.944] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  1210 x 680 mm
[    46.944] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[    46.944] (II) AMDGPU(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[    46.944] (II) AMDGPU(0): Supported detailed timing:
[    46.944] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  1210 x 680 mm
[    46.944] (II) AMDGPU(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[    46.944] (II) AMDGPU(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    46.944] (II) AMDGPU(0): Supported detailed timing:
[    46.944] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  1210 x 680 mm
[    46.944] (II) AMDGPU(0): h_active: 1280  h_sync: 1390  h_sync_end 1430 h_blank_end 1650 h_border: 0
[    46.944] (II) AMDGPU(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[    46.944] (II) AMDGPU(0): Number of EDID sections to follow: 1
[    46.944] (II) AMDGPU(0): EDID (in hex):
[    46.944] (II) AMDGPU(0):    00ffffffffffff004c2d330e00080000
[    46.944] (II) AMDGPU(0):    081b0103806639780a23ada4544d9926
[    46.944] (II) AMDGPU(0):    0f474abdef80714f81c0810081809500
[    46.945] (II) AMDGPU(0):    a9c0b3000101023a801871382d40582c
[    46.945] (II) AMDGPU(0):    4500baa84200001e662156aa51001e30
[    46.945] (II) AMDGPU(0):    468f3300baa84200001e000000fd0018
[    46.945] (II) AMDGPU(0):    4b0f5117000a202020202020000000fc
[    46.945] (II) AMDGPU(0):    0053414d53554e470a202020202001db
[    46.945] (II) AMDGPU(0):    020332f14d901f041305140312202122
[    46.945] (II) AMDGPU(0):    07162c0907071507503d04c057070083
[    46.945] (II) AMDGPU(0):    010000e2000fe305030167030c001000
[    46.945] (II) AMDGPU(0):    b83c011d80d0721c1620102c2580baa8
[    46.945] (II) AMDGPU(0):    4200009e011d8018711c1620582c2500
[    46.945] (II) AMDGPU(0):    baa84200009e011d00bc52d01e20b828
[    46.945] (II) AMDGPU(0):    5540baa84200001e011d007251d01e20
[    46.945] (II) AMDGPU(0):    6e285500baa84200001e000000000068
[    46.945] (--) AMDGPU(0): HDMI max TMDS frequency 300000KHz
[    46.945] (II) AMDGPU(0): Printing probed modes for output HDMI-A-0
[    46.945] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[    46.945] (II) AMDGPU(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1920x1080"x30.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1920x1080"x25.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1920x1080"x30.0   74.18  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.7 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1366x768"x59.8   85.50  1366 1436 1579 1792  768 771 774 798 +hsync +vsync (47.7 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    46.945] (II) AMDGPU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    46.945] (II) AMDGPU(0): EDID for output DVI-D-0
[    46.945] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[    46.945] (II) AMDGPU(0): Output HDMI-A-0 connected
[    46.945] (II) AMDGPU(0): Output DVI-D-0 disconnected
[    46.945] (II) AMDGPU(0): Using exact sizes for initial modes
[    46.945] (II) AMDGPU(0): Output HDMI-A-0 using initial mode 1920x1080 +0+0
[    46.945] (II) AMDGPU(0): mem size init: gart size :ff972000 vram size: s:ff2e7000 visible:f2e7000
[    46.945] (==) AMDGPU(0): DPI set to (96, 96)
[    46.945] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    46.945] (II) Loading sub module "ramdac"
[    46.945] (II) LoadModule: "ramdac"
[    46.945] (II) Module "ramdac" already built-in
[    46.945] (II) UnloadModule: "modesetting"
[    46.945] (II) Unloading modesetting
[    46.949] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[    46.950] (==) AMDGPU(0): DRI3 disabled
[    46.950] (==) AMDGPU(0): Backing store enabled
[    46.950] (WW) AMDGPU(0): Direct rendering disabled
[    46.950] (II) AMDGPU(0): 2D and 3D acceleration disabled
[    46.950] (==) AMDGPU(0): DPMS enabled
[    46.950] (==) AMDGPU(0): Silken mouse enabled
[    46.961] (II) Initializing extension Generic Event Extension
[    46.961] (II) Initializing extension SHAPE
[    46.961] (II) Initializing extension MIT-SHM
[    46.961] (II) Initializing extension XInputExtension
[    46.963] (II) Initializing extension XTEST
[    46.963] (II) Initializing extension BIG-REQUESTS
[    46.963] (II) Initializing extension SYNC
[    46.963] (II) Initializing extension XKEYBOARD
[    46.963] (II) Initializing extension XC-MISC
[    46.963] (II) Initializing extension XFIXES
[    46.963] (II) Initializing extension RENDER
[    46.963] (II) Initializing extension RANDR
[    46.963] (II) Initializing extension COMPOSITE
[    46.963] (II) Initializing extension DAMAGE
[    46.963] (II) Initializing extension MIT-SCREEN-SAVER
[    46.963] (II) Initializing extension DOUBLE-BUFFER
[    46.963] (II) Initializing extension RECORD
[    46.963] (II) Initializing extension DPMS
[    46.963] (II) Initializing extension Present
[    46.963] (II) Initializing extension DRI3
[    46.963] (II) Initializing extension X-Resource
[    46.963] (II) Initializing extension XVideo
[    46.963] (II) Initializing extension XVideo-MotionCompensation
[    46.963] (II) Initializing extension GLX
[    46.963] (II) AIGLX: Screen 0 is not DRI2 capable
[    46.965] (II) IGLX: Loaded and initialized swrast
[    46.965] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    46.965] (II) Initializing extension XFree86-VidModeExtension
[    46.965] (II) Initializing extension XFree86-DGA
[    46.965] (II) Initializing extension XFree86-DRI
[    46.966] (II) Initializing extension DRI2
[    46.966] (II) AMDGPU(0): Setting screen physical size to 508 x 285
[    46.977] (EE)
[    46.977] (EE) Backtrace:
[    46.978] (EE) 0: /usr/bin/X (xorg_backtrace+0x53) [0x5585337dcc03]
[    46.978] (EE) 1: /usr/bin/X (0x558533624000+0x1bca25) [0x5585337e0a25]
[    46.978] (EE) 2: /lib64/libpthread.so.0 (0x7f390f331000+0x127e0) [0x7f390f3437e0]
[    46.978] (EE) 3: /lib64/libc.so.6 (gsignal+0x141) [0x7f390f1aea21]
[    46.978] (EE) 4: /lib64/libc.so.6 (abort+0x112) [0x7f390f198536]
[    46.978] (EE) 5: /lib64/libc.so.6 (0x7f390f176000+0x2241f) [0x7f390f19841f]
[    46.978] (EE) 6: /lib64/libc.so.6 (0x7f390f176000+0x314d2) [0x7f390f1a74d2]
[    46.978] (EE) 7: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f390ed80000+0x8f33) [0x7f390ed88f33]
[    46.978] (EE) 8: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f390ed80000+0x92a2) [0x7f390ed892a2]
[    46.978] (EE) 9: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f390ed80000+0x156ad) [0x7f390ed956ad]
[    46.978] (EE) 10: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f390ed80000+0x1772a) [0x7f390ed9772a]
[    46.978] (EE) 11: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (0x7f390ed80000+0x193ac) [0x7f390ed993ac]
[    46.978] (EE) 12: /usr/bin/X (MapWindow+0x25c) [0x5585336aaa3c]
[    46.978] (EE) 13: /usr/bin/X (0x558533624000+0x5ddf4) [0x558533681df4]
[    46.978] (EE) 14: /lib64/libc.so.6 (__libc_start_main+0xeb) [0x7f390f199e6b]
[    46.978] (EE) 15: /usr/bin/X (_start+0x2a) [0x55853366ad5a]
[    46.978] (EE)
[    46.978] (EE)
Fatal server error:
[    46.978] (EE) Caught signal 6 (Aborted). Server aborting
[    46.978] (EE)
[    46.978] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[    46.978] (EE) Please also check the log file at "/home/name/.local/share/xorg/Xorg.0.log" for additional information.
[    46.978] (EE)
[    46.998] (EE) Server terminated with error (1). Closing log file.



As you can see, there is a backtrace that terminates by reporting a fatal server error with signal 6. I am not sure if the prior item (Setting screen size...) is the item that failed, or the last item to be done successfully. Other than that, I am not sure what to look for. Please let me know if any other information would be helpful. The only other thing that jumps out at me is the reference to systemd-logind, as I use openrc and elogind, but maybe this text is hard coded into Xorg?


Last edited by PoissonAerohead on Thu Apr 08, 2021 5:02 am; edited 1 time in total
Back to top
View user's profile Send private message
PoissonAerohead
n00b
n00b


Joined: 07 Dec 2020
Posts: 25

PostPosted: Fri Apr 02, 2021 6:09 am    Post subject: Reply with quote

Cancel this. In reading through my Xorg.0.log again I found it. For future reference, the issue for me was caused by the version of the Xorg server I was running having been compiled against the prior kernel configuration. I was actually wondering if I was giving too much backstory in my post, but I guess it is true that everything can be relevant.

The simple explanation is that I built the X server with a kernel that did not have the amdgpu drivers or firmware included. I then ran into the issue that the card was not even recognized, and so figured out how to add the drivers and firmware.

After this, the card was recognized. However, the X server on my system was built against the prior kernel. I built the x11-base/xorg-server package and startx launched correctly.

Unfortunately, while I correctly get into twm with the three xterms and the xclock open, there is no keyboard or mouse input. I tried rebuilding the other x packages and libinput but this did not solve the problem. The xorg.0.log has a bunch of:

Warning, couldn't open module libinput
Failed to open module "libinput" (module does not exist, 0)
No input driver matching "libinput"
Falling back to input driver "libinput"

I am betting this has something to do with it. As this is technically unrelated, should I open a different thread?

EDIT:
This is definitely a problem. I just checked on the test Gentoo installation I did on my old laptop and there is one "(II) LoadModule: libinput" and the log never says anything again, just refers to the module for the various events.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4152
Location: Bavaria

PostPosted: Fri Apr 02, 2021 9:44 am    Post subject: Reply with quote

Maybe you are missing the kernel settings. Look here:
https://wiki.gentoo.org/wiki/Libinput
https://wiki.gentoo.org/wiki/USB/Guide#Config_options_for_the_kernel
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Fri Apr 02, 2021 1:29 pm    Post subject: Reply with quote

After you change a kernel run "emerge @module-rebuild" That should rebuild X stuff that depends on the kernel as well as any out of kernel modules like nvidia-drivers or r8169
I do the whole thing (change directories run make oldconfig run make config build and rebuild modules ) in a script in /usr/local/sbin.
For systems still running grub, I print a remember on the screen to update /boot/grub/grub.conf. One more adept with shell than I could do that right in the script like genkernel does.
Back to top
View user's profile Send private message
PoissonAerohead
n00b
n00b


Joined: 07 Dec 2020
Posts: 25

PostPosted: Mon Apr 05, 2021 7:04 am    Post subject: Reply with quote

Thank you for the suggestions, but I already checked my kernel config files and the emerge @module-rebuild you suggested did not update anything (thanks for the command though).

Since I have the test installation on the old laptop, I read through the xorg log file and found the the libinput module should be at /usr/lib64/xorg/modules/input/libinput/libinput_drv.so

I checked on my new computer and neither this shared object file nor the containing directory (input/) were present. I checked
Code:
equery files x11-drivers/xf86-input-libinput
and they were listed as belonging there (no other files were missing from my system, like the man page or the header in the include path). I looked at the output of
Code:
emerge --info x11-drivers/xf86-input-libinput
on both the old (working) laptop and the new computer and did not see anything obviously amiss.

Puzzled as to why this would happen, I just carefully (after checking dependencies for anything catastrophic which I did not expect to see) ran
Code:
emerge --unmerge x11-drivers/xf86-input-libinput[
(I saw the warning that the missing files were not present) followed by
Code:
emerge x11-drivers/xf86-input-libinput
which successfully installed the library file. Upon running startx, I had both keyboard and mouse support.

I figured I would at least document what was missing and that the simple removal and reinstallation worked, but I have no idea why these files were missing to begin with and unfortunately will likely not be able to replicate it. I'll mark this as solved.
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