Bug 96470

Summary: [AMDGPU][CIK] PRIME doesn't work, X doesn't start at all (no screen found)
Product: DRI Reporter: Shawn Starr <shawn.starr>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg Log file
none
kernel boot
none
Prime fails for radeon DDX Xorg log file none

Description Shawn Starr 2016-06-10 01:14:48 UTC
Created attachment 124431 [details]
Xorg Log file

Kernel: agd5f's drm-next-4.8-wip
Xorg: xorg-x11-server-1.18.3-2.fc24 
AMDGPU DDX: git master
Intel DDX: xorg-x11-drv-intel-2.99.917-23.20160512.fc24.x86_64 

Attached, Xorg log, kernel boot log.
Comment 1 Shawn Starr 2016-06-10 01:15:10 UTC
Created attachment 124432 [details]
kernel boot
Comment 2 Shawn Starr 2016-06-10 05:06:54 UTC
For reference, this doesn't work on radeon.ko anymore but due to a different error from drm:

[   12.563839] radeon 0000:01:00.0: No connectors reported connected with modes
[ 12.564832] [drm] Cannot find any crtc or sizes - going 1024x768

And the ati DDX:

(EE) RADEON(G0): drmmode_do_crtc_dpms cannot get last vblank counter

And X crashing, the dGPU DDX would be I guess powered down if the intel iGPU takes over.

[    19.327] (II) intel(0): EDID vendor "LGD", prod id 730
[    19.327] (II) intel(0): Printing DDC gathered Modelines:
[    19.327] (II) intel(0): Modeline "1920x1080"x0.0  140.00  1920 1968 2000 2096  1080 1083 1088 1113 -hsync -vsync (66.8 kHz eP)
[    19.429] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 /dev/dri/card1
[    19.430] xf86: remove device 0 /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[    19.433] (II) UnloadModule: "radeon"
[    19.433] (II) UnloadSubModule: "glamoregl"
[    19.433] (II) Unloading glamoregl
[    19.433] (II) UnloadSubModule: "fb"
[    19.433] (II) Unloading fb
[    19.433] (EE) 
[    19.433] (EE) Backtrace:
[    19.444] (EE) 0: /usr/libexec/Xorg (OsLookupColor+0x139) [0x59fbd9]
[    19.468] (EE) 1: /lib64/libc.so.6 (__restore_rt+0x0) [0x7fdf3094276f]
[    19.468] (EE) 2: /usr/libexec/Xorg (RRTellChanged+0x165) [0x4f8c85]
[    19.468] (EE) 3: /usr/libexec/Xorg (xf86PlatformDeviceCheckBusID+0x2d6) [0x49d016]
[    19.469] (EE) 4: /usr/libexec/Xorg (config_fini+0x7ef) [0x4994ef]
[    19.469] (EE) 5: /usr/libexec/Xorg (config_fini+0x13e0) [0x49ad20]
[    19.469] (EE) 6: /usr/libexec/Xorg (WakeupHandler+0x70) [0x43b860]
[    19.469] (EE) 7: /usr/libexec/Xorg (WaitForSomething+0x1e9) [0x598569]
[    19.469] (EE) 8: /usr/libexec/Xorg (SendErrorToClient+0x10e) [0x436b4e]
[    19.469] (EE) 9: /usr/libexec/Xorg (remove_fs_handlers+0x463) [0x43ad83]
[    19.469] (EE) 10: /lib64/libc.so.6 (__libc_start_main+0xf1) [0x7fdf3092e731]
[    19.470] (EE) 11: /usr/libexec/Xorg (_start+0x29) [0x424bc9]
[    19.470] (EE) 12: ? (?+0x29) [0x29]
[    19.470] (EE) 
[    19.470] (EE) Segmentation fault at address 0x34
[    19.470] (EE) 
Fatal server error:
[    19.470] (EE) Caught signal 11 (Segmentation fault). Server aborting
[
Comment 3 Shawn Starr 2016-06-10 05:12:14 UTC
Created attachment 124434 [details]
Prime fails for radeon DDX Xorg log file
Comment 4 Shawn Starr 2016-06-10 08:13:39 UTC
Any references for radeon PRIME are bogus, after working with Michel on IRC, we fixed that issue. For amdgpu there is a problem however.
Comment 5 Shawn Starr 2016-08-31 03:29:23 UTC

*** This bug has been marked as a duplicate of bug 97460 ***
Comment 6 Shawn Starr 2016-08-31 03:59:12 UTC
In addition, from Alex, muxed will not be supported, even the Windows AMD driver does not do muxed (in my case), it does do a PRIME use for the dGPU.

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.