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 09-16-2023, 06:46 PM   #1
bobIsHere244
Member
 
Registered: Dec 2018
Posts: 39

Rep: Reputation: Disabled
amd hardware graphics acceleration quit working with no clear cause


today i had problems with my keyboard/usb ports, which was quickly resolved, but when i logged back onto the system i got a message (image i linked in the attachments), but i havent changed anything besides resetting my user password (thru root terminal in safemode) and changing out my keyboard.

my system was running fine for months since i installed linux mint 20.3, ive had no problems with graphics until today, but now the hardware acceleration is gone and my framerate is crap.

why would my gpu just stop working like that? i suspect there may be something wrong with my motherboard now.

i have had minor usb problems previously but if it has spread to the gpu i dont understand how.

gpu: Radeon R7 260X/360
os: linux mint 20.3 cinnamon
cinnamon version: 5.2.7
motherboard info: gigabyte GA-78LMT-S2 64bit
cpu: amd fx4300
Attached Thumbnails
Click image for larger version

Name:	0523235.png
Views:	16
Size:	18.3 KB
ID:	41678  
 
Old 09-16-2023, 07:27 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,355
Blog Entries: 1

Rep: Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201
For serious help, consider providing actual diagnostic information, such as pasting inxi -GSaz input/output here using code tags, and pastebinning Xorg.0.log, whether you find it in /var/log/ or in ~/.local/share/xorg/. Note: 20.3 provides an antique inxi of little value for graphics troubleshooting. Latest inxi can be had from here.
 
Old 09-16-2023, 07:47 PM   #3
bobIsHere244
Member
 
Registered: Dec 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
System:
Kernel: 5.4.0-91-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.4.0-91-generic
root=UUID=e70eda8e-9544-4de8-b5a8-d0b9da860bff ro recovery nomodeset
dis_ucode_ldr
Desktop: Cinnamon 5.2.7 wm: muffin 5.2.1 dm: LightDM 1.30.0
Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Graphics:
Device-1: AMD Bonaire XTX [Radeon R7 260X/360] vendor: XFX Pine
driver: N/A bus ID: 01:00.0 chip ID: 1002:6658
Display: x11 server: X.Org 1.20.13 driver: ati,vesa
unloaded: fbdev,modesetting,radeon resolution: 1920x1080~N/A
OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.2.6
compat-v: 3.1 direct render: Yes
 
Old 09-16-2023, 07:51 PM   #4
bobIsHere244
Member
 
Registered: Dec 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
https://www.dropbox.com/scl/fi/sg18i...svn751mrx&dl=0
 
Old 09-17-2023, 02:10 AM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,355
Blog Entries: 1

Rep: Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201
All my 20.x installations have been upgraded to now 21.2, so I can't reproduce the software versions your replies show.

Your "pastebin" job is useless here. I have no access rights on that site, apparently required to access others' pastes, and have no intention of getting any. You should have a pastebinit command on your system to pastebin to a more accessible location. If not, install it. If you use Nemo, you can use its built-in paste extension for pastebinning.

Your Bonaire and my Kaveri are both GCN2 generation, so very similar. This is what your inxi output should resemble if you followed my instruction:
Code:
$ inxi -GSaz --vs --zl --hostname
inxi 3.3.29-00 (2023-08-15)
System:
  Host: ara88 Kernel: 6.2.0-32-generic arch: x86_64 bits: 64 compiler: N/A
    clocksource: tsc available: hpet,acpi_pm parameters: BOOT_IMAGE=/vmlinuz
    root=LABEL=<filter> noresume ipv6.disable=1 plymouth.enable=0
    net.ifnames=0 radeon.cik_support=0 amdgpu.cik_support=1 consoleblank=0
    preempt=full mitigations=off
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.33 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 21.2 Victoria
    base: Ubuntu 22.04 LTS Jammy
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: amdgpu
    v: kernel alternate: radeon arch: GCN-2 code: Sea Islands
    process: GF/TSMC 16-28nm built: 2013-17 ports: active: DP-1,DVI-D-1
    empty: HDMI-A-1,VGA-1 bus-ID: 00:01.0 chip-ID: 1002:130f class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 compositor: xfwm v: 4.18.0 driver:
    X: loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x1440 s-dpi: 96 s-size: 953x381mm (37.52x15.00")
    s-diag: 1026mm (40.41")
  Monitor-1: DVI-D-1 mapped: DVI-D-0 pos: right model: Dell P2213
    serial: <filter> built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-2: DP-1 mapped: DisplayPort-0 pos: primary,left
    model: Acer K272HUL serial: <filter> built: 2018 res: 2560x1440 hz: 60
    dpi: 109 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 renderer: KAVERI (kaveri
    LLVM 15.0.7 DRM 3.49 6.2.0-32-generic) direct-render: Yes
$
Your kernel parameters include recovery and nomodeset. Nomodeset in particular is bad news for graphics performance, essentially killing it. It's designed mainly to assist in troubleshooting. Your "driver: N/A" and "driver: ati,vesa" are negative consequences of nomodeset. Instead of "N/A" you should see "amdgpu", and instead of "ati,vesa" you should see either "amdgpu" or "modesetting", with amdgpu usually preferred.

Recovery among kernel parameters usually means you booted using a non-default recovery mode Grub selection. Why did you do that?
 
Old 09-17-2023, 05:05 AM   #6
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 307

Rep: Reputation: 112Reputation: 112
Kernel 5.4.0 is very old and possibly too old for use with newer AMD GPUs like yours. amdgpu driver got some improvements in Kernel 5.10, but this kernel is quite old too. Use latest stable kernel 6.5.3 or latest longterm kernel 6.1.53 instead of an antique 5.x kernel.

If graphics problems persist after kernel upgrade it's time to check your hardware.
 
Old 09-17-2023, 05:16 AM   #7
bobIsHere244
Member
 
Registered: Dec 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
the default grub recover thing i have no clue, i just looked up how to get to safemode and did it.
 
Old 09-17-2023, 05:16 AM   #8
bobIsHere244
Member
 
Registered: Dec 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
hopefuly this link actually works https://www.dropbox.com/scl/fi/sg18i...svn751mrx&dl=0
 
Old 09-17-2023, 06:07 AM   #9
bobIsHere244
Member
 
Registered: Dec 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
updating the kernel APPEARS TO have fixed the lack of hardware acceleration (i think it was the kernel that did that?), but that doesnt explain y it happened in the first place, again i will say that i changed nothing, it just happened.
 
Old 09-17-2023, 07:53 AM   #10
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 307

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by bobIsHere244 View Post
i will say that i changed nothing, it just happened.
Quote:
Originally Posted by bobIsHere244 View Post
besides resetting my user password (thru root terminal in safemode) and changing out my keyboard.
This is more than "nothing"!

Your system uses with kernel 5.4.0 only this awful VESA driver:
[ 84.956] (II) VESA(0): initializing int10 driver:

radeon driver isn't used due to used nomodeset kernel parameter:
[ 84.817] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-91-generic root=UUID=e70eda8e-9544-4de8-b5a8-d0b9da860bff ro recovery nomodeset dis_ucode_ldr
[ 84.952] (II) [KMS] drm report modesetting isn't supported.
[ 84.952] (EE) open /dev/dri/card0: No such file or directory

amdgpu driver seems to be unavailable.

To use amdgpu driver with a newer kernel you may have to update firmware package. These files are commonly located at /lib/firmware and there must exist a subdirectory /amdgpu filled with firmware files to use amdgpu driver.

Last edited by Arnulf; 09-17-2023 at 07:54 AM.
 
Old 09-17-2023, 09:10 AM   #11
bobIsHere244
Member
 
Registered: Dec 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Arnulf View Post
This is more than "nothing"!

Your system uses with kernel 5.4.0 only this awful VESA driver:
[ 84.956] (II) VESA(0): initializing int10 driver:

radeon driver isn't used due to used nomodeset kernel parameter:
[ 84.817] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-91-generic root=UUID=e70eda8e-9544-4de8-b5a8-d0b9da860bff ro recovery nomodeset dis_ucode_ldr
[ 84.952] (II) [KMS] drm report modesetting isn't supported.
[ 84.952] (EE) open /dev/dri/card0: No such file or directory

amdgpu driver seems to be unavailable.

To use amdgpu driver with a newer kernel you may have to update firmware package. These files are commonly located at /lib/firmware and there must exist a subdirectory /amdgpu filled with firmware files to use amdgpu driver.
again, nothing changed, and i dont believe i have automatic updates enables, there was a bunch of stuff in the update cache waiting for me to activate it, whatever config my system was in regardless of how bad or good it was, it WORKED until 1 day it simply didnt, so yes it was nothing.
 
Old 09-17-2023, 03:46 PM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,355
Blog Entries: 1

Rep: Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201
Quote:
Originally Posted by bobIsHere244 View Post
the default grub recover thing i have no clue, i just looked up how to get to safemode and did it.
Why??? You cannot have nomodeset on the kernel cmdline with an AMD GPU and have competent graphics output. Recovery and safe Grub modes that include nomodeset are there to enable repairs to be made to a broken configuration.
 
Old 09-17-2023, 04:39 PM   #13
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,355
Blog Entries: 1

Rep: Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201
Quote:
Originally Posted by bobIsHere244 View Post
From that file:
Code:
# grep EE Xorg.0.log
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    84.952] (EE) open /dev/dri/card0: No such file or directory
[    84.952] (EE) open /dev/dri/card0: No such file or directory
[    84.953] (EE) open /dev/fb0: No such file or directory
[    84.953] (EE) open /dev/fb0: No such file or directory
[    84.953] (EE) Screen 0 deleted because of no matching config section.
[    84.953] (EE) Screen 0 deleted because of no matching config section.
[    84.953] (EE) Screen 0 deleted because of no matching config section.
#
Those (EE) lines (very bad errors) are a consequence of nomodeset:
Code:
[    84.817] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-91-generic root=... ro recovery nomodeset dis_ucode_ldr
The amdgpu kernel and display drivers that competent graphics depend on cannot load when nomodeset is employed. We need to see Xorg.0.log from attemping to boot any Grub menu selection that omits nomodeset. You can do that by attempting such boot, then if you get only a black screen and Crtl-Alt-F3 fails to provide a login prompt, rebooting using nomodeset, then uploading Xorg.0.log.old instead of Xorg.0.log.
 
Old 09-17-2023, 08:23 PM   #14
bobIsHere244
Member
 
Registered: Dec 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
maybe this was a consequence of entering recovery mode? but i dont know y that would persist like that.
 
Old 09-17-2023, 10:09 PM   #15
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,355
Blog Entries: 1

Rep: Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201Reputation: 2201
Show us what's in your Grub menu. When it appears, instead of booting right away, take a picture and show us what you see. Copy and paste here using code tags /etc/default/grub too. Also helpful could possibly be pastebinning /boot/grub/grub.cfg so we can maybe see what's gone wrong.
 
  


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
Hardware Acceleration - your system is currently running without video hardware acceleration Dunnyman Linux - Software 3 11-18-2020 03:43 PM
OpenSuSE Tumbleweed: AMD Radeon RX Vega 64 [3D graphics hardware acceleration] Welly Wu Linux - Hardware 1 04-04-2018 08:48 PM
Can "less" do not clear screen after quit? frado Linux - Desktop 3 11-16-2016 03:11 PM
[SOLVED] viRTUAL BOX VT-x/AMD-V hardware acceleration problem mohoho Linux - Newbie 2 01-09-2016 08:25 AM
Hardware acceleration working/not working. Out of ideas Emist Linux - Hardware 12 07-16-2005 03:32 PM

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

All times are GMT -5. The time now is 02:21 AM.

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