Re: Amdgpu kernel oops and freezing on system suspend and hibernate

2021-03-23 Thread Harvey
8:51 obelix kernel: CS:  0010 DS:  ES:  CR0: 
80050033
Mär 23 16:18:51 obelix kernel: CR2: 0029 CR3: 
000105594000 CR4: 00350ee0
Mär 23 16:19:10 obelix systemd[1]: systemd-hostnamed.service: 
Deactivated successfully.
Mär 23 16:19:10 obelix audit[1]: SERVICE_STOP pid=1 uid=0 
auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed 
comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? 
terminal=? res=success'
Mär 23 16:19:10 obelix kernel: [drm:amdgpu_dm_atomic_commit_tail 
[amdgpu]] *ERROR* Waiting for fences timed out!


Greetings
Harvey

Am 22.03.21 um 20:22 schrieb Alex Deucher:

On Thu, Mar 18, 2021 at 8:19 AM Harvey  wrote:


Alex,

I waited for kernel 5.11.7 to hit our repos yesterday evening and tested
again:

1. The suspend issue is gone - suspend and resume now work as expected.

2. System hibernation seems to be a different beast - still freezing


You need this patch:
https://gitlab.freedesktop.org/agd5f/linux/-/commit/711c13547aad08f2cfe996e0cddc3d56f1233081

Alex
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



--
I am root. If you see me laughing, you'd better have a backup!



OpenPGP_signature
Description: OpenPGP digital signature
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Re: Amdgpu kernel oops and freezing on system suspend and hibernate

2021-03-22 Thread Harvey
9]:   [1616431247.2216] 
Wi-Fi P2P device controlled by interface wlp4s0 created
Mär 22 17:40:47 obelix NetworkManager[1089]:   [1616431247.2220] 
manager: (p2p-dev-wlp4s0): new 802.11 Wi-Fi P2P device 
(/org/freedesktop/NetworkManager/Devices/5)
Mär 22 17:40:47 obelix NetworkManager[1089]:   [1616431247.2223] 
device (p2p-dev-wlp4s0): state change: unmanaged -> unavailable (reason 
'managed', sys-iface-state: 'external')
Mär 22 17:40:47 obelix NetworkManager[1089]:   [1616431247.2232] 
device (wlp4s0): state change: unavailable -> disconnected (reason 
'supplicant-available', sys-iface-state: 'managed')
Mär 22 17:40:47 obelix NetworkManager[1089]:   [1616431247.2244] 
device (p2p-dev-wlp4s0): state change: unavailable -> disconnected 
(reason 'none', sys-iface-state: 'managed')
Mär 22 17:40:47 obelix NetworkManager[1089]:   [1616431247.2414] 
sup-iface[5e6c29d124d0d735,2,wlp4s0]: call-p2p-cancel: failed with P2P 
cancel failed
Mär 22 17:40:50 obelix wpa_supplicant[1197]: wlp4s0: 
CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE
Mär 22 17:41:16 obelix systemd[1]: systemd-hostnamed.service: 
Deactivated successfully.
Mär 22 17:41:16 obelix audit[1]: SERVICE_STOP pid=1 uid=0 
auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed 
comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? 
terminal=? res=success'
Mär 22 17:41:16 obelix kernel: audit: type=1131 
audit(1616431276.781:109): pid=1 uid=0 auid=4294967295 ses=4294967295 
msg='unit=systemd-hostnamed comm="systemd" 
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Mär 22 17:41:16 obelix audit: BPF prog-id=33 op=UNLOAD
Mär 22 17:41:16 obelix audit: BPF prog-id=32 op=UNLOAD
Mär 22 17:41:16 obelix audit: BPF prog-id=31 op=UNLOAD
Mär 22 17:41:16 obelix kernel: audit: type=1334 
audit(1616431276.941:110): prog-id=33 op=UNLOAD
Mär 22 17:41:16 obelix kernel: audit: type=1334 
audit(1616431276.941:111): prog-id=32 op=UNLOAD
Mär 22 17:41:16 obelix kernel: audit: type=1334 
audit(1616431276.941:112): prog-id=31 op=UNLOAD


Greetings
Harvey


Am 19.03.21 um 13:24 schrieb Harvey:

Evan,

this is a laptop with RENOIR hardware (Ryzen 4800H) and a discrete GPU 
RX5500. There is an external monitor connected to the HDMI port (which 
is attached to the iGPU afaict).


I would be happy to test further and help in nailing this one ;)

Greetings
Harey


Am 19.03.21 um 03:10 schrieb Quan, Evan:

[AMD Public Use]

Hi Harvey,

Resuming after mode1 reset failed according to the error logs below.
Also according to the lspci output of last email, it happened for a 
Navi14 ASIC.
However, I cannot reproduce that on my desktop platform with 2 x 
Navi14 ASICs.


Mär 18 13:00:43 obelix kernel: amdgpu :03:00.0: amdgpu: MODE1 reset
Mär 18 13:00:43 obelix kernel: amdgpu :03:00.0: amdgpu: GPU psp
mode1 reset
Mär 18 13:00:43 obelix kernel: [drm] psp mode1 reset succeed

...
Mär 18 13:00:43 obelix kernel: [drm:psp_v11_0_ring_create [amdgpu]]
*ERROR* Failed to wait for sOS ready for ring creation
Mär 18 13:00:43 obelix kernel: [drm:psp_hw_start [amdgpu]] *ERROR* PSP
create ring failed!
Mär 18 13:00:43 obelix kernel: [drm:psp_resume [amdgpu]] *ERROR* PSP
resume failed
Mär 18 13:00:43 obelix kernel: [drm:amdgpu_device_fw_loading [amdgpu]]
*ERROR* resume of IP block  failed -62
Mär 18 13:00:43 obelix kernel: amdgpu :03:00.0: amdgpu:
amdgpu_device_ip_resume failed (-62).


Considering you seemed not running our latest driver according to the 
complaint blow. Maybe it's worth to try our latest driver(@Deucher, 
Alexander where Harvey can get our latest code?).

Mär 18 12:51:36 obelix kernel: amdgpu :03:00.0: amdgpu: smu driver
if version = 0x0036, smu fw if version = 0x0038, smu fw version
= 0x00352100 (53.33.0)

BR
Evan
-Original Message-
From: amd-gfx  On Behalf Of Harvey
Sent: Thursday, March 18, 2021 8:17 PM
To: amd-gfx@lists.freedesktop.org
Subject: Re: Amdgpu kernel oops and freezing on system suspend and 
hibernate


Alex,

I waited for kernel 5.11.7 to hit our repos yesterday evening and tested
again:

1. The suspend issue is gone - suspend and resume now work as expected.

2. System hibernation seems to be a different beast - still freezing

When invoking 'systemctl hibernate' the system does not power off (I
waited for 5 minutes) and I have to hard reset it to start up again. It
then tries to resume from the swap partition and comes back up with only
the external monitor connected to the HDMI port showing a picture and
the builtin screen of the laptop staying black. Nevertheless the system
is freezed and not responding, neither to mouse or keyboard. After
another hard reset I managed to get the following log from journalctl
(only cut the relevant part):

Mär 18 12:51:11 obelix NetworkManager[866]:   [1616068271.3466]
manager: sleep: sleep requested (sleeping: no  enabled: yes)
Mär 18 12:51:11 obelix NetworkManager[866]:   [1616068271.3473]
device (wlp4s0): state cha

Re: Amdgpu kernel oops and freezing on system suspend and hibernate

2021-03-19 Thread Harvey

Evan,

this is a laptop with RENOIR hardware (Ryzen 4800H) and a discrete GPU 
RX5500. There is an external monitor connected to the HDMI port (which 
is attached to the iGPU afaict).


I would be happy to test further and help in nailing this one ;)

Greetings
Harey


Am 19.03.21 um 03:10 schrieb Quan, Evan:

[AMD Public Use]

Hi Harvey,

Resuming after mode1 reset failed according to the error logs below.
Also according to the lspci output of last email, it happened for a Navi14 ASIC.
However, I cannot reproduce that on my desktop platform with 2 x Navi14 ASICs.

Mär 18 13:00:43 obelix kernel: amdgpu :03:00.0: amdgpu: MODE1 reset
Mär 18 13:00:43 obelix kernel: amdgpu :03:00.0: amdgpu: GPU psp
mode1 reset
Mär 18 13:00:43 obelix kernel: [drm] psp mode1 reset succeed

...
Mär 18 13:00:43 obelix kernel: [drm:psp_v11_0_ring_create [amdgpu]]
*ERROR* Failed to wait for sOS ready for ring creation
Mär 18 13:00:43 obelix kernel: [drm:psp_hw_start [amdgpu]] *ERROR* PSP
create ring failed!
Mär 18 13:00:43 obelix kernel: [drm:psp_resume [amdgpu]] *ERROR* PSP
resume failed
Mär 18 13:00:43 obelix kernel: [drm:amdgpu_device_fw_loading [amdgpu]]
*ERROR* resume of IP block  failed -62
Mär 18 13:00:43 obelix kernel: amdgpu :03:00.0: amdgpu:
amdgpu_device_ip_resume failed (-62).


Considering you seemed not running our latest driver according to the complaint 
blow. Maybe it's worth to try our latest driver(@Deucher, Alexander where 
Harvey can get our latest code?).
Mär 18 12:51:36 obelix kernel: amdgpu :03:00.0: amdgpu: smu driver
if version = 0x0036, smu fw if version = 0x0038, smu fw version
= 0x00352100 (53.33.0)

BR
Evan
-Original Message-
From: amd-gfx  On Behalf Of Harvey
Sent: Thursday, March 18, 2021 8:17 PM
To: amd-gfx@lists.freedesktop.org
Subject: Re: Amdgpu kernel oops and freezing on system suspend and hibernate

Alex,

I waited for kernel 5.11.7 to hit our repos yesterday evening and tested
again:

1. The suspend issue is gone - suspend and resume now work as expected.

2. System hibernation seems to be a different beast - still freezing

When invoking 'systemctl hibernate' the system does not power off (I
waited for 5 minutes) and I have to hard reset it to start up again. It
then tries to resume from the swap partition and comes back up with only
the external monitor connected to the HDMI port showing a picture and
the builtin screen of the laptop staying black. Nevertheless the system
is freezed and not responding, neither to mouse or keyboard. After
another hard reset I managed to get the following log from journalctl
(only cut the relevant part):

Mär 18 12:51:11 obelix NetworkManager[866]:   [1616068271.3466]
manager: sleep: sleep requested (sleeping: no  enabled: yes)
Mär 18 12:51:11 obelix NetworkManager[866]:   [1616068271.3473]
device (wlp4s0): state change: disconnected -> unmanaged (reason
'sleeping', sys-iface-state: 'managed')
Mär 18 12:51:11 obelix NetworkManager[866]:   [1616068271.3508]
device (wlp4s0): set-hw-addr: reset MAC address to 14:F6:D8:18:8C:EC
(unmanage)
Mär 18 12:51:11 obelix NetworkManager[866]:   [1616068271.3575]
device (p2p-dev-wlp4s0): state change: disconnected -> unmanaged (reason
'sleeping', sys-iface-state: 'managed')
Mär 18 12:51:11 obelix NetworkManager[866]:   [1616068271.3580]
manager: NetworkManager state is now ASLEEP
Mär 18 12:51:11 obelix wpa_supplicant[954]: nl80211: deinit
ifname=p2p-dev-wlp4s0 disabled_11b_rates=0
Mär 18 12:51:11 obelix wpa_supplicant[954]: nl80211: deinit
ifname=wlp4s0 disabled_11b_rates=0
Mär 18 12:51:12 obelix gsd-media-keys[1691]: Unable to get default sink
Mär 18 12:51:15 obelix gnome-shell[1496]:
../glib/gobject/gsignal.c:2732: instance '0x560b86c67b50' has no handler
with id '15070'
Mär 18 12:51:16 obelix gsd-usb-protect[1724]: Error calling USBGuard
DBus to change the protection after a screensaver event:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.usbguard1 was not provided by any .service files
Mär 18 12:51:16 obelix systemd[1]: Reached target Sleep.
Mär 18 12:51:16 obelix systemd[1]: Starting Suspend...
Mär 18 12:51:16 obelix systemd-sleep[2000]: Suspending system...
Mär 18 12:51:16 obelix kernel: PM: suspend entry (deep)
Mär 18 12:51:16 obelix kernel: Filesystems sync: 0.005 seconds
Mär 18 12:51:36 obelix kernel: Freezing user space processes ...
(elapsed 0.002 seconds) done.
Mär 18 12:51:36 obelix kernel: OOM killer disabled.
Mär 18 12:51:36 obelix kernel: Freezing remaining freezable tasks ...
(elapsed 0.001 seconds) done.
Mär 18 12:51:36 obelix kernel: printk: Suspending console(s) (use
no_console_suspend to debug)
Mär 18 12:51:36 obelix kernel: [drm] free PSP TMR buffer
Mär 18 12:51:36 obelix kernel: [drm] free PSP TMR buffer
Mär 18 12:51:36 obelix kernel: ACPI: EC: interrupt blocked
Mär 18 12:51:36 obelix kernel: ACPI: Preparing to enter system sleep
state S3
Mär 18 12:51:36 obelix kernel: ACPI: EC: event blocked
Mär 18 12:51:36 obelix kernel: ACPI: EC: EC s

Re: Amdgpu kernel oops and freezing on system suspend and hibernate

2021-03-18 Thread Harvey
ncel: failed with P2P 
cancel failed
Mär 18 12:51:38 obelix kernel: Bluetooth: hci0: Waiting for firmware 
download to complete
Mär 18 12:51:38 obelix kernel: Bluetooth: hci0: Firmware loaded in 
1486688 usecs

Mär 18 12:51:38 obelix kernel: Bluetooth: hci0: Waiting for device to boot
Mär 18 12:51:38 obelix kernel: Bluetooth: hci0: Device booted in 15971 usecs
Mär 18 12:51:38 obelix kernel: Bluetooth: hci0: Found Intel DDC 
parameters: intel/ibt-20-1-3.ddc
Mär 18 12:51:38 obelix kernel: Bluetooth: hci0: Applying Intel DDC 
parameters completed
Mär 18 12:51:38 obelix kernel: Bluetooth: hci0: Firmware revision 0.0 
build 121 week 7 2021
Mär 18 12:51:38 obelix bluetoothd[863]: Endpoint registered: 
sender=:1.55 path=/MediaEndpoint/A2DPSink/sbc
Mär 18 12:51:38 obelix bluetoothd[863]: Endpoint registered: 
sender=:1.55 path=/MediaEndpoint/A2DPSource/sbc

Mär 18 12:51:40 obelix kernel: r8168: enp5s0: link up
Mär 18 12:51:40 obelix kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: 
link becomes ready
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0571] 
device (enp5s0): carrier: link connected
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0582] 
device (enp5s0): state change: unavailable -> disconnected (reason 
'carrier-changed', sys-iface-state: 'managed')
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0609] 
policy: auto-activating connection 'Kabelgebundene Verbindung 1' 
(c38c81cb-d88f-4897-9ece-659d13774b9a)
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0620] 
device (enp5s0): Activation: starting connection 'Kabelgebundene 
Verbindung 1' (c38c81cb-d88f-4897-9ece-659d13774b9a)
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0622] 
device (enp5s0): state change: disconnected -> prepare (reason 'none', 
sys-iface-state: 'managed')
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0628] 
manager: NetworkManager state is now CONNECTING
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0632] 
device (enp5s0): state change: prepare -> config (reason 'none', 
sys-iface-state: 'managed')
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0645] 
device (enp5s0): state change: config -> ip-config (reason 'none', 
sys-iface-state: 'managed')
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0650] 
dhcp4 (enp5s0): activation: beginning transaction (timeout in 45 seconds)
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0953] 
dhcp4 (enp5s0): state changed unknown -> bound, address=192.168.1.1
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0973] 
device (enp5s0): state change: ip-config -> ip-check (reason 'none', 
sys-iface-state: 'managed')
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.0997] 
device (enp5s0): state change: ip-check -> secondaries (reason 'none', 
sys-iface-state: 'managed')
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.1000] 
device (enp5s0): state change: secondaries -> activated (reason 'none', 
sys-iface-state: 'managed')
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.1007] 
manager: NetworkManager state is now CONNECTED_LOCAL
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.1023] 
manager: NetworkManager state is now CONNECTED_SITE
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.1025] 
policy: set 'Kabelgebundene Verbindung 1' (enp5s0) as default for IPv4 
routing and DNS
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.1099] 
device (enp5s0): Activation: successful, device activated.
Mär 18 12:51:40 obelix NetworkManager[866]:   [1616068300.2198] 
manager: NetworkManager state is now CONNECTED_GLOBAL
Mär 18 12:51:40 obelix wpa_supplicant[954]: wlp4s0: 
CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE

Mär 18 12:51:41 obelix systemd[1]: systemd-rfkill.service: Succeeded.
Mär 18 12:51:41 obelix audit[1]: SERVICE_STOP pid=1 uid=0 
auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" 
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mär 18 12:51:41 obelix kernel: audit: type=1131 
audit(1616068301.630:99): pid=1 uid=0 auid=4294967295 ses=4294967295 
msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" 
hostname=? addr=? terminal=? res=success'

Mär 18 12:51:44 obelix gdm-password][2147]: gkr-pam: unlocked login keyring
Mär 18 12:51:44 obelix kernel: audit: type=1100 
audit(1616068304.670:100): pid=2147 uid=0 auid=1000 ses=3 
msg='op=PAM:authentication 
grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring 
acct="harvey" exe="/usr/lib/gdm-session-worker" hostname=obelix addr=? 
terminal=/dev/tty1 res=success'
Mär 18 12:51:44 obelix audit[2147]: USER_AUTH pid=2147 uid=0 auid=1000 
ses=3 msg='op=PAM:authentication 
grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring 
acct="harvey" exe="/usr/lib/gdm-session-worker" hostna

Amdgpu kernel oops and freezing on system suspend and hibernate

2021-03-17 Thread Harvey
 in use: ccp
Kernel modules: ccp
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 12ac
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 12ac
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] 
Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)

Subsystem: Micro-Star International Co., Ltd. [MSI] Device 12ac
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 10h-1fh) HD Audio Controller

DeviceName: HD Audio Controller
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 12ac
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
08:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA 
Controller [AHCI mode] (rev 81)

Subsystem: Micro-Star International Co., Ltd. [MSI] Device 12ac
Kernel driver in use: ahci
08:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA 
Controller [AHCI mode] (rev 81)

Subsystem: Micro-Star International Co., Ltd. [MSI] Device 12ac
Kernel driver in use: ahci

I suppose the amdgpu module is at fault here?

Greetings
Harvey



OpenPGP_signature
Description: OpenPGP digital signature
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Re: Amdgpu kernel oops and freezing graphics

2020-08-05 Thread Harvey

Alex,

Am 04.08.20 um 22:01 schrieb Alex Deucher:

On Tue, Jul 21, 2020 at 2:21 PM Harvey  wrote:


Alex,

tnak you so much - you're my hero!

Am 21.07.20 um 18:17 schrieb Alex Deucher:

On Mon, Jul 20, 2020 at 4:22 AM Harvey  wrote:


Hello,

this is my first post to this list so please be patient with me ;)

The facts:

it is now one week that I own a new laptop, a MSI Bravo 17 A4DDR/MS-17FK
with Ryzen 7 4800U and hybrid graphics on a Radeon RX 5500M. I installed
my beloved Archlinux but I can't start any graphics withpout kernel oops
on it beside the normal console, even calling 'lspci' on the console is
provoking errors.

I am using linux kernel 5.7.9 and linux-firmware 20200619.e96c121

(FWIW: I even tried with a self-cmpiled kernel 5.8-rc5 and
linux-firmware directly from the git repository - no changes)

The following is only part of the information I can provide but I didn't
want to make this mail bigger than it already is.


Does appending amdgpu.runpm=0 on the kernel command line in grub help?


Yes it does. Woohoo! The system is not freezing anymore! Can I provide
any further information to get this sorted?

I will be happy to help investigating and testing if needed.


Does appending pci=noats on the kernel command line in grub also fix the issue?


No, it does not. I tested with pci=noats on kernel 5.7.11 and 5.8 and on
both the kernel oopses and freezes again. Only amdgpu.runpm=0 does the
trick.

FWIW, booting kernel 5.8 without any parameters does not work either.

Greetings
Harvey


--
I am root. If you see me laughing, you'd better have a backup!
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Re: Amdgpu kernel oops and freezing graphics

2020-07-21 Thread Harvey

Alex,

tnak you so much - you're my hero!

Am 21.07.20 um 18:17 schrieb Alex Deucher:

On Mon, Jul 20, 2020 at 4:22 AM Harvey  wrote:


Hello,

this is my first post to this list so please be patient with me ;)

The facts:

it is now one week that I own a new laptop, a MSI Bravo 17 A4DDR/MS-17FK
with Ryzen 7 4800U and hybrid graphics on a Radeon RX 5500M. I installed
my beloved Archlinux but I can't start any graphics withpout kernel oops
on it beside the normal console, even calling 'lspci' on the console is
provoking errors.

I am using linux kernel 5.7.9 and linux-firmware 20200619.e96c121

(FWIW: I even tried with a self-cmpiled kernel 5.8-rc5 and
linux-firmware directly from the git repository - no changes)

The following is only part of the information I can provide but I didn't
want to make this mail bigger than it already is.


Does appending amdgpu.runpm=0 on the kernel command line in grub help?


Yes it does. Woohoo! The system is not freezing anymore! Can I provide
any further information to get this sorted?

I will be happy to help investigating and testing if needed.

Greeintgs
Harvey

--
I am root. If you see me laughing, you'd better have a backup!
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Re: Amdgpu kernel oops and freezing graphics

2020-07-20 Thread Harvey

Jack

first, thanks for the answer

> RX 5500m only has win10 support.
I have seen that (well - too late, I admit). But I would be perfectly
happy with the processor graphics of the 4800U. I bought the laptop
because of the 17 inch display in first place. If there would be a way
just to switch the 5500m off that would be perfectly enogh. I'm not a
gamer...

But AFAIK there is no way to do this without the kernel oopsing. I
thought it would be possible to make the machine usable at least...

Greetings
Harvey

--
I am root. If you see me laughing, you'd better have a backup!
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Amdgpu kernel oops and freezing graphics

2020-07-20 Thread Harvey
switcheroo_runtime_resume+0x60/0x60
[  421.358634]  rpm_callback+0x1f/0x70
[  421.358637]  ? vga_switcheroo_runtime_resume+0x60/0x60
[  421.358640]  rpm_suspend+0x174/0x6d0
[  421.358645]  pm_runtime_work+0x94/0xa0
[  421.358648]  process_one_work+0x1da/0x3d0
[  421.358651]  worker_thread+0x4d/0x3e0
[  421.358654]  ? rescuer_thread+0x3f0/0x3f0
[  421.358657]  kthread+0x13e/0x160
[  421.358660]  ? __kthread_bind_mask+0x60/0x60
[  421.358663]  ret_from_fork+0x22/0x40
[  421.358667] Modules linked in: iwlmvm joydev snd_hda_codec_realtek
mousedev amdgpu uvcvideo mac80211 snd_hda_codec_generic
snd_hda_codec_hdmi btusb videobuf2_vmalloc ledtrig_audio
videobuf2_memops btrtl edac_mce_amd btbcm videobuf2_v4l2 btintel kvm_amd
hid_multitouch snd_hda_intel msi_wmi videobuf2_common libarc4 bluetooth
snd_intel_dspcfg hid_generic sparse_keymap kvm snd_hda_codec videodev
nls_iso8859_1 nls_cp437 gpu_sched i2c_algo_bit vfat ecdh_generic fat ttm
irqbypass iwlwifi mc ecc snd_hda_core drm_kms_helper snd_hwdep snd_pcm
crct10dif_pclmul crc32_pclmul r8169 cec ghash_clmulni_intel snd_timer
cfg80211 aesni_intel rc_core syscopyarea sysfillrect snd crypto_simd
sp5100_tco realtek sysimgblt cryptd glue_helper fb_sys_fops psmouse ccp
pcspkr input_leds i2c_piix4 k10temp snd_pci_acp3x soundcore libphy
rfkill wmi battery ac i2c_hid tpm_crb hid tpm_tis tpm_tis_core tpm evdev
mac_hid pinctrl_amd rng_core acpi_cpufreq soc_button_array drm
crypto_user agpgart ip_tables x_tables serio_raw
[  421.358700]  atkbd libps2 xhci_pci xhci_hcd i8042 serio ext4
crc32c_generic crc32c_intel crc16 mbcache jbd2
[  421.358710] CR2: 0038
[  421.358714] ---[ end trace 7a1af789893080c2 ]---
[  421.358848] RIP: 0010:kernel_queue_uninit+0xd/0xf0 [amdgpu]
[  421.358851] Code: ee 48 89 c7 e8 a4 f9 ff ff 84 c0 0f 84 3a 40 1a 00
4c 89 e0 5d 41 5c 41 5d c3 0f 1f 00 0f 1f 44 00 00 55 48 8b 47 10 48 89
fd <8b> 50 28 83 fa 02 74 78 83 fa 03 0f 84 b1 00 00 00 48 8b 7f 08 4c
[  421.358853] RSP: 0018:b34c00b4fca8 EFLAGS: 00010246
[  421.358855] RAX: 0010 RBX: a341022cdc00 RCX:
80800076
[  421.358857] RDX: 80800077 RSI:  RDI:
a3411c874a80
[  421.358858] RBP: a3411c874a80 R08: 0001 R09:
0001
[  421.358860] R10: a34118da0660 R11: dead0100 R12:
a341022cdd28
[  421.358862] R13: a3411c4030b0 R14: a34103ca R15:
a3411f86c9b0
[  421.358864] FS:  () GS:a3411f84()
knlGS:
[  421.358866] CS:  0010 DS:  ES:  CR0: 80050033
[  421.358868] CR2: 0038 CR3: 0003d240a000 CR4:
00340ee0

I suppose the amdgpu module is at fault here?

Greetings
Harvey

--
I am root. If you see me laughing, you'd better have a backup!
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx