LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-28-2020, 02:13 PM   #1
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Rep: Reputation: 30
New AMD rx590 graphics card black screen


[drm: amdgpu_init [amdgpu]] ERROR VGACON disables amdgpu kernel modesetting
This the error message I saw on booting my new card.

Now I'm stuck; the network is not available either, screen stays black with blinking cursor. The system seems to be up and drives are mounted when I boot in safe mode.
The card is recognized by the text mode configurator DRAKCONF but the proposed driver does not work, X does not start.
 
Old 03-29-2020, 01:06 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,213

Rep: Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539Reputation: 2539
Seeing as you've no network, I had a quick look.

ERROR VGACON seems to crop up with loads of newer AMD cards, and seems to be related to messy code in the proprietary driver not cleaning up correctly with resulting memory leaks. What driver are you running? Have you tried the opensource one?

Also, adding the nomodeset option seems to hold things together; In /etc/inittab, you can alter the default runlevel with the 'initdefault' setting. It's usually 4 or 5, but if you set 3, you get multiuser console mode, with text consoles on tty1-6. Then you run startx as a user, and it opens tty7, and your X session starts there.
 
Old 03-29-2020, 01:22 PM   #3
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Your profile lists your distribution as:

Distribution: Mandriva 2007.0

Hopefully you are not still using this as Mandriva has been discontinued since 2011. Please post your current distribution as it will affect the advice you are given.
 
Old 03-29-2020, 08:24 PM   #4
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
What driver are you running? Have you tried the opensource one?
AMD abandoned their proprietary Linux drivers years ago. The AMD Catalyst proprietary driver is no longer supported and does not support the RX series.

The RX590 is supported by the open source AMDGPU driver.

Quote:
In /etc/inittab, you can alter the default runlevel with the 'initdefault' setting. It's usually 4 or 5, but if you set 3, you get multiuser console mode, with text consoles on tty1-6.
Most modern distros use systemd by now and /etc/inittab is not used. Mageia, the successor to Mandriva uses systemd.

Code:
# inittab is no longer used.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To view current default target, run:
# systemctl get-default
#
# To s# inittab is no longer used.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To view current default target, run:
# systemctl get-default
#
# To set a default target, run:
# systemctl set-default TARGET.target
et a default target, run:
# systemctl set-default TARGET.target

Last edited by tofino_surfer; 03-31-2020 at 05:13 AM.
 
Old 03-30-2020, 02:50 AM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,303
Blog Entries: 1

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
Drakconf automatically generating an xorg.conf file is an anachronism that too often creates files that are not only unnecessary, but at times block proper X operation. The easy way around this is to empty /etc/X11/xorg.conf, making it 0 bytes, then setting the immutable flag on it:
Code:
sudo chattr +i /etc/X11/xorg.conf
Doing so may well cause X to work as upstream intended, in your case using the amdgpu DDX driver, and working as you expect.

Nomodeset as a boot parameter should enable you to perform needed adjustments, but it will block all competent X drivers. Once repairs have been made, its use needs to be discontinued.

Something else to try (test): add nokmsboot to the kernel cmdline at the Grub menu.
 
Old 04-13-2020, 04:02 PM   #6
rooman
Member
 
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Original Poster
Rep: Reputation: 30
I've passed the deb side of the force and tried Ubuntu.An upgrade from 18.04 to 19 and a reinstallation of the amdgpu driver did the trick.
Graphics are now working very well, between 60 and 80 fps in Flightgear.
Thanks guys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
You can not start Linux on your AMD computer get Black Screen or Error? AMD-IOMMU Teso Linux - Desktop 8 05-30-2019 05:39 AM
[SOLVED] Kernel issues with Rx590 GPU ahmadafef Linux - Newbie 19 01-04-2019 03:11 AM
Pc dual boot. New graphics card --> black screen chemicalfox Linux - Hardware 7 08-08-2018 02:29 AM
Help! Black screen instead of login screen! Intel integrated graphics coolblue SUSE / openSUSE 10 05-03-2007 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration