[SOLVED] AMD Gpu recognized but not used

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Rapazinho
Level 1
Level 1
Posts: 9
Joined: Wed Sep 28, 2022 7:37 am

[SOLVED] AMD Gpu recognized but not used

Post by Rapazinho »

Hello everyone!

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
 
Much appreciated
Last edited by LockBot on Tue Mar 28, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: AMD Gpu recognized but not used

Post by Pjotr »

It's being used alright. Try this:
https://easylinuxtipsproject.blogspot.c ... html#ID5.1
(item 5.1)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Rapazinho
Level 1
Level 1
Posts: 9
Joined: Wed Sep 28, 2022 7:37 am

Re: AMD Gpu recognized but not used

Post by Rapazinho »

Thanks for confirming that the gpu is being used.
Though Disabling all the effects didn't change anything and at the end of the day it is an R9 390. The card might be old but it is still powerful.

Besides before on Kernel 5.15.0-47 watching 4k videos wasn't a problem at all: no stuttering and no lag, even watching multiple 4k yt videos was ok. everything was smooth.
the problem (before) was that i would get the black screen after a while. mind that it wasn't a full on crash and the monitor was still getting the signal. but now, with the new kernel, it is like the card is working at its minimum.

at least I gotta say the pc is not blackin out and is now usable :)
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: AMD Gpu recognized but not used

Post by SMG »

Rapazinho wrote: Wed Sep 28, 2022 9:39 am Thanks for confirming that the gpu is being used.
Sorry, but you were given incorrect information. While the driver loaded, the renderer did not load, so the GPU is not being used and your system is running in software rendering mode.

OpenGL: renderer: llvmpipe (LLVM 13.0.1 256 bits) v: 4.5 Mesa 22.0.5
direct render: Yes

Do you have a Timeshift snapshot of your system before this issue happened? I suggest rolling back to it if just switching back to an older kernel does not work. If you need more directions for either, just let us know.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
Pjotr
Level 24
Level 24
Posts: 20142
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: AMD Gpu recognized but not used

Post by Pjotr »

My bad. Thanks for the correction. :P
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: AMD Gpu recognized but not used

Post by SMG »

While your system is currently using the radeon driver (and not the amdgpu driver), I believe it is possible with kernel parameters for your system to use the amdgpu driver. I do not know if that will fix the renderer issue because the renderer should load in either case.

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

Someone else with Intel graphics posted that after an update their renderer did not load (when it had in the past). I do not know if there might be an underlying issue affecting both of you or this is just a coincidence.

If you want to try the amdgpu driver (instead of radeon), you would want to add the following four kernel parameters to grub. (Note: there is a space between each parameter.)

Code: Select all

radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.cik_support=1
You can use the following information How to add a kernel parameter to temporarily or permanently add the parameters. When you add them temporarily, they are added only for that current boot cycle, so if, for any reason, they seem to cause issues or they do not work, all you need to do is reboot to clear them.

If you need more details than that topic provides, just let us know.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Rapazinho
Level 1
Level 1
Posts: 9
Joined: Wed Sep 28, 2022 7:37 am

Re: AMD Gpu recognized but not used

Post by Rapazinho »

I tried adding the kernel params but now it shows up with no driver at all.

Code: Select all

cat /proc/cmdline
BOOT_IMAGE=/BOOT/ubuntu_cf0lv2@/vmlinuz-5.15.0-48-generic root=ZFS=rpool/ROOT/ubuntu_cf0lv2 ro quiet splash vt.handoff=1 radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.sik_support=1

Code: Select all

System:
  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: 1399 high: 1403 min/max: 1400/3500 boost: enabled
    cores: 1: 1402 2: 1397 3: 1396 4: 1403 5: 1403 6: 1394 bogomips: 42141
  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: N/A pcie: speed: 5 GT/s lanes: 16 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,vesa
    unloaded: fbdev,modesetting,radeon gpu: N/A 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: default res: 3440x1440 hz: 89 size: N/A
  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:
Before adding the parameters I did roll back to -45 but it was the same as before.
so then i thought to do a fresh install and see whats up. starting with -41 it showed driver and gpu N/A.
then I let it update to -48. after this update the the video feed would crash aka black screen.
and lastly i went on to add the suggested parameters.

maybe i can download th amdgpu driver somewhere?
edit: maybe use amd's guide https://amdgpu-install.readthedocs.io/e ... amble.html
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: AMD Gpu recognized but not used

Post by SMG »

Rapazinho wrote: Wed Sep 28, 2022 12:40 pmmaybe i can download th amdgpu driver somewhere?
No. There is no driver for you to download because of the age of your system. Additionally, the drivers are in the kernel and should load automatically. If that is not happening, there is a different problem.
Rapazinho wrote: Wed Sep 28, 2022 12:40 pm

Code: Select all

cat /proc/cmdline
BOOT_IMAGE=/BOOT/ubuntu_cf0lv2@/vmlinuz-5.15.0-48-generic root=ZFS=rpool/ROOT/ubuntu_cf0lv2 ro quiet splash vt.handoff=1 radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.sik_support=1
You're using zfs? I didn't notice that earlier. For what reason do you want to use zfs instead of ext4?

Please provide the output of

Code: Select all

journalctl -b | grep -i "drm\|amdgpu\|radeon\|01:00.0"
and enclose the results within code tags.
Rapazinho wrote: Wed Sep 28, 2022 12:40 pmso then i thought to do a fresh install and see whats up. starting with -41 it showed driver and gpu N/A.
then I let it update to -48. after this update the the video feed would crash aka black screen.
and lastly i went on to add the suggested parameters.
A better test would be to run a live session (using your install usb/dvd) and check and see if everything is installing properly.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Rapazinho
Level 1
Level 1
Posts: 9
Joined: Wed Sep 28, 2022 7:37 am

Re: AMD Gpu recognized but not used

Post by Rapazinho »

I did because when the installer gave the option of zsf (or lvm) it was the only, at least to me known, way with which i could encrypt the disk ^^

Code: Select all

