Project

General

Profile

Bug #10040

Broken amdgpu support and kms/fbcon not present

Added by Marco De Stefani 4 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Package update
Target version:
Start date:
03/04/2019
Due date:
% Done:

0%

Estimated time:
Affected versions:
Security IDs:

Description

Hi there! Xorg keep saying that kms is disabled/not supported even if setted in

etc/mkinitfs/mkinitfs.conf

And fbcon is not found in available modules.
Xorg fails to startup without kms. It only works with the old xf86-video-vesa driver.

History

#1 Updated by Natanael Copa 4 months ago

  • Target version changed from 3.8.3 to 3.10.0

what chipset is this?

We need more information about the hardware before we can do anything here.

What frambuffer and xorg driver do you need?

Have you tried alpine 3.9?

#2 Updated by Marco De Stefani 4 months ago

Sorry, not enough informations! I've got an AMD RX580 8GB (Nitro+) GPU with a Ryzen 2600x CPU, Alpine installed is the Edge (3.9), sys install (dual booted with Windows 10), with the community and testing repos activated, everything is up to date (and xorg installed with setup-xorg-base). I've followed the guide (https://wiki.alpinelinux.org/wiki/Radeon_Video), added to /etc/modules 'radeon' and 'fbcon', enabled kms to /etc/mkinitfs/mkinitfs.conf but I've noticed that 'fbcon' is not present in available modules (vanilla); in kms.conf radeon modeset is enabled. I've also removed from the blacklist the 'radeonfb' line from blacklist.conf. Also, after reboot xorg keeps saying that kms is disabled. In my old desktop machine with an old Nvidia GPU (GT 640) with the nouveau driver it seems that everything works fine (not tried enough, anyway).
My Window manager starts only with the vesa driver, and even if the amdgpu driver is installed, Chromium says (obviously) that I cannot handle the WebGL libraries (I need them for some projects). I want to help, but I don't know where to start

#3 Updated by Marco De Stefani 4 months ago

Well, it seems that modifying the 10-amdgpu.conf in /usr/share/xorg.conf.d the log says that the driver is loaded, but the problem remains because of kms. I think that even if adding kms to the mkinitfs.conf in /etc/mkinitfs the SO doesn't load it when booting. Upgraded all to the latest version (Alpine 3.10)

#4 Updated by Marco De Stefani 4 months ago

Well, that's funny. I've noticed that in the extlinux.conf there's "nomodprobe" by default. By removing it, kms is loaded when added in the mkinitfs.conf. Everything works fine and WebGL is now enabled, maybe we can update the Wiki?

#5 Updated by vinnie costante 3 months ago

  • Target version changed from 3.10.0 to 3.9.3

Marco De Stefani wrote:

Well, that's funny. I've noticed that in the extlinux.conf there's "nomodprobe" by default. By removing it, kms is loaded when added in the mkinitfs.conf. Everything works fine and WebGL is now enabled, maybe we can update the Wiki?

I think I had the same problem with an intel card though (i915 driver).
Under the advice of a mailing list user I tried to add the parameter i915.modeset=0 on syslinux kernel parameters but it didn't even start xorg anymore.
Once I removed the default parameter "nomodeset" the GUI didn't have any problems anymore.
This is the series of messages I exchanged on the mailing list: https://lists.alpinelinux.org/alpine-user/0720.html

(my version of alpine is 3.9.2)

#6 Updated by vinnie costante 3 months ago

vinnie costante wrote:

Marco De Stefani wrote:

Well, that's funny. I've noticed that in the extlinux.conf there's "nomodprobe" by default. By removing it, kms is loaded when added in the mkinitfs.conf. Everything works fine and WebGL is now enabled, maybe we can update the Wiki?

I think I had the same problem with an intel card (i915 driver).
Under the advice of a mailing list user I tried to add the parameter i915.modeset=0 on syslinux kernel parameters but it didn't even start xorg anymore.
Once I removed the default parameter "nomodeset" the GUI didn't have any problems anymore.
This is the series of messages I exchanged on the mailing list: https://lists.alpinelinux.org/alpine-user/0720.html

(my version of alpine is 3.9.2)

#7 Updated by Marco De Stefani 3 months ago

I think that the modeset parameter to 1 is strongly required nowdays. We should specify somewhere that the "nomodeset" entry in the extlinux.conf must be removed when installing some desktop environments and/or when modifying some kernel mode settings.

#8 Updated by vinnie costante 3 months ago

In the meantime, I have experienced another problem, which I believe is related.
If I connect two monitors (with different resolution) I start again to have the usual graphic glitches.
For the time being, I do not know what to do, but I wanted to mention it.

#9 Updated by Marco De Stefani 3 months ago

You can try to edit the Xorg's config file (/usr/share/X/xorg.conf.d/*) and adjust the resolution by yourself with a Section "Monitor" and/or "Screen". For these things the Arch wiki is the most updated and curated (https://wiki.archlinux.org/index.php/Xorg#Configuration)

#10 Updated by Natanael Copa 3 months ago

  • Target version changed from 3.9.3 to 3.9.4

#11 Updated by Natanael Copa about 2 months ago

  • Target version changed from 3.9.4 to 3.9.5

Also available in: Atom PDF