LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2020, 10:49 PM   #1
djoe_dev
LQ Newbie
 
Registered: Jul 2020
Posts: 18

Rep: Reputation: Disabled
Graphics driver not working correctly


Fresh install of ubuntu 20.04 from a newbie. I have an amd processor 3600/amd graphics card 5700 in my pc.

idk if my its me or if my computer really is running slow and sluggish in the graphics performance department, here are some warning signs i have noticed:

first time logging into ubuntu after entering password on a fresh restart, it freezes. looked into it and i needed to add nomodeset to grub because of a graphics related issue

then i tried to do fractional scaling to 150% on my 4k monitor, nope. can only do 100% and 200%. another graphics related issue.

then i just feel like everything is kind of sluggish in the graphics department like maybe i should update the graphics card just like i do on a fresh windows install. upon finding an article https://linuxconfig.org/amd-radeon-u...r-installation
i entered this code
Code:
sudo lshw -c video
and got:
*-display UNCLAIMED
description: VGA compatible controller
product: Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:28:00.0
version: c1
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:fcb00000-fcb7ffff memory:c0000-dffff

i saw display unclaimed and im like huh?

so are these some red flags or is it just me?

what could i check next?
 
Old 07-11-2020, 01:25 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,705

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
More useful information can be got using inxi. (You may need to install a package of the same name first.)
Code:
inxi -Gxx
In particular, this will show us which driver is in use.
 
2 members found this post helpful.
Old 07-11-2020, 02:49 AM   #3
djoe_dev
LQ Newbie
 
Registered: Jul 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
i got this response from inxi -Gxx

Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: XFX Pine driver: N/A bus ID: 28:00.0 chip ID: 1002:731f
Display: x11 server: X.Org 1.20.8 driver: ati,fbdev
unloaded: modesetting,radeon,vesa compositor: gnome-shell
resolution: 3840x2160~88Hz
OpenGL: renderer: llvmpipe (LLVM 10.0.0 128 bits) v: 3.3 Mesa 20.0.8
compat-v: 3.1 direct render: Yes
 
Old 07-11-2020, 03:47 AM   #4
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,705

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I'd expected to see the amdgpu kernel driver loaded. Are you still using 'nomodeset' in your grub boot config?
Code:
cat /proc/cmdline
Code:
lspci -nnk | grep -iA3 VGA
Also, the 'ati' Xorg DDX driver is in use. AFAIU the modesetting driver is all that should be required.

Last edited by ferrari; 07-11-2020 at 03:49 AM.
 
Old 07-11-2020, 03:51 AM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,705

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
first time logging into ubuntu after entering password on a fresh restart, it freezes. looked into it and i needed to add nomodeset to grub because of a graphics related issue
Can you clarify further here? Where did you read this advice?
 
Old 07-11-2020, 03:59 AM   #6
djoe_dev
LQ Newbie
 
Registered: Jul 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
i am still using nomodeset. the response from cat /proc/cmdline is:

Code:
BOOT_IMAGE=/vmlinuz-5.4.0-40-generic root=UUID=e219ad11-7ab4-49da-8d85-d5421478c70b ro quiet splash nomodeset vt.handoff=7
i was given that advice from this youtube video i came across: https://www.youtube.com/watch?v=Tg4fWsFPzSE

i don't know what nomodeset is, but it did allow me to login at least

the response to lspci -nnk | grep -iA3 VGA:

Code:
28: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 c1)
	Subsystem: XFX Pine Group Inc. Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1682:5701]
	Kernel modules: amdgpu
28:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]
 
Old 07-11-2020, 04:22 AM   #7
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,705

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
i don't know what nomodeset is, but it did allow me to login at least
Ok, it's really only intended for diagnostic purposes, and prevents the KMS driver from loading at boot, but the lspci output confirms that the amdgpu driver is loaded at least.

I'm not sure if this will help, but you could try removing 'xserver-xorg-video-ati', reboot, and Xorg should use the modesetting DDX driver instead.
 
Old 07-11-2020, 04:27 AM   #8
djoe_dev
LQ Newbie
 
Registered: Jul 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
should i turn off my nomodeset before trying that, or after?
 
Old 07-11-2020, 04:28 AM   #9
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,705

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
A long running thread describing similar graphics issues....

https://gitlab.freedesktop.org/drm/amd/-/issues/892
 
Old 07-11-2020, 04:32 AM   #10
djoe_dev
LQ Newbie
 
Registered: Jul 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
yeah this thread here seemed to be similar to my case

https://forum.mxlinux.org/viewtopic.php?f=104&t=56972
 
Old 07-11-2020, 04:36 AM   #11
djoe_dev
LQ Newbie
 
Registered: Jul 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
also just got this response