~$ journalctl -b | grep -i "drm\|amdgpu\|radeon\|01:00.0"
Sep 28 18:31:50 k-desktop kernel: Command line: BOOT_IMAGE=/BOOT/ubuntu_cf0lv2@/vmlinuz-5.15.0-48-generic root=ZFS=rpool/ROOT/ubuntu_cf0lv2 ro quiet splash vt.handoff=1 radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.sik_support=1
Sep 28 18:31:50 k-desktop kernel: Kernel command line: BOOT_IMAGE=/BOOT/ubuntu_cf0lv2@/vmlinuz-5.15.0-48-generic root=ZFS=rpool/ROOT/ubuntu_cf0lv2 ro quiet splash vt.handoff=1 radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.sik_support=1
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: [1002:67b1] type 00 class 0x030000
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: reg 0x10: [mem 0xc0000000-0xcfffffff 64bit pref]
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: reg 0x18: [mem 0xd0000000-0xd07fffff 64bit pref]
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: reg 0x20: [io  0xe000-0xe0ff]
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: reg 0x24: [mem 0xfea00000-0xfea3ffff]
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: reg 0x30: [mem 0xfea40000-0xfea5ffff pref]
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: enabling Extended Tags
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: BAR 0: assigned to efifb
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: supports D1 D2
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: PME# supported from D1 D2 D3hot
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: 64.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x16 link at 0000:00:02.0 (capable of 126.016 Gb/s with 8.0 GT/s PCIe x16 link)
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: vgaarb: setting as boot VGA device
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.0: vgaarb: bridge control possible
Sep 28 18:31:50 k-desktop kernel: pci 0000:01:00.1: D0 power state depends on 0000:01:00.0
Sep 28 18:31:50 k-desktop kernel: [drm] radeon kernel modesetting enabled.
Sep 28 18:31:50 k-desktop kernel: radeon 0000:01:00.0: CIK support disabled by module param
Sep 28 18:31:50 k-desktop kernel: ata4.00: supports DRM functions and may not be fully accessible
Sep 28 18:31:50 k-desktop kernel: ata2.00: supports DRM functions and may not be fully accessible
Sep 28 18:31:50 k-desktop kernel: ata2.00: supports DRM functions and may not be fully accessible
Sep 28 18:31:50 k-desktop kernel: ata4.00: supports DRM functions and may not be fully accessible
Sep 28 18:31:50 k-desktop kernel: amdgpu: unknown parameter 'sik_support' ignored
Sep 28 18:31:50 k-desktop kernel: [drm] amdgpu kernel modesetting enabled.
Sep 28 18:31:50 k-desktop kernel: amdgpu: CRAT table not found
Sep 28 18:31:50 k-desktop kernel: amdgpu: Virtual CRAT table created for CPU
Sep 28 18:31:50 k-desktop kernel: amdgpu: Topology: Add CPU node
Sep 28 18:31:50 k-desktop kernel: amdgpu 0000:01:00.0: amdgpu: CIK support provided by radeon.
Sep 28 18:31:50 k-desktop kernel: amdgpu 0000:01:00.0: amdgpu: Use radeon.cik_support=0 amdgpu.cik_support=1 to override.
Sep 28 18:31:50 k-desktop systemd[1]: Starting Load Kernel Module drm...
Sep 28 18:31:50 k-desktop systemd[1]: modprobe@drm.service: Deactivated successfully.
Sep 28 18:31:50 k-desktop systemd[1]: Finished Load Kernel Module drm.
Sep 28 18:31:52 k-desktop systemd[1]: Starting Load Kernel Module drm...
Sep 28 18:31:52 k-desktop systemd[1]: modprobe@drm.service: Deactivated successfully.
Sep 28 18:31:52 k-desktop systemd[1]: Finished Load Kernel Module drm.
Sep 28 18:58:16 k-desktop sudo[11274]:        k : TTY=pts/0 ; PWD=/home/k ; USER=root ; COMMAND=/usr/bin/vi /usr/share/X11/xorg.conf.d/10-amdgpu.conf
Sep 28 18:59:35 k-desktop sudo[11617]:        k : TTY=pts/0 ; PWD=/home/k ; USER=root ; COMMAND=/usr/bin/vi /usr/share/X11/xorg.conf.d/10-amdgpu.conf
Sep 28 18:59:56 k-desktop sudo[11699]:        k : TTY=pts/2 ; PWD=/home/k ; USER=root ; COMMAND=/usr/bin/vi /usr/share/X11/xorg.conf.d/10-amdgpu.conf
Sep 28 19:03:50 k-desktop AptDaemon[12768]: INFO: InstallFile() was called: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:03:50 k-desktop org.debian.apt[12768]: 19:03:50 AptDaemon [INFO]: InstallFile() was called: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:03:58 k-desktop polkitd(authority=local)[1921]: Operator of unix-session:c2 successfully authenticated as unix-user:k to gain TEMPORARY authorization for action org.debian.apt.install-file for system-bus-name::1.135 [/usr/bin/python3 /usr/bin/gdebi-gtk /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb] (owned by unix-user:k)
Sep 28 19:03:58 k-desktop AptDaemon.Worker[12768]: INFO: Installing local package file: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:03:58 k-desktop org.debian.apt[12768]: 19:03:58 AptDaemon.Worker [INFO]: Installing local package file: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:04:00 k-desktop AptDaemon.Worker[12768]: INFO: Installing local package file: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:04:00 k-desktop org.debian.apt[12768]: 19:04:00 AptDaemon.Worker [INFO]: Installing local package file: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:04:54 k-desktop sudo[13979]:        k : TTY=pts/0 ; PWD=/home/k ; USER=root ; COMMAND=/usr/bin/apt-get install --listusecases amdgpu-lib rocm-opencl-runtime rocm-hip-runtime amdgpu-dkms linux-headers-5.15.0-48-generic linux-modules-extra-5.15.0-48-generic
Sep 28 19:05:08 k-desktop sudo[14623]:        k : TTY=pts/0 ; PWD=/home/k ; USER=root ; COMMAND=/usr/bin/apt-get install --list-usecases amdgpu-lib rocm-opencl-runtime rocm-hip-runtime amdgpu-dkms linux-headers-5.15.0-48-generic linux-modules-extra-5.15.0-48-generic
A better test would be to run a live session (using your install usb/dvd)
thats clever. ill report back soon!
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: AMD Gpu recognized but not used

Post by SMG »

Rapazinho wrote: Wed Sep 28, 2022 2:04 pm I did because when the installer gave the option of zsf (or lvm) it was the only, at least to me known, way with which i could encrypt the disk ^^
So that's why I'm seeing more zfs installs. I believe in the past only lvm was used.

Looking at the messages, it appears you had a typo when you added the kernel parameters. Here are the parameters:

