You are not logged in.

#1 2020-04-07 03:25:32

newdaybreak
Member
Registered: 2019-05-28
Posts: 14

[Solved]AMD Radeon 550 amdgpu driver loaded but xorg fails to load mo

I have just swapped my old Nvidia card for an AMD radeon 550. I had previously not been using the proprietary nvidia driver as it was a very old card and there is no support for it in newer kernels.

I installed the mesa package and have the following in `/etc/X11/xorg.conf.d/20-amdgpu.conf`

Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
EndSection

No other configs are left over from previous graphics card that I can see...

Screen goes black just before login prompt appears when booting

Here is relevant portion of `/var/log/Xorg.0.log`:

[    43.633] (--) PCI:*(3@0:0:0) 1002:699f:1da2:e367 rev 199, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xf7dc0000/262144, I/O @ 0x0000dc00/256, BIOS @ 0x????????/131072
[    43.633] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    43.633] (II) LoadModule: "glx"
[    43.633] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    43.634] (II) Module glx: vendor="X.Org Foundation"
[    43.634]    compiled for 1.20.8, module version = 1.0.0
[    43.634]    ABI class: X.Org Server Extension, version 10.0
[    43.634] (II) LoadModule: "amdgpu"
[    43.635] (WW) Warning, couldn't open module amdgpu
[    43.635] (EE) Failed to load module "amdgpu" (module does not exist, 0)
[    43.635] (EE) No drivers available.
[    43.635] (EE)
Fatal server error:
[    43.635] (EE) no screens

The correct modules appear to be loaded and there are no bad kernel commandline args/blacklists

Relevant lspci -nnk

03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [1002:699f] (rev c7)
        Subsystem: Sapphire Technology Limited Lexa PRO [Radeon RX 550] [1da2:e367]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

Not sure what I am missing or what to check next, so any help is appreciated.

Last edited by newdaybreak (2020-04-17 02:59:08)

Offline

#2 2020-04-07 03:59:26

loqs
Member
Registered: 2014-03-06
Posts: 17,900

Re: [Solved]AMD Radeon 550 amdgpu driver loaded but xorg fails to load mo

pacman -Qikk xf86-video-amdgpu

Offline

#3 2020-04-07 04:44:19

newdaybreak
Member
Registered: 2019-05-28
Posts: 14

Re: [Solved]AMD Radeon 550 amdgpu driver loaded but xorg fails to load mo

loqs wrote:
pacman -Qikk xf86-video-amdgpu

Thanks.

In my readings I got the impression that the xf86-video-amdgpu package is the basic driver which only provded 2D acceleration in xorg and that mesa package included it and was all that was required.

xf86-video-amdgpu was not present so I installed it. xorg now seems to load the module properly but I still have a blank screen at the login prompt. I suspect my display config is somehow messed up? I have not defined it anywhere that I can remember for my old nvidia card.

My Xorg.0.log is rather alrge now but here is some relevant parts:

[   559.986] (==) No Layout section.  Using the first Screen section.
[   559.986] (==) No screen section available. Using defaults.
[   559.986] (**) |-->Screen "Default Screen Section" (0)
[   559.986] (**) |   |-->Monitor "<default monitor>"
[   559.987] (==) No device specified for screen "Default Screen Section".
[   560.099] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[   560.099] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[   560.099] (II) AMDGPU(0): Output DVI-D-0 has no monitor section
[   560.100] (II) AMDGPU(0): EDID for output DisplayPort-0
[   560.100] (II) AMDGPU(0): EDID for output HDMI-A-0
[   560.100] (II) AMDGPU(0): EDID for output DVI-D-0
[   560.100] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[   560.100] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[   560.100] (II) AMDGPU(0): Output DVI-D-0 disconnected
[   560.100] (WW) AMDGPU(0): No outputs definitely connected, trying again...
[   560.100] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[   560.100] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[   560.100] (II) AMDGPU(0): Output DVI-D-0 disconnected
[   560.100] (WW) AMDGPU(0): Unable to find connected outputs - setting 1024x768 initial framebuffer

My screen is connected to the DVI port and the grub menu etc. and initial boot screens come up fine.

Offline

#4 2020-04-07 04:49:23

loqs
Member
Registered: 2014-03-06
Posts: 17,900

Re: [Solved]AMD Radeon 550 amdgpu driver loaded but xorg fails to load mo

Please post the full output of dmesg and the contents of Xorg.0.log.  If it is too big to fit in code tags you can use a pastebin.

Offline

#5 2020-04-07 04:50:38

newdaybreak
Member
Registered: 2019-05-28
Posts: 14

Re: [Solved]AMD Radeon 550 amdgpu driver loaded but xorg fails to load mo

Sorry I forgot to add that I have not started x yet, when I get the blank screen.

In the past (nvidia gpu) when booting I would enter password to decrypt my LUKS system, and then get the text based login screen, login, then run xinit.

Now (amd gpu), when I have decrypt my drives at boot it goes straight to blank screen. I can then SSH in which is how I am obtaining these logs etc.

Offline

#6 2020-04-07 05:01:01

newdaybreak
Member
Registered: 2019-05-28
Posts: 14

Re: [Solved]AMD Radeon 550 amdgpu driver loaded but xorg fails to load mo

loqs wrote:

Please post the full output of dmesg and the contents of Xorg.0.log.  If it is too big to fit in code tags you can use a pastebin.


dmesg
Xorg.0.log

Thanks for your help/

Offline

#7 2020-04-07 05:16:59

loqs
Member
Registered: 2014-03-06
Posts: 17,900

Re: [Solved]AMD Radeon 550 amdgpu driver loaded but xorg fails to load mo

[   14.752726] amdgpu 0000:03:00.0: [drm] Cannot find any crtc or sizes

Try booting with the Kernel_module#Using_kernel_command_line amdgpu.dc=0

Offline

#8 2020-04-07 05:52:05

newdaybreak
Member
Registered: 2019-05-28
Posts: 14

Re: [Solved]AMD Radeon 550 amdgpu driver loaded but xorg fails to load mo

loqs wrote:
[   14.752726] amdgpu 0000:03:00.0: [drm] Cannot find any crtc or sizes

Try booting with the Kernel_module#Using_kernel_command_line amdgpu.dc=0

That did it! Back to normal now.

Thanks so much.

Offline

Board footer

Powered by FluxBB