Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: AMD RX 570 and kernel 5.3.18-lp152.41-default

  1. #1

    Default AMD RX 570 and kernel 5.3.18-lp152.41-default

    On updating to kernel 5.3.18-lp152.41-default (from kernel 5.3.18-lp152.36-default) I experienced a `freeze' during system boot-up. Using debug mode, the last message was:
    Code:
    Fb0: switching to amdgpudrmfb from EFI VGA


    Something seems to be going from when switching graphics mode. Adding
    Code:
    nomodeset
    to the kernel option allows the boot to go to completion, at the cost of not having an accelerated graphics driver!


    The problem is perhaps the same as described on https://forum.level1techs.com/t/fb0-...efi-vga/152112 , some sort of problem with MMU and ATS?

    I am currently booting on the previous kernel version (5.3.18-lp152.36-default) without any problem (except security....)

    My hardware:
    Asrock B550M
    AMD Ryzen 5 3600
    AMD RX 570 graphics card (MSI) - amdgpu-pro driver
    Last edited by DavidPatShuiFong; 12-Sep-2020 at 04:55. Reason: working kernel version

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,396
    Blog Entries
    3

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default

    Suggestions:

    (1) Edit (as root) "/etc/zypp/zypp.conf'
    Find the line:
    Code:
    multiversion.kernels = latest,latest-1,running
    and change that to
    Code:
    multiversion.kernels = oldest,latest,latest-1,running
    This is to make sure that your working kernel does not disappear before the problem is fixed.

    (2) Continue booting to the kernel that works (5.3.18-lp152.36-default).

    (3) Open a bug report:
    https://en.opensuse.org/openSUSE:Submitting_bug_reports

    The kernel team are usually pretty good at tracking down these problems.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  3. #3

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default

    I have had this type of problem also with both kernel updates to date of leap 15.2. Kernel updates break the proprietary amdgpu-pro drivers for some reason -
    it appears the amdgpu kernel module is not rebuilt with a kernel update. The work-around is simple, basically uninstall and reinstall the amdgpu-pro
    drivers as follows:

    1. Make sure you have the amdgpu-pro archive for your video card and unpack it to the directory of your choice.
    2. Open a terminal and run amdgpu-uninstall (enter root password when asked).
    3. From the directory where you unpacked amdgpu-pro, run either amdgpu-install or amdgpu-pro-install as appropriate for you driver choice.

    Your drivers are now restored. Your Plymouth boot screen may be broken. If so, make a backup copy of initrd then run sudo mkinitrd.

    Done.

    The amdgpu-pro install doc is here if you need it.

    enjoy...

  4. #4

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default

    Oops! There is an error in step 2, it should be:

    2. Open a terminal and run amdgpu-uninstall if installed with amdgpu-install or run amdgpu-pro-uninstall if installed with amdgpu-pro-install (enter root password when asked).

  5. #5
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,896
    Blog Entries
    1

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default

    Quote Originally Posted by DavidPatShuiFong View Post
    On updating to kernel 5.3.18-lp152.41-default (from kernel 5.3.18-lp152.36-default) I experienced a `freeze' during system boot-up. Using debug mode, the last message was:
    Code:
    Fb0: switching to amdgpudrmfb from EFI VGA


    Something seems to be going from when switching graphics mode. Adding
    Code:
    nomodeset
    to the kernel option allows the boot to go to completion, at the cost of not having an accelerated graphics driver!


    The problem is perhaps the same as described on https://forum.level1techs.com/t/fb0-...efi-vga/152112 , some sort of problem with MMU and ATS?

    I am currently booting on the previous kernel version (5.3.18-lp152.36-default) without any problem (except security....)

    My hardware:
    Asrock B550M
    AMD Ryzen 5 3600
    AMD RX 570 graphics card (MSI) - amdgpu-pro driver
    You may consider using a newer kernel or a switch to Tumbleweed. Upgrading to the latest version fix a freeze: https://forums.opensuse.org/showthre...Amdgpu-Trouble
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  6. #6

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default

    What version of AMDGPU All-Open and AMDGPU-Pro Driver you are using?

    Version 20.30+ is needed for Leap 15.2.

  7. #7
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,896
    Blog Entries
    1

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default

    Quote Originally Posted by Svyatko View Post
    What version of AMDGPU All-Open and AMDGPU-Pro Driver you are using?

    Version 20.30+ is needed for Leap 15.2.
    Being inexperienced regarding amdgpu I wonder what is the benefit of using amdgpu-pro:

    "AMD provides a proprietary, binary userland driver called AMDGPU PRO, which works on top of the open-source AMDGPU kernel driver. From Radeon Software 18.50 vs Mesa 19 benchmarks article: When it comes to OpenGL games, the RadeonSI Gallium3D driver simply dominates the proprietary AMD OpenGL driver."

    https://wiki.archlinux.org/index.php/AMDGPU#AMDGPU_PRO

    Code:
    localhost:~ # journalctl -b --grep amdgpu
    -- Logs begin at Mon 2020-07-13 17:21:20 CEST, end at Wed 2020-09-16 08:30:47 CEST. --
    Sep 16 08:18:56 localhost kernel: [drm] amdgpu kernel modesetting enabled.
    Sep 16 08:18:56 localhost kernel: amdgpu: Topology: Add APU node [0x0:0x0]
    Sep 16 08:18:56 localhost kernel: fb0: switching to amdgpudrmfb from EFI VGA
    Sep 16 08:18:56 localhost kernel: amdgpu 0000:06:00.0: vgaarb: deactivate vga console
    Sep 16 08:18:56 localhost kernel: amdgpu 0000:06:00.0: enabling device (0006 -> 0007)
    Sep 16 08:18:56 localhost kernel: amdgpu 0000:06:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
    Sep 16 08:18:56 localhost kernel: amdgpu: ATOM BIOS: 113-PICASSO-115
    Sep 16 08:18:56 localhost kernel: amdgpu 0000:06:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
    Sep 16 08:18:56 localhost kernel: amdgpu 0000:06:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
    Sep 16 08:18:56 localhost kernel: amdgpu 0000:06:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
    Sep 16 08:18:56 localhost kernel: [drm] amdgpu: 2048M of VRAM memory ready
    Sep 16 08:18:56 localhost kernel: [drm] amdgpu: 3072M of GTT memory ready.
    Sep 16 08:18:56 localhost kernel: amdgpu: hwmgr_sw_init smu backed is smu10_smu
    Sep 16 08:18:56 localhost kernel: amdgpu 0000:06:00.0: amdgpu: RAS: optional ras ta ucode is not available
    Sep 16 08:18:56 localhost kernel: amdgpu: Topology: Add APU node [0x15d8:0x1002]
    Sep 16 08:18:56 localhost kernel: amdgpu 0000:06:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 11, active_cu_number 11
    Sep 16 08:18:56 localhost kernel: fbcon: amdgpudrmfb (fb0) is primary device
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: fb0: amdgpudrmfb frame buffer device
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
    Sep 16 08:18:57 localhost kernel: amdgpu 0000:06:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
    Sep 16 08:18:57 localhost kernel: [drm] Initialized amdgpu 3.38.0 20150101 for 0000:06:00.0 on minor 0
    Sep 16 08:18:58 localhost kernel: snd_hda_intel 0000:06:00.1: bound 0000:06:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
    localhost:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  8. #8

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default

    Quote Originally Posted by karlmistelberger View Post
    Being inexperienced regarding amdgpu I wonder what is the benefit of using amdgpu-pro:
    ...
    AMDGPU-Pro is needed for OpenCL.
    You may install Mesa 3D + OpenCL part from AMDGPU-Pro.
    For AMD RDNA architecture AMDGPU-Pro is the only available driver for OpenCL using.
    With ACO driver Mesa 3D may outperform AMDGPU-Pro for Vulkan: https://www.phoronix.com/scan.php?pa...1aco-amd&num=1

  9. #9

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default


  10. #10
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,896
    Blog Entries
    1

    Default Re: AMD RX 570 and kernel 5.3.18-lp152.41-default

    Quote Originally Posted by Svyatko View Post
    AMDGPU-Pro is needed for OpenCL.
    You may install Mesa 3D + OpenCL part from AMDGPU-Pro.
    For AMD RDNA architecture AMDGPU-Pro is the only available driver for OpenCL using.
    With ACO driver Mesa 3D may outperform AMDGPU-Pro for Vulkan: https://www.phoronix.com/scan.php?pa...1aco-amd&num=1
    You are talking about https://9to5linux.com/amd-radeon-sof...tu-20-04-1-lts ? From that and https://en.wikipedia.org/wiki/Mesa_(computer_graphics) I conclude that I need not be concerned as long as AMDGPU All-Open works well.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •