My Dell inspiron 15R 5537 laptop boot in a black screen with amdgpu kernel driver. My laptop has a hybrid graphics (intel haswell iGPU and a radeon hd 8600m dGPU). using fedora 25 and amd-staging-kernel-4.9-6. this is the result of lspci -nnk: 00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 09) Subsystem: Dell Device [1028:05ea] Kernel driver in use: hsw_uncore 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09) Subsystem: Dell Device [1028:05ea] Kernel driver in use: i915 Kernel modules: i915 00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09) Subsystem: Dell Device [1028:05ea] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04) Subsystem: Dell Device [1028:05ea] Kernel driver in use: xhci_hcd 00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04) Subsystem: Dell Device [1028:05ea] Kernel driver in use: mei_me Kernel modules: mei_me 00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04) Subsystem: Dell Device [1028:05ea] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4) Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 4 [8086:9c16] (rev e4) Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 5 [8086:9c18] (rev e4) Kernel driver in use: pcieport Kernel modules: shpchp 00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 [8086:9c26] (rev 04) Subsystem: Dell Device [1028:05ea] Kernel driver in use: ehci-pci 00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04) Subsystem: Dell Device [1028:05ea] Kernel driver in use: lpc_ich Kernel modules: lpc_ich 00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04) Subsystem: Dell Device [1028:05ea] Kernel driver in use: ahci 00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04) Subsystem: Dell Device [1028:05ea] Kernel driver in use: i801_smbus Kernel modules: i2c_i801 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07) Subsystem: Dell Device [1028:05ea] Kernel driver in use: r8169 Kernel modules: r8169 02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73) Subsystem: Intel Corporation Wireless-N 7260 [8086:4462] Kernel driver in use: iwlwifi Kernel modules: iwlwifi 03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] [1002:6660] Subsystem: Dell Radeon HD 8670M [1028:05ea] Kernel modules: amdgpu
Please attach your xorg log and dmesg output. I think this is a duplicate of bug 99387. Does attachment 129182 [details] [review] fix the issue?
Created attachment 129273 [details] dmesg result No, it didn't help. dmesg result
The driver appears to be loaded fine. What exactly are you trying to do? The dGPU has no displays attached so you have to use the integrated GPU for display. You can select the dGPU to offscreen rendering using xrandr. See this page for more info: https://wiki.archlinux.org/index.php/PRIME
Created attachment 129274 [details] The result of cat ~/.local/share/xorg/Xorg.0.log
This appears to be a problem with the intel driver.
Seems like both radeon and amdgpu [attempt to] load, according to dmesg [ 4.881589] [drm] radeon kernel modesetting enabled. ... [ 5.293850] [drm] amdgpu kernel modesetting enabled. Is there a way to "claim" device, such that no other driver uses it ? Alternatively one could add some runtime detection/interop between radeon and amdgpu ? Mostly thinking out loud ^^ ;-)
(In reply to Emil Velikov from comment #6) > Seems like both radeon and amdgpu [attempt to] load, according to dmesg > > [ 4.881589] [drm] radeon kernel modesetting enabled. > ... > [ 5.293850] [drm] amdgpu kernel modesetting enabled. > > Is there a way to "claim" device, such that no other driver uses it ? > Alternatively one could add some runtime detection/interop between radeon > and amdgpu ? > > Mostly thinking out loud ^^ ;-) If you mean by runtime detection/interop betwean radeon and amdgpu using "modprobe.blacklist=radeon" at boot time or in modprobe.conf that solution doesn't work and X (or wayland) doesn't start. it just hang after tracing amdgpu driver and display manager doesn't start no matter how long i wait...
and i just desabled radeon module at compile time and system doesn't start X or wayland unless amdgpu driver become blacklisted
Created attachment 129316 [details] fortuanatly wayland started after compiling 4.10-rc6 + new patch of Alex Deucher with some errors and hanging some programs like Setting (when click on Details) but "Gnome on Xorg" just hangs.
Created attachment 129317 [details] new Cat log
This attachment resolved the problem of my xwayland problems. https://bugs.freedesktop.org/attachment.cgi?id=129497 Thank you Alex Deucher. Now i can play games by my dGPU. Hope the problem of X will be solved soon. Still can't log in Xorg session...
Created attachment 129504 [details] cat log result
Created attachment 129505 [details] dmesg now
Now everything works. this bug report could be closed if the second patch of Alex lands in linux kernel.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.