[SOLVED]Problems By amdgpu Drivers

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

[SOLVED]Problems By amdgpu Drivers

Post by TuxThePenguin »

I Followed the instructions given by the mods; and updated to Linux Mint 21.Now there are 3 GPUs instead of 2 :shock:
viewtopic.php?p=2439282#p2439282
Information via System Reports;

Code: Select all

System:
  Kernel: 5.15.0-101-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.4.12
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 20351 v: Lenovo G50-70 serial: <superuser required>
    Chassis: type: 10 v: Lenovo G50-70 serial: <superuser required>
  Mobo: LENOVO model: Lancer 5A2 v: NANANANANO DPK serial: <superuser required>
    UEFI-[Legacy]: LENOVO v: 9ACN29WW date: 10/20/2014
Battery:
  ID-1: BAT0 charge: 3.7 Wh (15.1%) condition: 24.5/37.6 Wh (65.2%) volts: 14.4 min: 14.4
    model: Lenovo IdeaPad serial: <filter> status: Charging
CPU:
  Info: dual core model: Intel Core i5-4258U bits: 64 type: MT MCP arch: Haswell rev: 1 cache:
    L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 2732 high: 2804 min/max: 800/2900 cores: 1: 2570 2: 2789 3: 2804 4: 2765
    bogomips: 19154
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo driver: i915 v: kernel ports:
    active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:0a2e
  Device-2: AMD Sun LE [Radeon HD 8550M / R5 M230] vendor: Lenovo driver: amdgpu v: 6.3.6 pcie:
    speed: 5 GT/s lanes: 4 bus-ID: 03:00.0 chip-ID: 1002:666f
  Device-3: Microdia Lenovo EasyCamera type: USB driver: uvcvideo bus-ID: 2-6:4
    chip-ID: 0c45:6513
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: ati,modesetting unloaded: fbdev,vesa
    alternate: amdgpu gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96
  Monitor-1: eDP-1 model: Samsung res: 1366x768 dpi: 101 diag: 395mm (15.5")
  OpenGL:
    renderer: AMD Radeon HD 8500M (radeonsi hainan LLVM 15.0.7 DRM 3.56 5.15.0-101-generic)
    v: 4.6 Mesa 24.0.3 - kisak-mesa PPA direct render: Yes
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 00:03.0 chip-ID: 8086:0a0c
  Device-2: Intel 8 Series HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:9c20
  Sound Server-1: ALSA v: k5.15.0-101-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 1.0.3 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 01:00.0 chip-ID: 10ec:8168
  IF: enp1s0 state: down mac: <filter>
  Device-2: Intel Wireless 3160 driver: iwlwifi v: kernel pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 8086:08b4
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 2-7:5
    chip-ID: 8087:07dc
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
    sub-v: 500
Drives:
  Local Storage: total: 931.51 GiB used: 81.28 GiB (8.7%)
  ID-1: /dev/sda vendor: Western Digital model: WD10JPCX-24UE4T0 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 37.25 GiB used: 30.8 GiB (82.7%) fs: ext4 dev: /dev/sda8
  ID-2: /home size: 74.54 GiB used: 50.49 GiB (67.7%) fs: ext4 dev: /dev/sda9
Swap:
  ID-1: swap-1 type: partition size: 8.57 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda7
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 speed: 480 Mb/s
    chip-ID: 8087:8000
  Hub-3: 2-0:1 info: Hi-speed hub with single TT ports: 9 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 2-1:2 info: Primax Tiger USB Optical Mouse type: Mouse driver: hid-generic,usbhid
    rev: 2.0 speed: 1.5 Mb/s chip-ID: 0461:4e54
  Device-2: 2-4:3 info: Realtek RTS5129 Card Reader Controller type: <vendor specific>
    driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc rev: 2.0 speed: 480 Mb/s chip-ID: 0bda:0129
  Device-3: 2-6:4 info: Microdia Lenovo EasyCamera type: Video driver: uvcvideo rev: 2.0
    speed: 480 Mb/s chip-ID: 0c45:6513
  Device-4: 2-7:5 info: Intel Bluetooth wireless interface type: Bluetooth driver: btusb
    rev: 2.0 speed: 12 Mb/s chip-ID: 8087:07dc
  Hub-4: 3-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 70.0 C mobo: N/A gpu: amdgpu temp: 68.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 3865 apt: 3827 flatpak: 38
  Active apt repos in: /etc/apt/sources.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https: //download.virtualbox.org/virtualbox/debian jammy contrib
    2: deb http: //cz.archive.ubuntu.com/ubuntu jammy main universe
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https: //brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/deadsnakes-ppa-focal.list
    1: deb http: //ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/ernstp-mesarc-focal.list
    1: deb http: //ppa.launchpad.net/ernstp/mesarc/ubuntu jammy main
  No active apt repos in: /etc/apt/sources.list.d/gezakovacs-ppa-focal.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
  No active apt repos in: /etc/apt/sources.list.d/graphics:darktable.list
  No active apt repos in: /etc/apt/sources.list.d/kdenlive-kdenlive-stable-focal.list
  Active apt repos in: /etc/apt/sources.list.d/kisak-kisak-mesa-focal.list
    1: deb http: //ppa.launchpad.net/kisak/kisak-mesa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/kisak-kisak-mesa-jammy.list
    1: deb http: //ppa.launchpad.net/kisak/kisak-mesa/ubuntu jammy main
  No active apt repos in: /etc/apt/sources.list.d/mikhailnov-pulseeffects-focal.list
  Active apt repos in: /etc/apt/sources.list.d/obsproject-obs-studio-focal.list
    1: deb http: //ppa.launchpad.net/obsproject/obs-studio/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/pipewire-debian-pipewire-upstream-focal.list
    1: deb http: //ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/pipewire-debian-wireplumber-upstream-focal.list
    1: deb http: //ppa.launchpad.net/pipewire-debian/wireplumber-upstream/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/scribus-ppa-focal.list
    1: deb http: //ppa.launchpad.net/scribus/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/tomtomtom-woeusb-focal.list
    1: deb http: //ppa.launchpad.net/tomtomtom/woeusb/ubuntu jammy main
  No active apt repos in: /etc/apt/sources.list.d/ubuntuhandbook1-apps-focal.list
  Active apt repos in: /etc/apt/sources.list.d/ubuntuhandbook1-darktable-focal.list
    1: deb http: //ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu jammy main
  No active apt repos in: /etc/apt/sources.list.d/virtualbox.list
Info:
  Processes: 266 Uptime: 14m Memory: 7.65 GiB used: 2.39 GiB (31.2%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12/9 Client: Unknown python3.10 client inxi: 3.3.13
There are 3GPU are now reported.

R5 M230/AMD Sun LE Radeon HD 8550M/AMD Radeon HD 8500M

VIA inxi -G

Code: Select all

Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel
  Device-2: AMD Sun LE Radeon HD 8550M / R5 M230 driver: amdgpu v: 6.3.6
  Device-3: Microdia Lenovo EasyCamera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: ati,modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1366x768~60Hz
  OpenGL: renderer: AMD Radeon HD 8500M (radeonsi hainan LLVM 15.0.7 DRM
    3.56 5.15.0-101-generic)
    v: 4.6 Mesa 24.0.3 - kisak-mesa PPA
Additionally i can assure you that there's no amdgpu driver is being installed in any way. amdgpu-uninstall doesnt even work + synaptic package manager reports that there's no packages related to amdgpu are installed.

Hope to hear an solution.Thanks in Advance.
Last edited by TuxThePenguin on Thu Mar 21, 2024 4:56 am, edited 1 time in total.
seasons
Level 4
Level 4
Posts: 373
Joined: Fri Nov 17, 2023 5:00 pm

Re: Problems By amdgpu Drivers

Post by seasons »

The 3rd graphics device is a camera and not a GPU. And yes, it appears you installed a 3rd party version of amdgpu from somewhere or it would say "amdgpu v: kernel" instead of "amdgpu v: 6.3.6"

So, what, if any, issue are you having other than being confused by inxi listing cameras as graphics devices (which I agree is kind of strange).
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Problems By amdgpu Drivers

Post by SMG »

TuxThePenguin wrote: Tue Mar 19, 2024 4:30 am I Followed the instructions given by the mods;
What instructions given by "the mods" are you referencing? The link you provided does not have any posts from mods in it.

It appears you installed the amdgpu drivers from the AMD website. That is what the driver: amdgpu v: 6.3.6 means. No one in the other topic advised you to do that and given the age of your GPU, that is not recommended. Neither is installing the kisak PPA you installed.

As already explained, you do not have three GPUs. You have two GPUs and a webcam.
TuxThePenguin wrote: Tue Mar 19, 2024 4:30 amAdditionally i can assure you that there's no amdgpu driver is being installed in any way. amdgpu-uninstall doesnt even work + synaptic package manager reports that there's no packages related to amdgpu are installed.
The amdgpu driver is clearly shown as being installed and loaded.

The amdgpu driver is in the kernel and you should not have been installing things from the AMD website.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

Re: Problems By amdgpu Drivers

Post by TuxThePenguin »

SMG wrote: Tue Mar 19, 2024 3:54 pm
TuxThePenguin wrote: Tue Mar 19, 2024 4:30 am I Followed the instructions given by the mods;
What instructions given by "the mods" are you referencing? The link you provided does not have any posts from mods in it.
I thought MiZog was a Moderator.
It appears you installed the amdgpu drivers from the AMD website. That is what the driver: amdgpu v: 6.3.6 means. No one in the other topic advised you to do that and given the age of your GPU, that is not recommended. Neither is installing the kisak PPA you installed.
In "this" Post, MiZog said that
1."Way too many PPAs/third-party repos. Oibaf's is a known system-wrecker."
-So I removed items/ppa related to the Oibaf And Installed Kiask ppa As a Substitute Source.

2."According to Linux Hardware Database, new amdgpu driver supports your dedicated card."
-I tried installing amdgpu Drivers as you predicted from AMD's Linux Driver Support Division Thought of they're being supported experimentally.

3."Consider upgrading/reinstalling your system. Your software sources is a mess"

- From 20.3

Code: Select all

 Kernel: 5.4.0-171-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 
  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 
To 21

Code: Select all

 Kernel: 5.15.0-101-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.4.12
    tk: GTK 3.24.33 wm: Mutter dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy

As already explained, you do not have three GPUs. You have two GPUs and a webcam.
-I solved 3 gpu issue by deleting the DRI_PRIME=1 argument from /etc/environment. Even If amdgpu loaded from kernel; it's going back to the integrated intel gpu. also showing error in boot messages such as "HAINAN NOT SUPPORTED IN kfd"
TuxThePenguin wrote: Tue Mar 19, 2024 4:30 amAdditionally i can assure you that there's no amdgpu driver is being installed in any way. amdgpu-uninstall doesnt even work + synaptic package manager reports that there's no packages related to amdgpu are installed.
The amdgpu driver is clearly shown as being installed and loaded.

The amdgpu driver is in the kernel and you should not have been installing things from the AMD website.
Well that driver wasn't in the kernel btw, it was using the default radeon driver. "R5 M230/AMD Sun LE Radeon HD 8550M/AMD Radeon HD 8500M" These three have three distinct drivers. So i thought better ask some advice. Moreover is AMD's website is safe to download anything perhaps? :?:

Thank-You For The Relevant Information!
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

Re: Problems By amdgpu Drivers

Post by TuxThePenguin »

seasons wrote: Tue Mar 19, 2024 2:42 pm The 3rd graphics device is a camera and not a GPU. And yes, it appears you installed a 3rd party version of amdgpu from somewhere or it would say "amdgpu v: kernel" instead of "amdgpu v: 6.3.6"

So, what, if any, issue are you having other than being confused by inxi listing cameras as graphics devices (which I agree is kind of strange).
Well i installed this driver from AMD's website!

Check these Out!

Code: Select all

 lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
^no amdgpu/amd
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x45 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x90 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:modesetting
^who is modesetting bruh! usually there comes the name of the service provider!

Code: Select all

lspci -v

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE [Radeon HD 8550M / R5 M230]
	Subsystem: Lenovo Sun LE [Radeon HD 8550M / R5 M230]
	Flags: bus master, fast devsel, latency 0, IRQ 49
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0400000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at 3000 [size=256]
	Expansion ROM at d0440000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: radeon, amdgpu
^here is i only found some amdgpu related items.So you got any idea whats going on here?
Thank-You in Advance!
seasons
Level 4
Level 4
Posts: 373
Joined: Fri Nov 17, 2023 5:00 pm

Re: Problems By amdgpu Drivers

Post by seasons »

So I guess your original issue was poor performance with the discrete AMD GPU? Unfortunately, I've seen lots of similar complaints with early versions of Intel/AMD and AMD/AMD "hybrid" graphics when using DRI_PRIME. I've never seen a good solution.
TuxThePenguin wrote: Tue Mar 19, 2024 11:12 pm -I solved 3 gpu issue by deleting the DRI_PRIME=1 argument from /etc/environment. Even If amdgpu loaded from kernel; it's going back to the integrated intel gpu.
That does not make sense. inxi listing 3 GPU's (with one of them being a camera) is not an issue. There is nothing to solve. If you put DRI_PRIME=1 in /etc/environment, then everything is going to run on the AMD GPU, which is not what you want, unless you like killing your battery and generating lots of useless heat and fan noise. You only need to use DRI_PRIME=1 for demanding 3D programs, like games and CAD.
also showing error in boot messages such as "HAINAN NOT SUPPORTED IN kfd"
The message is more informational and not really an error. And it only occurs because you installed the driver from AMD instead of using the builtin one. Are you trying to do something involving OpenCL or GPU compute? If not, ignore that message. If so, you need a newer GPU.
TuxThePenguin wrote: Tue Mar 19, 2024 4:30 amMoreover is AMD's website is safe to download anything perhaps?
You should not install anything from AMD's site unless you are trying to do something with OpenCL or GPU compute (and again, your GPU is too old for that). Linux/Mint is not Windows.
seasons
Level 4
Level 4
Posts: 373
Joined: Fri Nov 17, 2023 5:00 pm

Re: Problems By amdgpu Drivers

Post by seasons »

TuxThePenguin wrote: Tue Mar 19, 2024 11:24 pm ^who is modesetting bruh! usually there comes the name of the service provider!
modesetting is the name for the Xserver-specific module for Intel GPU's. It can also be used for AMD GPU's. There is nothing to worry about in the output you gave.
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

Re: Problems By amdgpu Drivers

Post by TuxThePenguin »

That does not make sense. inxi listing 3 GPU's (with one of them being a camera) is not an issue. There is nothing to solve. If you put DRI_PRIME=1 in /etc/environment, then everything is going to run on the AMD GPU, which is not what you want, unless you like killing your battery and generating lots of useless heat and fan noise. You only need to use DRI_PRIME=1 for demanding 3D programs, like games and CAD.
Quite the opposite! My apologies for the confusion. I'd like to clarify that i "need" to use this gpu.If i could install this driver, i could easily use Blender 4.0 with HIP, requiring amdgpu drivers greater than or equal to version 22.10! If i could enable that, i could also play minecraft very fluently! Two Birds with One Shot! :D
As of a linux person from 2014, my brain just understood in the past February that there's a minecraft Linux version too :-( i thought they only produced for windows because they were made by microsoft.I thought i could play with these new drivers; because i couldn't even play with the input lag caused by radeon driver.Other wise there's nothing to do with this pc after all lmao!

Thank-You for the Information Mr/Mrs.seasons! Hope you have a good day!
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

Re: Problems By amdgpu Drivers

Post by TuxThePenguin »

seasons wrote: Tue Mar 19, 2024 11:41 pm
TuxThePenguin wrote: Tue Mar 19, 2024 11:24 pm ^who is modesetting bruh! usually there comes the name of the service provider!
modesetting is the name for the Xserver-specific module for Intel GPU's. It can also be used for AMD GPU's. There is nothing to worry about in the output you gave.
I looked for xorg.conf and i can't find it! Is it may cause some problems? (Xserver)
User avatar
MiZoG
Level 8
Level 8
Posts: 2395
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: Problems By amdgpu Drivers

Post by MiZoG »

I thought MiZog was a Moderator.
It must have been the blue-color font formatting. It reminds of SMG's usual slick style. No intent to impersonate any mod though. If needed I'll take an oath not to use blue color again! :lol:
In "this" Post, MiZog said that
1."Way too many PPAs/third-party repos. Oibaf's is a known system-wrecker."
-So I removed items/ppa related to the Oibaf And Installed Kiask ppa As a Substitute Source.
I mentioned neither kisak nor the proprietary amdgpu-pro. And I gave optional instructions to enable the open-source kernel amdgpu (without the "pro" suffix) driver at boot time.
While kisak's ppa is considered "stable" compared to oibaf's ppa, I've seen people reporting serious compatibility problems ironically even with Steam. Moreover what Seasons pointed out is absolutely right: all these ppas are for bleeding-edge hardware.

Default kernel/mesa drivers is all that you would ever need with this machine.
Last edited by MiZoG on Wed Mar 20, 2024 9:23 am, edited 1 time in total.
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

Re: Problems By amdgpu Drivers

Post by TuxThePenguin »

MiZoG wrote: Wed Mar 20, 2024 5:14 am
I thought MiZog was a Moderator.
It must have been the blue-color font formatting. It reminds of SMG's usual slick style. No intent to impersonate any mod though. If needed I'll take an oath not to use blue color again! :lol:
In "this" Post, MiZog said that
1."Way too many PPAs/third-party repos. Oibaf's is a known system-wrecker."
-So I removed items/ppa related to the Oibaf And Installed Kiask ppa As a Substitute Source.
I mentioned neither kisak nor the proprietary amdgpu-pro. And I gave optional instructions to enable the open-source kernel amdgpu (without the "pro" suffix) driver at boot time.
While kisak's ppa is considered "stable" compared to oibaf's ppa, I've seen people reporting serious compatibility problems ironically even with Steam. Moreover what TuxThePenguin pointed out is absolutely right: all these ppas are for bleeding-edge hardware.

Default kernel/mesa drivers is all that you would ever need with this machine.
Hello Mr/Mrs.G!

I followed you instructions;

Code: Select all

The card belongs to "sea islands" gen.
To "replace" legacy radeon driver with amdgpu:
1. xed admin:///etc/default/grub
2. Find the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" (<--- It will look like this in most systems, your mileage may vary)
Change it to GRUB_CMDLINE_LINUX_DEFAULT="quiet radeon.cik_support=0 amdgpu.cik_support=1 splash" (source: Archwiki). Save.
3. Run sudo update-grub and reboot your system.
You can revert your system to radeon the same way by deleting the extra boot argument.
and added this to the grub;updated it.After a reboot;it doesnt change anything ans still showed intel gpu.Then I added the arguement

Code: Select all

DRI_PRIME=1
at /etc/environment and rebooted.Guess what happend? Cinnamon was running in fallback mode! Not even firefox will not turn on to post this reply!
Then i had to delete the DRI_PRIME=1 to make it work!

Yes,the drivers are shown in the system

Code: Select all

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE [Radeon HD 8550M / R5 M230]
	Subsystem: Lenovo Sun LE [Radeon HD 8550M / R5 M230]
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0400000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at 3000 [size=256]
	Expansion ROM at d0440000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu
My Apologies for late follow-up
Thank-You!
seasons
Level 4
Level 4
Posts: 373
Joined: Fri Nov 17, 2023 5:00 pm

Re: Problems By amdgpu Drivers

Post by seasons »

TuxThePenguin wrote: Wed Mar 20, 2024 3:41 am I'd like to clarify that i "need" to use this gpu.If i could install this driver, i could easily use Blender 4.0 with HIP
Again, your GPU is way too old to use HIP/ROCm: https://docs.blender.org/manual/en/late ... ml#hip-amd

If you want to use the amdgpu kernel module instead of radeon, MiZoG had the right idea. Unfortunately, the techpowerup page he looked at was incorrect. The Radeon 8550M is a Southern Islands (GCN 1.0) family GPU. So you would need to use these kernel parameters:

Code: Select all

radeon.si_support=0 amdgpu.si_support=1
You should not need an xorg.conf.

Once you put in the correct kernel parameters and reboot, you should be able to launch Minecraft on the AMD GPU like:

Code: Select all

DRI_PRIME=1 minecraft         #or whatever command starts Minecraft
But again, don't be surprised if performance of the AMD GPU isn't too much better than the integrated Intel GPU.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Problems By amdgpu Drivers

Post by SMG »

TuxThePenguin wrote: Tue Mar 19, 2024 11:12 pmI thought MiZog was a Moderator.
The list of Moderators is here.
TuxThePenguin wrote: Tue Mar 19, 2024 11:12 pm In "this" Post, MiZog said that
1."Way too many PPAs/third-party repos. Oibaf's is a known system-wrecker."
-So I removed items/ppa related to the Oibaf And Installed Kiask ppa As a Substitute Source.
You did not need a "substitute source". You only needed the drivers from the kernel.

All necessary drivers are in the kernel. The kernel will load the drivers for your GPU. Because your GPU only had experimental support for amdgpu, you need to load kernel parameters so the kernel knows to use the experimental support drivers for your GPU.
TuxThePenguin wrote: Tue Mar 19, 2024 11:12 pm2."According to Linux Hardware Database, new amdgpu driver supports your dedicated card."
-I tried installing amdgpu Drivers as you predicted from AMD's Linux Driver Support Division Thought of they're being supported experimentally.
Linux Mint is not Windows.
TuxThePenguin wrote: Tue Mar 19, 2024 11:12 pm-I solved 3 gpu issue by deleting the DRI_PRIME=1 argument from /etc/environment. Even If amdgpu loaded from kernel; it's going back to the integrated intel gpu. also showing error in boot messages such as "HAINAN NOT SUPPORTED IN kfd"
No, you did not solve the 3 GPU issue by deleting the environment variable. There is no "3 GPU issue". Two of us have already told you that.

You are asking for help and then ignoring the explanations and instructions you are getting to make up your own instructions. You are compounding the problem with your actions.

That environment variable determines which GPU is the primary renderer.
TuxThePenguin wrote: Tue Mar 19, 2024 11:12 pmWell that driver wasn't in the kernel btw, it was using the default radeon driver. "R5 M230/AMD Sun LE Radeon HD 8550M/AMD Radeon HD 8500M" These three have three distinct drivers. So i thought better ask some advice. Moreover is AMD's website is safe to download anything perhaps? :?:
Yes, that driver is in the kernel. You do not understand what is needed to activate it.

No, you should not be using drivers from the AMD website. Your hardware is too old for them.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
seasons
Level 4
Level 4
Posts: 373
Joined: Fri Nov 17, 2023 5:00 pm

Re: Problems By amdgpu Drivers

Post by seasons »

TuxThePenguin wrote: Tue Mar 19, 2024 4:30 am There are 3GPU are now reported.
R5 M230/AMD Sun LE Radeon HD 8550M/AMD Radeon HD 8500M
Oh, now I see what you mean by "3 GPU". The R5 230 was basically a rebadged version of the 8550M. Some of the chips may have shared the same PCI ID. There was no RadeonHD 8500M as far as I can tell, so Mesa devs probably typo'd there and meant 8550.
Anyway, the R5 230 and 8550M are basically the same GPU and use the same driver(s). Nothing to worry about...
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

Re: Problems By amdgpu Drivers

Post by TuxThePenguin »

TuxThePenguin wrote: Tue Mar 19, 2024 11:12 pm-I solved 3 gpu issue by deleting the DRI_PRIME=1 argument from /etc/environment. Even If amdgpu loaded from kernel; it's going back to the integrated intel gpu. also showing error in boot messages such as "HAINAN NOT SUPPORTED IN kfd"
No, you did not solve the 3 GPU issue by deleting the environment variable. There is no "3 GPU issue". Two of us have already told you that.

You are asking for help and then ignoring the explanations and instructions you are getting to make up your own instructions. You are compounding the problem with your actions.

That environment variable determines which GPU is the primary renderer.
I think i need to provide some clarity here.

^Installed amdgpu drivers from amd's website ( all hell broke loose )(panik)

>removes all amdgpu packages using dpkg --purge command
>back to radeon (calm)

^Follows MiZoG's tutorial

>Adds Grub Command
>Regenerated Grub
>Reboot
>No apparent change(OpenGL renderer comes back to intel)(inxi -G)
>Remembers about DRI_PRIME=1 and puts it /etc/environment
>Cinnamon Runs in fallback mode(panik)
>inxi -G reports AMD 8500M is loaded
>Deletes the DRI_PRIME=1
>Reboot
>Runs in intel gpu but no fallback mode (calm)

This was the list of things i have done.
TuxThePenguin wrote: Tue Mar 19, 2024 11:12 pmWell that driver wasn't in the kernel btw, it was using the default radeon driver. "R5 M230/AMD Sun LE Radeon HD 8550M/AMD Radeon HD 8500M" These three have three distinct drivers. So i thought better ask some advice. Moreover is AMD's website is safe to download anything perhaps? :?:
Yes, that driver is in the kernel. You do not understand what is needed to activate it.

No, you should not be using drivers from the AMD website. Your hardware is too old for them.
Yes,Defnitely You're right.But I found out in a hard way.
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

Re: Problems By amdgpu Drivers

Post by TuxThePenguin »

seasons wrote: Wed Mar 20, 2024 8:32 am
TuxThePenguin wrote: Wed Mar 20, 2024 3:41 am I'd like to clarify that i "need" to use this gpu.If i could install this driver, i could easily use Blender 4.0 with HIP
Again, your GPU is way too old to use HIP/ROCm: https://docs.blender.org/manual/en/late ... ml#hip-amd

If you want to use the amdgpu kernel module instead of radeon, MiZoG had the right idea. Unfortunately, the techpowerup page he looked at was incorrect. The Radeon 8550M is a Southern Islands (GCN 1.0) family GPU. So you would need to use these kernel parameters:

Code: Select all

radeon.si_support=0 amdgpu.si_support=1
You should not need an xorg.conf.

Once you put in the correct kernel parameters and reboot, you should be able to launch Minecraft on the AMD GPU like:

Code: Select all

DRI_PRIME=1 minecraft         #or whatever command starts Minecraft
But again, don't be surprised if performance of the AMD GPU isn't too much better than the integrated Intel GPU.
I'll Try this Method RIght Now And I'll Report.
Thanks!
TuxThePenguin
Level 1
Level 1
Posts: 12
Joined: Sat Mar 02, 2024 7:13 am

Re: Problems By amdgpu Drivers

Post by TuxThePenguin »

TuxThePenguin wrote: Thu Mar 21, 2024 4:36 am
seasons wrote: Wed Mar 20, 2024 8:32 am
TuxThePenguin wrote: Wed Mar 20, 2024 3:41 am I'd like to clarify that i "need" to use this gpu.If i could install this driver, i could easily use Blender 4.0 with HIP
Again, your GPU is way too old to use HIP/ROCm: https://docs.blender.org/manual/en/late ... ml#hip-amd

If you want to use the amdgpu kernel module instead of radeon, MiZoG had the right idea. Unfortunately, the techpowerup page he looked at was incorrect. The Radeon 8550M is a Southern Islands (GCN 1.0) family GPU. So you would need to use these kernel parameters:

Code: Select all

radeon.si_support=0 amdgpu.si_support=1
You should not need an xorg.conf.

Once you put in the correct kernel parameters and reboot, you should be able to launch Minecraft on the AMD GPU like:

Code: Select all

DRI_PRIME=1 minecraft         #or whatever command starts Minecraft
But again, don't be surprised if performance of the AMD GPU isn't too much better than the integrated Intel GPU.
I'll Try this Method RIght Now And I'll Report.
Thanks!
SEASONS YOU THE G.O.A.T
IT WORKS PERFECT

No problem;No Fallback Mode;No lag
This driver is undoubtedly better than the radeon driver
check these images

https://imgur.com/a/UYGhC8V 116fps at 26% utilization :shock: ? good heavens! getting limited by a cpu is insanity
https://imgur.com/a/t6rR6fQ 60fps :shock: this driver too good! (MakeitUp Ultra Fast Shader)

I'm marking this as SOLVED!
Thank-You to All Helped Me!
Special Thanks to Seasons & MiZoG!
seasons
Level 4
Level 4
Posts: 373
Joined: Fri Nov 17, 2023 5:00 pm

Re: [SOLVED]Problems By amdgpu Drivers

Post by seasons »

You're welcome. I love a happy ending.
Post Reply

Return to “Graphics Cards & Monitors”