Code: Select all

radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.cik_support=1
Here is what you added:

Code: Select all

radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.sik_support=1
Easy enough to do when the line is long. Here is the error message because of that:

Code: Select all

Sep 28 18:31:50 k-desktop kernel: amdgpu: unknown parameter 'sik_support' ignored

Sep 28 18:31:50 k-desktop kernel: amdgpu 0000:01:00.0: amdgpu: CIK support provided by radeon.
Sep 28 18:31:50 k-desktop kernel: amdgpu 0000:01:00.0: amdgpu: Use radeon.cik_support=0 amdgpu.cik_support=1 to override.
Looks like you ignored my advice and downloaded files from the AMD website. You are making this more complicated by doing that.

Code: Select all

Sep 28 19:03:50 k-desktop AptDaemon[12768]: INFO: InstallFile() was called: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:03:50 k-desktop org.debian.apt[12768]: 19:03:50 AptDaemon [INFO]: InstallFile() was called: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:03:58 k-desktop polkitd(authority=local)[1921]: Operator of unix-session:c2 successfully authenticated as unix-user:k to gain TEMPORARY authorization for action org.debian.apt.install-file for system-bus-name::1.135 [/usr/bin/python3 /usr/bin/gdebi-gtk /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb] (owned by unix-user:k)
Sep 28 19:03:58 k-desktop AptDaemon.Worker[12768]: INFO: Installing local package file: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:03:58 k-desktop org.debian.apt[12768]: 19:03:58 AptDaemon.Worker [INFO]: Installing local package file: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:04:00 k-desktop AptDaemon.Worker[12768]: INFO: Installing local package file: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:04:00 k-desktop org.debian.apt[12768]: 19:04:00 AptDaemon.Worker [INFO]: Installing local package file: /home/k/Downloads/amdgpu-install_22.20.50200-1_all.deb
Sep 28 19:04:54 k-desktop sudo[13979]:        k : TTY=pts/0 ; PWD=/home/k ; USER=root ; COMMAND=/usr/bin/apt-get install --listusecases amdgpu-lib rocm-opencl-runtime rocm-hip-runtime amdgpu-dkms linux-headers-5.15.0-48-generic linux-modules-extra-5.15.0-48-generic
Sep 28 19:05:08 k-desktop sudo[14623]:        k : TTY=pts/0 ; PWD=/home/k ; USER=root ; COMMAND=/usr/bin/apt-get install --list-usecases amdgpu-lib rocm-opencl-runtime rocm-hip-runtime amdgpu-dkms linux-headers-5.15.0-48-generic linux-modules-extra-5.15.0-48-generic
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Rapazinho
Level 1
Level 1
Posts: 9
Joined: Wed Sep 28, 2022 7:37 am

Re: AMD Gpu recognized but not used

Post by Rapazinho »

Im so mortified! I checked, and cheked and triple checked but a typo always gets you...


I tried adding the params again and now it works flawlessly!

Code: Select all

:~$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon R9 390 Series (hawaii, LLVM 13.0.1, DRM 3.42, 5.15.0-48-generic) (0x67b1)
    Version: 22.0.5
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 7009 MB, largest block: 7009 MB
    VBO free aux. memory - total: 5835 MB, largest block: 5835 MB
    Texture free memory - total: 7009 MB, largest block: 7009 MB
    Texture free aux. memory - total: 5835 MB, largest block: 5835 MB
    Renderbuffer free memory - total: 7009 MB, largest block: 7009 MB
    Renderbuffer free aux. memory - total: 5835 MB, largest block: 5835 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 14078 MB
    Currently available dedicated video memory: 7009 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon R9 390 Series (hawaii, LLVM 13.0.1, DRM 3.42, 5.15.0-48-generic)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.0.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

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
Thank you a lot for helping me!
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: AMD Gpu recognized but not used

Post by SMG »

Rapazinho wrote: Thu Sep 29, 2022 10:20 amI tried adding the params again and now it works flawlessly!
Good to hear. :)

Please go to your first post in this topic, click the pencil icon, and add [SOLVED] to the beginning of the title so others know you are no longer seeking help on this issue.

If you run inxi -Gx, you should also see your system using the amdgpu driver instead of radeon. That may well give you better performance.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Graphics Cards & Monitors”