Yet another "GUI won't start" issue

Help with issues regarding installation of Debian

Yet another "GUI won't start" issue

Postby Mangoist » 2020-04-28 06:29

Apologies for expanding this family of problems, but here I am with this one. First, system specs:

Motherboard: ASUS X570-Plus
CPU: AMD Ryzen 7 3700X
GPU: MSI Radeon RX 5700
Debian build: 10.3


I installed by forcing UEFI mode, and the BIOS is set to boot UEFI only (CSM is on).

I have installed the non-free AMD drivers according to here: https://wiki.debian.org/AtiHowTo. I have not installed the proprietary drivers. I've also installed "firmware-linux" as suggested in other threads. I have chosen KDE as my display manager.

I can boot to console, but typing "startx" results in the following (extracted with "cat /var/log/Xorg.0.log | grep EE"):
Code: Select all
[  2266.695] (EE) open /dev/dri/card0: No such file or directory
[  2266.695] (EE) open /dev/dri/card0: No such file or directory
[  2266.695] (EE) Unable to find a valid framebuffer device
[  2266.695] (EE) Screen 0 deleted because of no matching config section.
[  2266.695] (EE) Screen 0 deleted because of no matching config section.
[  2266.695] (EE)
[  2266.696] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[  2266.696] (EE)


I've tried generating a xorg.conf file using "X -configure", but all I get is this:
Code: Select all
[  1771.338] (EE) Screen 0 deleted because of no matching config section.
[  1771.338] (EE) Screen 0 deleted because of no matching config section.
[  1771.338] (EE) Screen 0 deleted because of no matching config section.
[  1771.338] (EE) Screen 0 deleted because of no matching config section.
[  1771.338] (EE) Device(s) detected, but none match those in the config file.
[  1771.338] (EE)
[  1771.338] (EE) no screens found(EE)
[  1771.338] (EE)


However, when I had previously (and accidentally) installed Debian using BIOS compatibility mode instead of UEFI, I didn't have this problem (though I still had to start the display manager manually with "startx"). Instead, I was having the screen go black for seconds every minute or so, which proved irritating enough to make me reinstall.

Some other threads have mentioned hardware issues. At this point, I'm wondering if I should give up and get Kubuntu...
Mangoist
 
Posts: 5
Joined: 2020-04-28 06:04

Re: Yet another "GUI won't start" issue

Postby Head_on_a_Stick » 2020-04-28 10:00

Mangoist wrote:CPU: AMD Ryzen 7 3700X
GPU: MSI Radeon RX 5700

3rd generation Ryzen is poorly supported by the stock Debian buster kernel and Debian doesn't have the Navi firmware required by that GPU, even in the unstable or experimental repositories.

You can try the newer kernel version from the buster-backports repository (see my [FAQ] guide in the HowTo section for details) and MX Linux's newer firmware package from here but that might not be enough because you'll still be using an old version of the xserver-xorg-video-amdgpu DDX driver.

Mangoist wrote:I have installed the non-free AMD drivers

No you didn't, you installed the non-free firmware. But that won't support your card, as I have explained above.

Mangoist wrote:I've tried generating a xorg.conf file using "X -configure"

That method is obsolete, don't use it.

Mangoist wrote:I'm wondering if I should give up and get Kubuntu...

Nobody here gives a flying crap which operating system you use.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12159
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Yet another "GUI won't start" issue

Postby Mangoist » 2020-04-28 14:44

Thanks for the info. I'll see if there's something I can do with it.

I don't quite understand the hostility though.
Mangoist
 
Posts: 5
Joined: 2020-04-28 06:04

Re: Yet another "GUI won't start" issue

Postby Head_on_a_Stick » 2020-04-28 14:56

Mangoist wrote:I don't quite understand the hostility though.

It's my nature, I'm a very grumpy individual. And your "threat" of switching to Kubuntu irked me.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12159
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Yet another "GUI won't start" issue

Postby Mangoist » 2020-04-28 16:20

Sorry, didn't mean it to come off that way. I'm just frustrated because I've been banging at this for weeks now.
Mangoist
 
Posts: 5
Joined: 2020-04-28 06:04

Re: Yet another "GUI won't start" issue

Postby oswaldkelso » 2020-04-28 17:06

Head_on_a_Stick wrote:
Mangoist wrote:I don't quite understand the hostility though.

It's my nature, I'm a very grumpy individual. And your "threat" of switching to Kubuntu irked me.


hoas. Get out your leather jacket, DA and say it :twisted:

https://invidio.us/watch?v=fbMKjLe-RFA
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
User avatar
oswaldkelso
 
