Lutris/Manjaro : amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x

I tried everything in 5.7. Didn’t try in 5.8 except what you told me to try. You think it would change something ?

Huh? All posts displays kernel 5.8 xD When did you use 5.7 ?

Try different kernels since the amdgpu driver is baked in it it has different stages of progress.

Yeah I did all you suggested in 5.8, but all my previous tests were in 5.7.

What should I try with different kernels ?

same as above ^^ but just start the computer with different kernels.

btw… what shows mhwd -l ?

> 0000:02:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:1002:679a) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

Is there a way to change kernel and reboot with a command ?

I’ll try this

Loading
The amdgpu kernel module should load fine automatically on system boot.
If it does not happen, then:

with 5.8 and 5.7

Nevertheless if nothing helps… give the experimental driver a try: amdgpu-experimental (version 20200411) from aur.

Seems it has better hardware support.

I also already tried it (5.7)
Had a black screen or LDM issue :confused:

You forgot this :slight_smile:

I didn’t have a black screen or a LDM issue, I thought it would be pointless.
Should I do it even if my DE is displaying ?

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=8926
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.01s] DEBUG: XServer 1: Can't launch X server Xephyr, not found in path
[+0.01s] DEBUG: XServer 1: X server stopped
[+0.01s] DEBUG: Releasing VT 7
[+0.01s] DEBUG: Seat seat0: Display server stopped
[+0.01s] DEBUG: Seat seat0: Can't create display server for greeter
[+0.01s] DEBUG: Seat seat0: Session stopped
[+0.01s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.01s] DEBUG: Seat seat0: Stopping
[+0.01s] DEBUG: Seat seat0: Stopped
[+0.01s] DEBUG: Failed to start seat: seat0

I do not speak German, sorry :smile:

Do it when lightdm failed in another tty.

sudo lightdm –-test-mode --debug > ~/output.txt

this will write the output to your home dir.

Alright, I’ll try to make it crash.

1 Like
WARNING: Possibly missing firmware for module: xhci_pci

when doing sudo mkinitcpio -p linux58
Is it linked ?

Fm it worked.

$ lutris :

Unable to load locale dir, translations won`t work.
2020-08-18 02:08:54,038: MAME XML generation launched in the background, not returning anything this time
2020-08-18 02:08:54,038: Getting full game list from MAME...
2020-08-18 02:08:54,041: MAME isn`t installed, can`t retrieve systems list.
2020-08-18 02:08:54,246: Running Lutris 0.5.7.1
2020-08-18 02:08:54,246: Using X.Org
2020-08-18 02:08:54,246: Running Mesa driver 20.1.5 on AMD Radeon HD 7900 Series (TAHITI, DRM 3.38.0, 5.8.0-2-MANJARO, LLVM 10.0.1) (0x679a)
2020-08-18 02:08:54,246: GPU: 1002:679A 1458:229A using amdgpu drivers
WARNING: radv is not a conformant vulkan implementation, testing use only.
2020-08-18 02:08:54,832: Vulkan is supported
2020-08-18 02:08:55,560: MAME XML written

(lutris:2461): Gdk-CRITICAL **: 02:08:55.663: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

Before

Now lutris?

Lutris says you use DRM3 which you need ^^^

What did you do?

edit: could you post a full inxi? sudo inxi -Fxxxa --no-host

Well. Those two things :

Specify the correct module order

Even when AMDGPU support for SI/CIK has been enabled by the kernel, the radeon driver may be loaded before the amdgpu driver.

Make sure amdgpu has been set as first module in the Mkinitcpio#MODULES array, e.g. MODULES=(amdgpu radeon) .

Set module parameters in modprobe.d

Create the configuration modprobe files in /etc/modprobe.d/ , see modprobe.d(5) for syntax details.

For Southern Islands (SI) use option si_support=1 , for Sea Islands (CIK) use option cik_support=1 , e.g.:

/etc/modprobe.d/amdgpu.conf

options amdgpu si_support=1 options amdgpu cik_support=1

/etc/modprobe.d/radeon.conf

options radeon si_support=0 options radeon cik_support=0

Make sure modconf is in the the HOOKS array in /etc/mkinitcpio.conf and regenerate the initramfs.

yeahs seems this works. at least it uses now DRM3 :smiley:

Yup. But passing those options in the GRUB_CMDLINE_LINUX_DEFAULT or in the GRUB_CMDLINE_LINUX doesn’t seem to work, at least for me.

Do you know how I could write a clean answer for the problem ? Like with all the parameters of my PC configuration ? So anyone reading the answer could see what he should have to make it work ?

Yeah, I hope using DRM3 will help me !

ok now a clean answer:

  1. Add the options to modprobe:
sudo su && \
echo "options amdgpu si_support=1" >> /etc/modprobe.d/amdgpu.conf
echo "options amdgpu cik_support=1" >> /etc/modprobe.d/amdgpu.conf
echo "options radeon si_support=0" >> /etc/modprobe.d/radeon.conf
echo "options radeon cik_support=0" >> /etc/modprobe.d/radeon.conf
  1. add this to /etc/mkinitcpio.conf:
MODULES=(amdgpu radeon)

and

mkinitcpio -P

reboot

Then check with inxi -Ga if you use DRM 3 like this:

Is that correct @TheHaricover ?

2 Likes

Thank you for your help and for your answer !

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.