Code:
$ dmesg | grep -iC 3 "firmware"
[    0.145191] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.145191] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.156689] ACPI: 7 ACPI AML tables successfully acquired and loaded
[    0.157221] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.159709] ACPI: Interpreter enabled
[    0.159720] ACPI: (supports S0 S3 S4 S5)
[    0.159721] ACPI: Using IOAPIC for interrupt routing
--
[    0.165101] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[    0.165101] acpi PNP0A08:00: _OSC: platform does not support [SHPCHotplug PME LTR]
[    0.165101] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug AER PCIeCapability]
[    0.165101] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    0.165176] PCI host bridge to bus 0000:00
[    0.165177] pci_bus 0000:00: root bus resource [io  0x0000-0x03af window]
[    0.165178] pci_bus 0000:00: root bus resource [io  0x03e0-0x0cf7 window]
--
[    6.472543] systemd[1]: Mounted Mount unit for core18, revision 1705.
[    6.498260] usbcore: registered new interface driver btusb
[    6.498913] cryptd: max_cpu_qlen set to 1000
[    6.504161] Bluetooth: hci0: Firmware revision 0.0 build 36 week 36 2019
[    6.504657] AVX2 version of gcm_enc/dec engaged.
[    6.504658] AES CTR mode by8 optimization enabled
[    6.506143] Intel(R) Wireless WiFi driver for Linux
--
[    6.506217] iwlwifi 0000:21:00.0: enabling device (0000 -> 0002)
[    6.512261] iwlwifi 0000:21:00.0: Found debug destination: EXTERNAL_DRAM
[    6.512263] iwlwifi 0000:21:00.0: Found debug configuration: 0
[    6.512904] iwlwifi 0000:21:00.0: loaded firmware version 36.77d01142.0 op_mode iwlmvm
[    6.515410] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[    6.518374] systemd[1]: Found device Sabrent EFI\x20system\x20partition.
[    6.520623] systemd[1]: Mounted Mount unit for gnome-3-34-1804, revision 24.
--
[    6.540022] systemd-journald[435]: File /var/log/journal/75e1005e5ee44798b1b5e7718ea97dfd/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    6.566963] iwlwifi 0000:21:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[    6.573555] iwlwifi 0000:21:00.0: Applying debug destination EXTERNAL_DRAM
[    6.573889] iwlwifi 0000:21:00.0: Allocated 0x00400000 bytes for firmware monitor.
[    6.574056] mc: Linux media interface: v0.10
[    6.574365] [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
[    6.579844] snd_hda_intel 0000:28:00.1: Handle vga_switcheroo audio client
im assuming this is because of the nomodeset currently?
 
Old 07-11-2020, 04:42 AM   #12
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,705

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by djoe_dev View Post
should i turn off my nomodeset before trying that, or after?
No, there's no need to change anything else, although it is unlikely to help based on what I've read recently.
 
Old 07-11-2020, 04:49 AM   #13
djoe_dev
LQ Newbie
 
Registered: Jul 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
the thread you posted seemed to have a lot to do with stability, but it seems im not even getting the driver to initiate at all, so i may be having a separate issue altogether i think. in regards to stability, it seems that most people who upgraded their kernels experienced better results. i came across this thread on how to upgrade my kernel

https://linuxconfig.org/how-to-upgra...al-fossa-linux

but i'll be honest, im new to linux and im just throwing ideas out there. my assumption would be that it recognized the amd gpu kernel, it just isn't kicking it into gear so to say. the earlier thread i posted had this to say

Quote:
"Thanks for your help, guys. I got it running. :happy:

All I had to do was remove the navi10* firmware files from /lib/firmware/amdgpu/ and installing the "linux-firmware" package as suggested by Stevo. Probably did someting wrong installing those manually, had a corrupted file or something of the like. Still running with the 5.4.7-antix.1-amd64-smp kernel.

If I do find the time I might do some performance testing with newer kernels and report back."
however i would doubt that whatever navi10 files i have are corrupted just based on the fact that this was the latest destro just downloaded this morning, unless one of the files was corrupt in the download.

im willing to try anything, should i try your original suggestion first or do any of these other ideas (upgrading kernel, reinstalling linux-firmware) seem like worthy options to try first as well?
 
Old 07-11-2020, 05:03 AM   #14
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,705

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Let's see what others have to say. (I don't have direct experience with modern AMD hardware.)
 
Old 07-11-2020, 05:10 AM   #15
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,616
Blog Entries: 1

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
Please provide inxi output once more, but a little differently, and wrap its output in code tags ( # above the input window):
Code:
inxi -GSxxza

Last edited by mrmazda; 07-11-2020 at 05:12 AM.
 
  


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
I have installed Bhodi Linux but the graphics interface is not seen correctly SaloCB Bodhi 1 07-29-2018 04:03 PM
"the system is running in low-graphics mode" ==> your screen,graphics card and input device setting could not be detected correctly.you will sachinmm Linux - Software 8 01-04-2016 12:28 AM
Graphics driver and wireless LAN driver are not working on dell N5010 for RHEL 5.7 TnG Linux - Laptop and Netbook 2 05-24-2012 04:09 PM
[SOLVED] Wicd won't install correctly/run correctly (64-bit Slackware 13) bgraybr Slackware 3 04-01-2010 06:57 PM
Sound and Graphics not working in Intel D101GGC with ATI graphics and Realtek audio sanu1 Linux - Hardware 2 12-28-2008 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 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