[Bug 1185970] New: Switching Graphics Freezes Whole System
http://bugzilla.opensuse.org/show_bug.cgi?id=1185970 Bug ID: 1185970 Summary: Switching Graphics Freezes Whole System Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: 64bit OS: openSUSE Tumbleweed Status: NEW Severity: Critical Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: emrecansuster@outlook.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 849289 --> http://bugzilla.opensuse.org/attachment.cgi?id=849289&action=edit Output of "sudo journalctl --no-pager | grep "amdgpu" > journalctl.output" Hi. I have a laptop with AMD processor and AMD video card. Past times, my laptop constantly freezes and I would wait to ending this for a while. ( approximately 10 mins) I'm a KDE user and it mostly happens while using Qt applications. (E.g Spectacle) I was looking for a solution for a long time and I asked this to OpenSUSE's Telegram group. They said it caused by ACPI and recommend me to switch off the ACPI by boot parameteres, I didn't do it and I get used to use my system by this way. However when I block the graphical switch (with "echo 1 | tee /sys/bus/pci/devices/0000\:01\:00.0/remove"), this problem goes away and I understand it relates with graphical switch. Then I looked at journalctl and I see some weird AMDGPU output when system freezes. Information about my system: AMD Ryzen 7 3700U AMD Radeon RX540 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1185970 Emrecan ��u��ter <emrecansuster@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Major -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1185970 Emrecan ��u��ter <emrecansuster@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1185970 http://bugzilla.opensuse.org/show_bug.cgi?id=1185970#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- First off, disabling ACPI is really bad on modern systems, and most likely it'd break anything else. So please don't do it unless you must do so temporarily. About the AMDGPU: the driver doesn't support the hotplug removal, as it seems, it spews the error message like: [drm:amdgpu_pci_remove [amdgpu]] *ERROR* Hotplug removal is not supported So the way you're trying to switch the graphics is no supported operation. Usually switching the graphics between switchable GPUs is done via vga_switcheroo. Or for the hybrid GPU, PRIME is used. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1185970 http://bugzilla.opensuse.org/show_bug.cgi?id=1185970#c2 --- Comment #2 from Emrecan ��u��ter <emrecansuster@outlook.com> --- (In reply to Takashi Iwai from comment #1)
First off, disabling ACPI is really bad on modern systems, and most likely it'd break anything else. So please don't do it unless you must do so temporarily.
About the AMDGPU: the driver doesn't support the hotplug removal, as it seems, it spews the error message like: [drm:amdgpu_pci_remove [amdgpu]] *ERROR* Hotplug removal is not supported
So the way you're trying to switch the graphics is no supported operation.
Usually switching the graphics between switchable GPUs is done via vga_switcheroo. Or for the hybrid GPU, PRIME is used.
Actually, I don't need the external gpu. It consumes a lot of energy and in my daily routine, I don't need this kind of GPU power. However, the graphics switched by automatically and I can't disable it unless the command which I mention in first message. It was same when I'm using Gnome with Wayland but instead of freezing for long minutes, this switch happens in seconds and completed successfully. However, I wouldn't happy happy with it because I don't need this kind of switch. P.S: I can't speak English fluently. I'm sorry if there is some grammatical mistakes. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com