Im new to linux and im having issue with GPU.
At first I had the (in)famous black screen crash at random times. I searched for solutions, but since this isnt my daily driver, i just gave up. Until today when a new kernel got updated and it seems that for at least these 4hrs of uptime the problem is solved.
But it created a new problem... videos are now choppie, moving windows around is laggy and so on.
it seems to me that the gpu is recognized but not used.
I tried glxgears and while its smooth at a small window size making it bigger makes it real laggy.
So i believe the GPU is not used.
Here are some outputs
Code: Select all
~$ inxi -Fxxxrz
Kernel: 5.15.0-48-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
Desktop: Cinnamon 5.4.12 tk: GTK 3.24.33 wm: Mutter vt: 7
dm: LightDM 1.30.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
Type: Desktop Mobo: ASUSTeK model: M5A97 EVO R2.0 v: Rev 1.xx
serial: <superuser required> UEFI: American Megatrends v: 2501
date: 04/09/2014
CPU:
Info: 6-core model: AMD FX-6300 bits: 64 type: MT MCP smt: enabled
arch: Piledriver rev: 0 cache: L1: 288 KiB L2: 6 MiB L3: 8 MiB
Speed (MHz): avg: 1896 high: 3412 min/max: 1400/3500 boost: enabled
cores: 1: 3412 2: 1853 3: 1561 4: 1517 5: 1516 6: 1518 bogomips: 45513
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Hawaii PRO [Radeon R9 290/390] vendor: Micro-Star MSI
driver: radeon v: kernel pcie: speed: 5 GT/s lanes: 16 ports: active: DP-1
empty: DVI-D-1,DVI-D-2,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 1002:67b1
class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: ati,radeon
unloaded: fbdev,modesetting,vesa gpu: radeon display-ID: :0 screens: 1
Screen-1: 0 s-res: 3440x1440 s-dpi: 96 s-size: 910x381mm (35.8x15.0")
s-diag: 987mm (38.8")
Monitor-1: DisplayPort-0 mapped: DP-1 model: LG (GoldStar) ULTRAWIDE
serial: <filter> res: 3440x1440 hz: 60 dpi: 109
size: 800x335mm (31.5x13.2") diag: 867mm (34.1") modes: max: 3440x1440
min: 640x480
OpenGL: renderer: llvmpipe (LLVM 13.0.1 256 bits) v: 4.5 Mesa 22.0.5
direct render: Yes
Audio:
Device-1: AMD SBx00 Azalia vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
Device-2: AMD Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s
lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aac8 class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-48-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK P8 series driver: r8169 v: kernel pcie: speed: 2.5 GT/s
lanes: 1 port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
driver: btusb v: 0.8 bus-ID: 4-4:2 chip-ID: 0a12:0001 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
bt-v: 2.1 lmp-v: 4.0 sub-v: 22bb hci-v: 4.0 rev: 22bb
RAID:
Device-1: bpool type: zfs status: ONLINE level: linear raw: size: 1.88 GiB
free: 1.51 GiB allocated: 379 MiB zfs-fs: size: 1.75 GiB free: 1.38 GiB
Components: Online: N/A
Device-2: rpool type: zfs status: ONLINE level: linear raw: size: 460 GiB
free: 452 GiB allocated: 7.51 GiB zfs-fs: size: 445.75 GiB free: 437.8 GiB
Components: Online: N/A
Drives:
Local Storage: total: raw: 704.24 GiB usable: 1.12 TiB
used: 7.82 GiB (0.7%)
ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB
speed: 6.0 Gb/s type: SSD serial: <filter> rev: 3B6Q scheme: GPT
ID-2: /dev/sdb vendor: Crucial model: CT256MX100SSD1 size: 238.47 GiB
speed: 6.0 Gb/s type: SSD serial: <filter> rev: MU01
Partition:
ID-1: / size: 443.64 GiB used: 5.84 GiB (1.3%) fs: zfs
logical: rpool/ROOT/ubuntu_0zwvtd
ID-2: /boot size: 1.75 GiB used: 377.8 MiB (21.1%) fs: zfs
logical: bpool/BOOT/ubuntu_0zwvtd
ID-3: /boot/efi size: 511 MiB used: 13.5 MiB (2.6%) fs: vfat
dev: /dev/sda1
ID-4: /var/log size: 437.81 GiB used: 17 MiB (0.0%) fs: zfs
logical: rpool/ROOT/ubuntu_0zwvtd/var/log
Swap:
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/dm-1 mapped: cryptoswap
Sensors:
System Temperatures: cpu: 32.0 C mobo: 26.0 C gpu: radeon temp: 45.0 C
Fan Speeds (RPM): cpu: 877 fan-2: 1201 fan-3: 950
Power: 12v: N/A 5v: N/A 3.3v: 3.34 vbat: 3.29
Repos:
Packages: apt: 2191
No active apt repos in: /etc/apt/sources.list
No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
1: deb https://repo.radeon.com/amdgpu/22.20/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com vanessa main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/rocm.list
1: deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.2 ubuntu main
Info:
Processes: 347 Uptime: 2h 45m wakeups: 0 Memory: 7.66 GiB
used: 5.13 GiB (66.9%) Init: systemd v: 249 runlevel: 5 Compilers:
gcc: 11.2.0 alt: 11 Shell: Bash v: 5.1.16 running-in: gnome-terminal
inxi: 3.3.13
Code: Select all
$ glxinfo|egrep "OpenGL|OpenGL renderer"
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 13.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.0.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.0.5
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Code: Select all
$ sudo lshw -C video
*-display
description: VGA compatible controller
product: Hawaii PRO [Radeon R9 290/390]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: 80
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=radeon latency=0 resolution=3440,1440
resources: irq:52 memory:c0000000-cfffffff memory:d0000000-d07fffff ioport:e000(size=256) memory:fea00000-fea3ffff memory:c0000-dffff
Code: Select all
$ ls -l /lib/firmware | grep amdgpu
drwxr-xr-x 2 root root 480 Sep 14 13:52 amdgpu
Code: Select all
~$ dmesg | grep -i amdgpu
[ 2.839258] [drm] amdgpu kernel modesetting enabled.
[ 2.839344] amdgpu: CRAT table not found
[ 2.839347] amdgpu: Virtual CRAT table created for CPU
[ 2.839361] amdgpu: Topology: Add CPU node
Code: Select all
$ lsmod | grep -i amdgpu
amdgpu 9854976 0
iommu_v2 24576 1 amdgpu
gpu_sched 45056 1 amdgpu
i2c_algo_bit 16384 2 amdgpu,radeon
drm_ttm_helper 16384 2 amdgpu,radeon
ttm 86016 3 amdgpu,radeon,drm_ttm_helper
drm_kms_helper 311296 2 amdgpu,radeon
drm 622592 8 gpu_sched,drm_kms_helper,amdgpu,radeon,drm_ttm_helper,ttm