Posts: 1249
Joined: 2005-07-26 23:20
Location: UK

Re: Yet another "GUI won't start" issue

Postby stevepusser » 2020-04-29 03:13

It's been reported that this MX buster-based respin gets to a GUI with the AMD 5700 XT--you can try it in a live session and find out: https://archive.org/details/mx19x64updated
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.7, Strawberry 0.6.12, Pale Moon 28.10.0, Xscreensaver 5.44, Krita 4.3.0, Foliate 2.4.0
User avatar
stevepusser
 
Posts: 11792
Joined: 2009-10-06 05:53

Re: Yet another "GUI won't start" issue

Postby Mangoist » 2020-04-29 20:04

Just an update on this. I've gone ahead and installed Bullseye instead. It seems to have most of the firmware you need, except Navi. Apparently the Navi firmware is live on a particular repository: https://www.reddit.com/r/debian/comment ... n_testing/. Gonna report back once I try getting that going.
Mangoist
 
Posts: 5
Joined: 2020-04-28 06:04

IT LIVES!

Postby Mangoist » 2020-04-29 23:24

I finally got this working! I'll list out what I did to help others who might have a similar issue (starting point: Bullseye):

    Make yourself part of the sudo group
    Add an IP address to the Ethernet port, since it won't have gone up automatically due to lack of firmware
    Install AMD drivers (see references) and "firmware-realtek" and "make"
    (Probably optional) Install "vulkan-tools vulkan-utils vulkan-validationlayers"
    Download the latest firmware blobs from the AMDGPU Git project: http://git.kernel.org/?p=linux/kernel/g ... rmware.git. You can download the GZ with "wget" and unzip it somewhere, or use the "git clone" command (I did the former)
    Install the blobs with "make install" (must be in the parent folder you got)
    (Optional) Setup Git folder to receive latest updates
    Create blacklist file with the line "blacklist radeon"

After a reboot I was all set. Hope this helps.

References:
ATI How To (for installing non-free drivers): https://wiki.debian.org/AtiHowTo
Using Git: https://wiki.debian.org/UsingGit
Kernel Mode Blacklisting: https://wiki.debian.org/KernelModuleBlacklisting
https://www.reddit.com/r/debian/comment ... n_testing/
Mangoist
 
Posts: 5
Joined: 2020-04-28 06:04

Re: Yet another "GUI won't start" issue

Postby stevepusser » 2020-04-30 03:52

Why do you think you needed a newer amdgpu driver in Bullseye? We already know that the Bullseye version works with the 5700 XT when backported to Buster.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.7, Strawberry 0.6.12, Pale Moon 28.10.0, Xscreensaver 5.44, Krita 4.3.0, Foliate 2.4.0
User avatar
stevepusser
 
Posts: 11792
Joined: 2009-10-06 05:53

Re: Yet another "GUI won't start" issue

Postby KoO » 2020-05-01 02:12

I can tell you that with the 1.187mx19+1 firmware update running MX19 AHS my new RX5600 xt card works perfectly. Thanks Stevo

Linux mx-ahs 5.6.0-trunk-amd64 #1 SMP Debian 5.6.4-1~mx19+1 (2020-04-19) x86_64 GNU/Linux
/sys/class/hwmon/hwmon0 = amdgpu

Code: Select all
07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [1002:731f] (rev ca)
   Subsystem: Sapphire Technology Limited Navi 10 [1da2:e411]
   Kernel driver in use: amdgpu
   Kernel modules: amdgpu


The same can be said for Debian Bullseye.. Thanks you so much Ubuntu

Linux debian 5.6.0-1-amd64 #1 SMP Debian 5.6.7-1 (2020-04-29) x86_64 GNU/Linux

Code: Select all
amdgpu-pci-0700
Adapter: PCI adapter
vddgfx:      775.00 mV
fan1:           0 RPM  (min =    0 RPM, max = 3200 RPM)
edge:         +42.0°C  (crit = +118.0°C, hyst = -273.1°C)
                       (emerg = +99.0°C)
junction:     +42.0°C  (crit = +99.0°C, hyst = -273.1°C)
                       (emerg = +99.0°C)
mem:          +44.0°C  (crit = +99.0°C, hyst = -273.1°C)
                       (emerg = +99.0°C)
power1:        9.00 W  (cap = 160.00 W)




Code: Select all
07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev ca)
   Subsystem: Sapphire Technology Limited Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1da2:e411]
   Kernel driver in use: amdgpu           
   Kernel modules: amdgpu
Systems : Debian-10 bullseye (i3wm)
KoO
 
Posts: 20
Joined: 2019-04-20 02:42


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable