https://bugzilla.kernel.org/show_bug.cgi?id=200517
Bug ID: 200517 Summary: Vega 8/Radeon 535 hybrid graphics - amdgpu crash on modesetting Product: Drivers Version: 2.5 Kernel Version: 4.18.0rc5 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: bakarichard91@gmail.com Regression: No
Created attachment 277363 --> https://bugzilla.kernel.org/attachment.cgi?id=277363&action=edit dmesg
Notebook: Acer A315-41G-*
4.* kernels start only using these parameters: amdgpu.runpm=0 radeon.modeset=0 or compiled without VGA switcheroo.
lspci and dmesg attached
Even with these parameters significant heating occurs however this can be fixed by running "sudo echo OFF > /sys/kernel/debug/vgaswitcheroo/switch" command.
It would be the best if both of them worked correctly like on win10.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #1 from bakarichard91@gmail.com --- 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge 00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db 00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] (rev d1) 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01) 02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12) 03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31) 04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon Vega 8 Mobile] (rev c4) 04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de 04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df 04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0 04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1 04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3 05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
https://bugzilla.kernel.org/show_bug.cgi?id=200517
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #2 from Alex Deucher (alexdeucher@gmail.com) --- Duplicate of: https://bugs.freedesktop.org/show_bug.cgi?id=105760
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #3 from Alex Deucher (alexdeucher@gmail.com) --- Please attach your full dmesg output from boot and `lspci -nn` output.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #4 from bakarichard91@gmail.com --- Hi,
Sorry for the duplication. It's worth to mention that APIC problems occured too which have been fixed using kernel parameters. (manual pci addressing)
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #5 from bakarichard91@gmail.com --- Created attachment 277371 --> https://bugzilla.kernel.org/attachment.cgi?id=277371&action=edit lspci -nn
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #6 from bakarichard91@gmail.com --- Created attachment 277373 --> https://bugzilla.kernel.org/attachment.cgi?id=277373&action=edit dmesg full
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #7 from Alex Deucher (alexdeucher@gmail.com) --- Created attachment 277375 --> https://bugzilla.kernel.org/attachment.cgi?id=277375&action=edit possible fix
Does this patch fix the issue?
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #8 from bakarichard91@gmail.com --- Hi, I've patched it and it loads perfectly without any additional parameters. I'm checking the temperature now.
Will this ever be merged to the "master"?
Thanks for the help. The support of linux is better than than support of any commerical product.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #9 from Alex Deucher (alexdeucher@gmail.com) --- (In reply to bakarichard91 from comment #8)
Hi, I've patched it and it loads perfectly without any additional parameters. I'm checking the temperature now.
Will this ever be merged to the "master"?
Assuming it fixes the issue, I'll go ahead and apply it to upstream and stable kernels.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #10 from Alex Deucher (alexdeucher@gmail.com) --- (In reply to Alex Deucher from comment #2)
Duplicate of: https://bugs.freedesktop.org/show_bug.cgi?id=105760
This is apparently not a duplicate of that bug. Similar symptoms, but different root cause.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #11 from bakarichard91@gmail.com --- I played Vietcong but the GPU hasn't switched, is that okay? Is there any way to monitor frequencies? However temperature seems to be OK now.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #12 from Alex Deucher (alexdeucher@gmail.com) --- If you are using X, you need to use xrandr to setup the dGPU for render offload. E.g., see: https://wiki.archlinux.org/index.php/PRIME or similar pages.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #13 from bakarichard91@gmail.com --- That is clear, thanks.
Another topic, you seems to be competent to ask your opinion: what do you think why are my gpu and cpu core temps ~5-8C higher than on Windows 10. This is the best what open/free drivers can produce? Tlp is in use of course. If I know well, my Acer notebook's power management is totally acpi controlled however the DSDT table was broken in Linux and I had to manually addressing two pci/apic controllers to even start the kernel. Do you have any suggestion what I should do not to be my legs burnt. Thanks.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #14 from Alex Deucher (alexdeucher@gmail.com) --- On the GPU side, we are working on enabling gfxoff and stutter mode which should save some additional power. They are not enabled by default yet, but should be in the near future. For the platform side (CPU, FCH, etc.), you may want to run something like powertop and see what can be done to save power on things like USB, SATA, etc.
https://bugzilla.kernel.org/show_bug.cgi?id=200517
--- Comment #15 from bakarichard91@gmail.com --- Hi Alex, kernel 4.18rc6 works perfectly. This can be closed I think. Thanks again. (Power problems were fixed with patching DSDT/SSDT tables)
https://bugzilla.kernel.org/show_bug.cgi?id=200517
Peter Wu (peter@lekensteyn.nl) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peter@lekensteyn.nl
--- Comment #16 from Peter Wu (peter@lekensteyn.nl) --- Hi Richard,
In an attempt to understand the problem better, could you attach these two files:
sudo acpidump > acpidump.txt sudo lspci -nnvvvxxxx > lspci-nnvvvxxxx.txt
dri-devel@lists.freedesktop.org