how to convince Xorg server my discrete graphics Radeon 8970M card is connected when my Integrated Graphics (i915) card is also active ?
Alex Deucher
alexdeucher at gmail.com
Mon Apr 25 15:13:18 UTC 2016
On Sun, Apr 24, 2016 at 1:00 PM, Jason Vas Dias
<jason.vas.dias at gmail.com> wrote:
> I have a " CLEVO/KAPOK Computer Device [1558:5106] "
> laptop with an " Intel(R) Core(TM) i7-4910MQ CPU @ 2.90GHz "
> CPU, 16GB RAM, 1TB HD, 256M SDD. and a 1920x1080 LCD panel ,
> and these graphics cards:
>
> $ lspci -nn | grep VGA
> 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen
> Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
> 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
> [AMD/ATI] Neptune XT [Radeon HD 8970M] [1002:6801]
>
> I have built the latest stable versions of gcc, glibc, binutils,
> kernel (4.4+) etc,
> broadly in line with the Linux From Scratch book (LFS), and ALL xorg libraries,
> protos, essential applications & utilities, and the Xorg Server + Mesa +
> xf86-video-ati + xf86-video-intel + requisite drivers from GIT checkouts
> to the latest tagged commit (stable version) - so I'm trying to run :
> linux: 4.5.2
> glibc: 2.23
> gcc : 5.3.0
> Mesa: : 11.2.0
> Xserver : 1.18.3
> xf86-video-ati : 7.7.0
> xf86-video-intel: 2.6.99.902
>
> But so far I am unable to get the 8970M Radeon card to go into graphics mode -
> the xserver quits at the error : "No modes." from hw/xfree86/xf86Crtc.c .
>
> I have got past the firmware load stage - the card loads firmware from
> radeon/pitcairn_pfp.bin OK .
>
> So far the code has only gone into graphics mode when controlled by the FGLRX
> driver, installed into an Oracle Enterprise Linux 7 (OEL7) installation on a
> separate partition from the one I'm trying to get running .
>
> I am running Linux 4.5.2 stable with kernel arguments:
>
> radeon.modeset=1 video=1920x1080 at 60e fbcon=map:01 \
> drm_kms_helper.edid_firmware=edid/1920x1080.bin
>
> I have generated a 1920x1080.bin EDID file to be loaded by xorg.conf from
> the EDID values posted to the Xorg.0.log file by the FGLRX driver:
>
> $ tail -n +150 /var/log/Xorg.0.log | head -n 9
> [ 13.210] (II) fglrx(0): EDID (in hex):
> [ 13.210] (II) fglrx(0): 00ffffffffffff000daeb11500000000
> [ 13.210] (II) fglrx(0): 01160104902213780231d59f56589527
> [ 13.210] (II) fglrx(0): 15505400000001010101010101010101
> [ 13.210] (II) fglrx(0): 010101010101963b803271383e405a3c
> [ 13.210] (II) fglrx(0): 690058c21000001a9b2580ee70382340
> [ 13.210] (II) fglrx(0): 3523350058c21000001a000000fe0056
> [ 13.210] (II) fglrx(0): 434d3858024e31353648470a00000000
> [ 13.211] (II) fglrx(0): 000041319e0000000002010a20200005
>
>
> So I did:
>
> $ tail -n +151 /var/log/Xorg.0.log | head -n 8 |
> sed -r 's/^.*[[:space:]]+//' | tr -d '\n' |
> perl -e 'while(<>){ while( $_ =~ /([0-9a-f][0-9a-f])/g){
> $v=eval "0x$1"; print pack("C",$v); } }' \
>> /tmp/neptune_edid.bin
>
> so that should give me a loadable EDID ? But no attempts to force load of
> the EDID have any affect on the outcome, which is always that Xorg prints
> logs , when run with a command like :
>
> $ { echo ON >/sys/kernel/debug/vgaswitcheroo/switch;
> echo DDIS >/sys/kernel/debug/vgaswitcheroo/switch;
> Xorg -logverbose 7 -verbose 7 :0 vt04 ||
> { echo ON >/sys/kernel/debug/vgaswitcheroo/switch;
> echo IGP >/sys/kernel/debug/vgaswitcheroo/switch; } ; } &
> ( sleep 3; cat /sys/kernel/debug/vgaswitcheroo/switch > \
> ~/vga_switcheroo_switch_last;
> xterm &
> )
>
> ( this command attempts to switch to the Radeon driver with vga_switcheroo
> when the X Server goes into graphics mode)
>
> the logs always end with :
>
> [ 1503.958] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
> [ 1503.958] (II) Module glamoregl: vendor="X.Org Foundation"
> [ 1503.958] compiled for 1.18.3, module version = 0.6.0
> [ 1503.958] ABI class: X.Org ANSI C Emulation, version 0.4
> [ 1503.958] (II) glamor: OpenGL accelerated X.org driver based.
> [ 1504.023] (II) glamor: EGL version 1.4 (DRI2):
> [ 1504.023] (II) RADEON(0): glamor detected, initialising EGL layer.
> [ 1504.023] (II) RADEON(0): KMS Color Tiling: enabled
> [ 1504.023] (II) RADEON(0): KMS Color Tiling 2D: enabled
> [ 1504.024] (II) RADEON(0): KMS Pageflipping: enabled
> [ 1504.024] (II) RADEON(0): SwapBuffers wait for vsync: enabled
> [ 1504.024] (II) RADEON(0): Initializing outputs ...
> [ 1504.024] (II) RADEON(0): 0 crtcs needed for screen.
> [ 1504.024] (II) RADEON(0): Allocated crtc nr. 0 to this screen.
> [ 1504.024] (II) RADEON(0): Allocated crtc nr. 1 to this screen.
> [ 1504.024] (II) RADEON(0): Allocated crtc nr. 2 to this screen.
> [ 1504.024] (II) RADEON(0): Allocated crtc nr. 3 to this screen.
> [ 1504.024] (II) RADEON(0): Allocated crtc nr. 4 to this screen.
> [ 1504.024] (II) RADEON(0): Allocated crtc nr. 5 to this screen.
> [ 1504.024] (WW) RADEON(0): No outputs definitely connected, trying again...
> [ 1504.024] (WW) RADEON(0): Unable to find connected outputs -
> setting 1024x768 initial framebuffer
> [ 1504.024] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0)
> unless otherwise stated.
> [ 1504.024] (II) RADEON(0): mem size init: gart size :7fbcc000 vram
> size: s:100000000 visible:ff916000
> [ 1504.024] (==) RADEON(0): DPI set to (96, 96)
> [ 1504.024] (II) Loading sub module "ramdac"
> [ 1504.024] (II) LoadModule: "ramdac"
> [ 1504.024] (II) Module "ramdac" already built-in
> [ 1504.024] (EE) RADEON(0): No modes.
> [ 1504.024] (II) RADEON(0): RADEONFreeScreen
> [ 1504.024] (II) UnloadModule: "radeon"
> [ 1504.024] (II) UnloadSubModule: "glamoregl"
> [ 1504.024] (II) Unloading glamoregl
> [ 1504.024] (II) UnloadSubModule: "fb"
> [ 1504.024] (II) Unloading fb
> [ 1504.024] (EE) Screen(s) found, but none have a usable configuration.
> [ 1504.024] (EE)
> Fatal server error:
> [ 1504.024] (EE) no screens found(EE)
> [ 1504.024] (EE)
>
>
> Here is my /etc/X11/xorg.conf file:
>
>
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen 0 "Screen0" 0 0
> Inactive "Intel"
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "ServerFlags"
> Option "AutoAddDevices" "false"
> Option "AutoEnableDevices" "false"
> Option "AutoAddGPU" "false"
> EndSection
>
> Section "Files"
> ModulePath "/usr/lib64/xorg/modules"
> FontPath "/usr/share/fonts/X11/misc/"
> FontPath "/usr/share/fonts/X11/TTF/"
> FontPath "/usr/share/fonts/X11/OTF/"
> FontPath "/usr/share/fonts/X11/Type1/"
> FontPath "/usr/share/fonts/X11/100dpi/"
> FontPath "/usr/share/fonts/X11/75dpi/"
> EndSection
>
> Section "Module"
> Load "glx"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "evdev"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "synaptics"
> Option "Protocol" "auto"
> Option "Device" "/dev/input/mice"
> # Option "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Modes"
> Identifier "Modes0"
> ModeLine "1920x1080_60.0-V" 152.54 1920 2010 2070 2226
> 1080 1086 1095 1142 +Hsync -Vsync
> ModeLine "1920x1080_60.0-H" 172.78 1920 2040 2248 2576
> 1080 1081 1084 1118 -Hsync +Vsync
> ModeLine "1920x1080_40.0" 96.27 1920 1973 2008 2158
> 1080 1083 1088 1115 +Hsync -Vsync
> ModeLine "1400x1050_60.0" 122.00 1400 1488 1640 1880
> 1050 1052 1064 1082 +Hsync +Vsync
> ModeLine "1280x1024_60.0" 108.00 1280 1328 1440 1688
> 1024 1025 1028 1066 +Hsync +Vsync
> ModeLine "1280x960_60.0" 108.00 1280 1376 1488 1800
> 960 961 964 1000 +Hsync +Vsync
> ModeLine "1024x768_60.0" 65.00 1024 1048 1184 1344
> 768 771 777 806 -Hsync -Vsync
> ModeLine "800x600_60.3" 40.00 800 840 968 1056
> 600 601 605 628 +Hsync +Vsync
> ModeLine "800x600_56.2" 36.00 800 824 896 1024
> 600 601 603 625 +Hsync +Vsync
> ModeLine "640x480_59.9" 25.18 640 656 752 800
> 480 490 492 525 -Hsync -Vsync
> EndSection
>
> Section "Monitor"
> Identifier "Monitor0"
> VendorName "CLEVO"
> ModelName "LCD 1900x1080"
> # Option "DPMS" "true"
> UseModes "Modes0"
> Option "DefaultModes" "false"
> Option "PreferredMode" "1920x1080_60.0-H"
> Option "Primary" "true"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor1"
> VendorName "CLEVO"
> ModelName "LCD 1900x1080"
> Option "DPMS" "true"
> Option "Enabled" "false"
> EndSection
>
> Section "Device"
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> ### <percent>: "<f>%"
> ### [arg]: arg optional
> #Option "ShadowFB" # [<bool>]
> #Option "DefaultRefresh" # [<bool>]
> #Option "ModeSetClearScreen" # [<bool>]
> Identifier "Radeon"
> Driver "ati"
> Option "DRI" "3"
> Option "IgnoreEDID" "false"
> Option "UseEDID" "true"
> Option "CustomEDID" "eDP-1:/etc/X11/neptune_edid.bin"
> Screen 0
> BusID "PCI:1:0:0"
> EndSection
>
> Section "Device"
> Identifier "Intel"
> Driver "intel"
> Option "DRI" "3"
> Screen 1
> BusID "PCI:0:2:0"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Radeon"
> Monitor "Monitor0"
> Option "InitPrimary" "true"
> SubSection "Display"
> Viewport 0 0
> Depth 24
> Modes "1920x1080_60.0-H" "1920x1080_60.0-V"
> EndSubSection
> EndSection
>
> Section "Screen"
> Identifier "Screen1"
> Device "Intel"
> Monitor "Monitor1"
> SubSection "Display"
> Viewport 0 0
> Depth 24
> EndSubSection
> EndSection
>
> EOF
>
>
> The Modes come from the dumped modes under FGLRX :
> [ 13.875] (II) fglrx(0): Printing DDC gathered Modelines:
> [ 13.875] (II) fglrx(0): Modeline "1920x1080"x0.0 152.54 1920
> 2010 2070 2226 1080 1086 1095 1142 +hsync -vsync (68.5 kHz eP)
> [ 13.875] (II) fglrx(0): Modeline "1920x1080"x0.0 96.27 1920
> 1973 2008 2158 1080 1083 1088 1115 +hsync -vsync (44.6 kHz e)
> [ 13.934] (II) fglrx(0): Printing DDC gathered Modelines:
> [ 13.934] (II) fglrx(0): Modeline "1920x1080"x0.0 152.54 1920
> 2010 2070 2226 1080 1086 1095 1142 +hsync -vsync (68.5 kHz eP)
> [ 13.934] (II) fglrx(0): Modeline "1920x1080"x0.0 96.27 1920
> 1973 2008 2158 1080 1083 1088 1115 +hsync -vsync (44.6 kHz e)
> [ 14.645] (II) fglrx(0): Printing DDC gathered Modelines:
> [ 14.645] (II) fglrx(0): Modeline "1920x1080"x0.0 152.54 1920
> 2010 2070 2226 1080 1086 1095 1142 +hsync -vsync (68.5 kHz eP)
> [ 14.645] (II) fglrx(0): Modeline "1920x1080"x0.0 96.27 1920
> 1973 2008 2158 1080 1083 1088 1115 +hsync -vsync (44.6 kHz e)
> [ 43.817] (II) fglrx(0): Printing DDC gathered Modelines:
> [ 43.817] (II) fglrx(0): Modeline "1920x1080"x0.0 152.54 1920
> 2010 2070 2226 1080 1086 1095 1142 +hsync -vsync (68.5 kHz eP)
> [ 43.817] (II) fglrx(0): Modeline "1920x1080"x0.0 96.27 1920
> 1973 2008 2158 1080 1083 1088 1115 +hsync -vsync (44.6 kHz e)
> [ 43.839] (II) fglrx(0): Printing DDC gathered Modelines:
> [ 43.839] (II) fglrx(0): Modeline "1920x1080"x0.0 152.54 1920
> 2010 2070 2226 1080 1086 1095 1142 +hsync -vsync (68.5 kHz eP)
> [ 43.839] (II) fglrx(0): Modeline "1920x1080"x0.0 96.27 1920
> 1973 2008 2158 1080 1083 1088 1115 +hsync -vsync (44.6 kHz e)
> [ 44.212] (II) fglrx(0): Printing DDC gathered Modelines:
> [ 44.212] (II) fglrx(0): Modeline "1920x1080"x0.0 152.54 1920
> 2010 2070 2226 1080 1086 1095 1142 +hsync -vsync (68.5 kHz eP)
> [ 44.212] (II) fglrx(0): Modeline "1920x1080"x0.0 96.27 1920
> 1973 2008 2158 1080 1083 1088 1115 +hsync -vsync (44.6 kHz e)
> [ 44.874] (II) fglrx(0): Printing DDC gathered Modelines:
> [ 44.874] (II) fglrx(0): Modeline "1920x1080"x0.0 152.54 1920
> 2010 2070 2226 1080 1086 1095 1142 +hsync -vsync (68.5 kHz eP)
> [ 44.874] (II) fglrx(0): Modeline "1920x1080"x0.0 96.27 1920
> 1973 2008 2158 1080 1083 1088 1115 +hsync -vsync (44.6 kHz e)
>
>
> So why is the Xorg server quiting with "No modes." ?
> I have attempted to tell it what mode to use, and even
> provided it with a custom EDID containing the correct modes,
> and yet still it insists on probing for modes and fails to do so.
>
> I see these kernel dmesgs each time the above command sequence to do
> vga_swicheroo and start Xorg is run:
>
> [ 274.182788] i915: switched off
> [ 275.466825] ------------[ cut here ]------------
> [ 275.466854] WARNING: CPU: 0 PID: 4403 at
> drivers/gpu/drm/i915/intel_display.c:9475 hsw_enable_pc8+0x4f6/0x750()
> [ 275.466864] Power well on
> [ 275.466869] Modules linked in:
> [ 275.466881] CPU: 0 PID: 4403 Comm: bash Tainted: G W 4.5.0 #3
> [ 275.466889] Hardware name: Notebook P15SM
> /P15SM , BIOS 4.6.5
> 12/26/2013
> [ 275.466901] 0000000000000286 00000000ddcb0b11 ffff8804179dfc08
> ffffffff814d9550
> [ 275.466916] ffff8804179dfc50 ffffffff821be4f0 ffff8804179dfc40
> ffffffff810608b2
> [ 275.466929] ffff8800c89c0000 ffff880415003cf8 ffff880415003d08
> ffff880415003800
> [ 275.466943] Call Trace:
> [ 275.466957] [<ffffffff814d9550>] dump_stack+0x99/0xd9
> [ 275.466972] [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
> [ 275.466982] [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
> [ 275.466993] [<ffffffff818710e6>] hsw_enable_pc8+0x4f6/0x750
> [ 275.467007] [<ffffffff817efd8e>] intel_suspend_complete+0xee/0x720
> [ 275.467016] [<ffffffff817f03fd>] i915_drm_suspend_late+0x3d/0xe0
> [ 275.467026] [<ffffffff817f04ea>] i915_suspend_switcheroo+0x4a/0xb0
> [ 275.467039] [<ffffffff8173d817>] ? radeon_atpx_switchto+0x197/0x1b0
> [ 275.467053] [<ffffffff818adfc9>] i915_switcheroo_set_state+0x39/0x80
> [ 275.467065] [<ffffffff818db1b8>] vga_switchoff.part.2+0x18/0x40
> [ 275.467074] [<ffffffff818db2e4>] vga_switchto_stage2+0x104/0x110
> [ 275.467083] [<ffffffff818da459>] ? vga_set_default_device+0x29/0x40
> [ 275.467092] [<ffffffff818db689>] vga_switcheroo_debugfs_write+0x2e9/0x390
> [ 275.467107] [<ffffffff811f7115>] ? do_filp_open+0xa5/0x100
> [ 275.467118] [<ffffffff811e6507>] __vfs_write+0x37/0x120
> [ 275.467129] [<ffffffff810850e5>] ? preempt_count_sub+0xa5/0xf0
> [ 275.467140] [<ffffffff810a7626>] ? update_fast_ctr+0x46/0x70
> [ 275.467149] [<ffffffff810a7697>] ? percpu_down_read+0x17/0x50
> [ 275.467158] [<ffffffff811e6d89>] vfs_write+0xa9/0x1a0
> [ 275.467168] [<ffffffff811e7998>] SyS_write+0x58/0xd0
> [ 275.467179] [<ffffffff812050b3>] ? __close_fd+0xa3/0xd0
> [ 275.467194] [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
> [ 275.467218] ---[ end trace b1cc3f6a5140ca17 ]---
> [ 275.467229] ------------[ cut here ]------------
> [ 275.467241] WARNING: CPU: 0 PID: 4403 at
> drivers/gpu/drm/i915/intel_display.c:9486 hsw_enable_pc8+0x574/0x750()
> [ 275.467250] PCH PWM1 enabled
> [ 275.467254] Modules linked in:
> [ 275.467323] CPU: 0 PID: 4403 Comm: bash Tainted: G W 4.5.0 #3
> [ 275.467337] Hardware name: Notebook P15SM
> /P15SM , BIOS 4.6.5
> 12/26/2013
> [ 275.467347] 0000000000000286 00000000ddcb0b11 ffff8804179dfc08
> ffffffff814d9550
> [ 275.467361] ffff8804179dfc50 ffffffff821be4f0 ffff8804179dfc40
> ffffffff810608b2
> [ 275.467373] ffff8800c89c0000 ffff880415003cf8 ffff880415003d08
> ffff880415003800
> [ 275.467386] Call Trace:
> [ 275.467393] [<ffffffff814d9550>] dump_stack+0x99/0xd9
> [ 275.467403] [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
> [ 275.467413] [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
> [ 275.467424] [<ffffffff81871164>] hsw_enable_pc8+0x574/0x750
> [ 275.467433] [<ffffffff817efd8e>] intel_suspend_complete+0xee/0x720
> [ 275.467443] [<ffffffff817f03fd>] i915_drm_suspend_late+0x3d/0xe0
> [ 275.467452] [<ffffffff817f04ea>] i915_suspend_switcheroo+0x4a/0xb0
> [ 275.467463] [<ffffffff8173d817>] ? radeon_atpx_switchto+0x197/0x1b0
> [ 275.467473] [<ffffffff818adfc9>] i915_switcheroo_set_state+0x39/0x80
> [ 275.467483] [<ffffffff818db1b8>] vga_switchoff.part.2+0x18/0x40
> [ 275.467492] [<ffffffff818db2e4>] vga_switchto_stage2+0x104/0x110
> [ 275.467500] [<ffffffff818da459>] ? vga_set_default_device+0x29/0x40
> [ 275.467510] [<ffffffff818db689>] vga_switcheroo_debugfs_write+0x2e9/0x390
> [ 275.467521] [<ffffffff811f7115>] ? do_filp_open+0xa5/0x100
> [ 275.467531] [<ffffffff811e6507>] __vfs_write+0x37/0x120
> [ 275.467539] [<ffffffff810850e5>] ? preempt_count_sub+0xa5/0xf0
> [ 275.467548] [<ffffffff810a7626>] ? update_fast_ctr+0x46/0x70
> [ 275.467556] [<ffffffff810a7697>] ? percpu_down_read+0x17/0x50
> [ 275.467566] [<ffffffff811e6d89>] vfs_write+0xa9/0x1a0
> [ 275.467576] [<ffffffff811e7998>] SyS_write+0x58/0xd0
> [ 275.467585] [<ffffffff812050b3>] ? __close_fd+0xa3/0xd0
> [ 275.467596] [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
> [ 275.467605] ---[ end trace b1cc3f6a5140ca18 ]---
> [ 276.000207] [drm] probing gen 2 caps for device 8086:c01 = 261ad03/e
> [ 276.000213] [drm] PCIE gen 3 link speeds already enabled
> [ 276.003659] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
> [ 276.003765] radeon 0000:01:00.0: WB enabled
> [ 276.003768] radeon 0000:01:00.0: fence driver on ring 0 use gpu
> addr 0x0000000100000c00 and cpu addr 0xffff880414f02c00
> [ 276.003770] radeon 0000:01:00.0: fence driver on ring 1 use gpu
> addr 0x0000000100000c04 and cpu addr 0xffff880414f02c04
> [ 276.003772] radeon 0000:01:00.0: fence driver on ring 2 use gpu
> addr 0x0000000100000c08 and cpu addr 0xffff880414f02c08
> [ 276.003775] radeon 0000:01:00.0: fence driver on ring 3 use gpu
> addr 0x0000000100000c0c and cpu addr 0xffff880414f02c0c
> [ 276.003777] radeon 0000:01:00.0: fence driver on ring 4 use gpu
> addr 0x0000000100000c10 and cpu addr 0xffff880414f02c10
> [ 276.004150] radeon 0000:01:00.0: fence driver on ring 5 use gpu
> addr 0x0000000000075a18 and cpu addr 0xffffc90000435a18
> [ 276.024251] radeon 0000:01:00.0: fence driver on ring 6 use gpu
> addr 0x0000000100000c18 and cpu addr 0xffff880414f02c18
> [ 276.024254] radeon 0000:01:00.0: fence driver on ring 7 use gpu
> addr 0x0000000100000c1c and cpu addr 0xffff880414f02c1c
> [ 276.171575] [drm] ring test on 0 succeeded in 2 usecs
> [ 276.171579] [drm] ring test on 1 succeeded in 1 usecs
> [ 276.171583] [drm] ring test on 2 succeeded in 1 usecs
> [ 276.171589] [drm] ring test on 3 succeeded in 3 usecs
> [ 276.171595] [drm] ring test on 4 succeeded in 3 usecs
> [ 276.348661] [drm] ring test on 5 succeeded in 2 usecs
> [ 276.348665] [drm] UVD initialized successfully.
> [ 276.458706] [drm] ring test on 6 succeeded in 14 usecs
> [ 276.458719] [drm] ring test on 7 succeeded in 5 usecs
> [ 276.458720] [drm] VCE initialized successfully.
> [ 276.458780] f 0#2: signaled from fence_wait
> [ 276.458782] [drm] ib test on ring 0 succeeded in 0 usecs
> [ 276.458806] f 1#2: signaled from fence_wait
> [ 276.458809] [drm] ib test on ring 1 succeeded in 0 usecs
> [ 276.458833] f 2#2: signaled from fence_wait
> [ 276.458837] [drm] ib test on ring 2 succeeded in 0 usecs
> [ 276.458856] f 3#2: signaled from fence_wait
> [ 276.458857] [drm] ib test on ring 3 succeeded in 0 usecs
> [ 276.458875] f 4#2: signaled from fence_wait
> [ 276.458876] [drm] ib test on ring 4 succeeded in 0 usecs
> [ 277.110075] f 5#4: signaled from fence_wait
> [ 277.110081] [drm] ib test on ring 5 succeeded
> [ 277.611068] f 6#4: signaled from fence_wait
> [ 277.611074] [drm] ib test on ring 6 succeeded
> [ 278.112069] f 7#4: signaled from fence_wait
> [ 278.112075] [drm] ib test on ring 7 succeeded
> [ 278.179408] device: 'vcs4': device_add
> [ 278.179424] PM: Adding info for No Bus:vcs4
> [ 278.179536] device: 'vcsa4': device_add
> [ 278.179545] PM: Adding info for No Bus:vcsa4
> [ 284.285685] ACPI Error: No handler for Region [EC81]
> (ffff88041d8d9bd0) [EmbeddedControl] (20160108/evregion-166)
> [ 284.285690] ACPI Error: Region EmbeddedControl (ID=3) has no
> handler (20160108/exfldio-299)
> [ 284.285694] ACPI Error: Method parse/execution failed
> [\_SB.PCI0.PEG0.PEGP.SGOF] (Node ffff88041d8fca50), AE_NOT_EXIST
> (20160108/psparse-542)
> [ 284.285698] ACPI Error: Method parse/execution failed
> [\_SB.PCI0.PEG0.PEGP._OFF] (Node ffff88041d8fce88), AE_NOT_EXIST
> (20160108/psparse-542)
> [ 284.285701] ACPI Error: Method parse/execution failed
> [\_SB.PCI0.GFX0.ATPX] (Node ffff88041d9034b0), AE_NOT_EXIST
> (20160108/psparse-542)
> [ 284.285706] failed to evaluate ATPX got AE_NOT_EXIST
> [ 328.793402] [drm] probing gen 2 caps for device 8086:c01 = 261ad03/e
> [ 328.793409] [drm] PCIE gen 3 link speeds already enabled
> [ 328.798453] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
> [ 328.798608] radeon 0000:01:00.0: WB enabled
> [ 328.798612] radeon 0000:01:00.0: fence driver on ring 0 use gpu
> addr 0x0000000100000c00 and cpu addr 0xffff880414f02c00
> [ 328.798615] radeon 0000:01:00.0: fence driver on ring 1 use gpu
> addr 0x0000000100000c04 and cpu addr 0xffff880414f02c04
> [ 328.798617] radeon 0000:01:00.0: fence driver on ring 2 use gpu
> addr 0x0000000100000c08 and cpu addr 0xffff880414f02c08
> [ 328.798619] radeon 0000:01:00.0: fence driver on ring 3 use gpu
> addr 0x0000000100000c0c and cpu addr 0xffff880414f02c0c
> [ 328.798621] radeon 0000:01:00.0: fence driver on ring 4 use gpu
> addr 0x0000000100000c10 and cpu addr 0xffff880414f02c10
> [ 328.798991] radeon 0000:01:00.0: fence driver on ring 5 use gpu
> addr 0x0000000000075a18 and cpu addr 0xffffc90000435a18
> [ 328.819100] radeon 0000:01:00.0: fence driver on ring 6 use gpu
> addr 0x0000000100000c18 and cpu addr 0xffff880414f02c18
> [ 328.819102] radeon 0000:01:00.0: fence driver on ring 7 use gpu
> addr 0x0000000100000c1c and cpu addr 0xffff880414f02c1c
> [ 328.970232] [drm] ring test on 0 succeeded in 2 usecs
> [ 328.970236] [drm] ring test on 1 succeeded in 1 usecs
> [ 328.970239] [drm] ring test on 2 succeeded in 1 usecs
> [ 328.970245] [drm] ring test on 3 succeeded in 3 usecs
> [ 328.970250] [drm] ring test on 4 succeeded in 3 usecs
> [ 329.147318] [drm] ring test on 5 succeeded in 2 usecs
> [ 329.147321] [drm] UVD initialized successfully.
> [ 329.257363] [drm] ring test on 6 succeeded in 15 usecs
> [ 329.257372] [drm] ring test on 7 succeeded in 3 usecs
> [ 329.257373] [drm] VCE initialized successfully.
> [ 329.257410] f 0#3: signaled from fence_wait
> [ 329.257411] [drm] ib test on ring 0 succeeded in 0 usecs
> [ 329.257434] f 1#3: signaled from fence_wait
> [ 329.257437] [drm] ib test on ring 1 succeeded in 0 usecs
> [ 329.257485] f 2#3: signaled from fence_wait
> [ 329.257487] [drm] ib test on ring 2 succeeded in 0 usecs
> [ 329.257525] f 3#9: signaled from fence_wait
> [ 329.257526] [drm] ib test on ring 3 succeeded in 0 usecs
> [ 329.257543] f 4#3: signaled from fence_wait
> [ 329.257544] [drm] ib test on ring 4 succeeded in 0 usecs
> [ 329.909618] f 5#6: signaled from fence_wait
> [ 329.909630] [drm] ib test on ring 5 succeeded
> [ 330.410610] f 6#6: signaled from fence_wait
> [ 330.410622] [drm] ib test on ring 6 succeeded
> [ 330.911609] f 7#6: signaled from fence_wait
> [ 330.911621] [drm] ib test on ring 7 succeeded
> [ 331.185084] ------------[ cut here ]------------
> [ 331.185088] WARNING: CPU: 0 PID: 4406 at
> drivers/gpu/drm/i915/intel_pm.c:3646 ilk_update_wm+0x15a/0x160()
> [ 331.185089] WARN_ON(cstate->base.active != intel_crtc->active)
> [ 331.185089] Modules linked in:
> [ 331.185091] CPU: 0 PID: 4406 Comm: Xorg Tainted: G W 4.5.0 #3
> [ 331.185091] Hardware name: Notebook P15SM
> /P15SM , BIOS 4.6.5
> 12/26/2013
> [ 331.185093] 0000000000000286 00000000eb645194 ffff8804198177f8
> ffffffff814d9550
> [ 331.185094] ffff880419817840 ffffffff821b74d8 ffff880419817830
> ffffffff810608b2
> [ 331.185095] ffff8800c899a000 ffff8800c8b3d800 ffff8800c89c0000
> ffff8800c899a000
> [ 331.185096] Call Trace:
> [ 331.185099] [<ffffffff814d9550>] dump_stack+0x99/0xd9
> [ 331.185102] [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
> [ 331.185103] [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
> [ 331.185104] [<ffffffff817fefca>] ilk_update_wm+0x15a/0x160
> [ 331.185105] [<ffffffff81803e1e>] intel_update_watermarks+0x1e/0x20
> [ 331.185107] [<ffffffff8186abb1>] intel_pre_plane_update+0x71/0xb0
> [ 331.185108] [<ffffffff8186b667>] intel_atomic_commit+0x667/0x1870
> [ 331.185111] [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
> [ 331.185113] [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
> [ 331.185113] [<ffffffff81640d77>] ?
> drm_atomic_add_affected_connectors+0x27/0xf0
> [ 331.185114] [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
> [ 331.185117] [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
> [ 331.185118] [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
> [ 331.185119] [<ffffffff8161f083>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
> [ 331.185120] [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
> [ 331.185122] [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
> [ 331.185123] [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
> [ 331.185125] [<ffffffff81dd8168>] ? _raw_spin_unlock+0x18/0x30
> [ 331.185127] [<ffffffff811751d2>] ? free_pcppages_bulk+0x2a2/0x3b0
> [ 331.185129] [<ffffffff81200f58>] ? igrab+0x48/0x50
> [ 331.185131] [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
> [ 331.185133] [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
> [ 331.185136] [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
> [ 331.185138] [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
> [ 331.185139] [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
> [ 331.185141] [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
> [ 331.185142] [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
> [ 331.185143] [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
> [ 331.185144] [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
> [ 331.185145] [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
> [ 331.185147] [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
> [ 331.185148] [<ffffffff811e863e>] ? ____fput+0xe/0x10
> [ 331.185150] [<ffffffff8107d498>] ? task_work_run+0x78/0x90
> [ 331.185152] [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
> [ 331.185153] [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
> [ 331.185154] ---[ end trace b1cc3f6a5140ca19 ]---
> [ 331.185157] ------------[ cut here ]------------
> [ 331.185159] WARNING: CPU: 0 PID: 4406 at
> drivers/gpu/drm/i915/intel_uncore.c:599
> hsw_unclaimed_reg_debug+0x69/0x90()
> [ 331.185160] Unclaimed register detected before writing to register 0x4510c
> [ 331.185160] Modules linked in:
> [ 331.185161] CPU: 0 PID: 4406 Comm: Xorg Tainted: G W 4.5.0 #3
> [ 331.185161] Hardware name: Notebook P15SM
> /P15SM , BIOS 4.6.5
> 12/26/2013
> [ 331.185162] 0000000000000086 00000000eb645194 ffff880419817608
> ffffffff814d9550
> [ 331.185163] ffff880419817650 ffffffff821bce90 ffff880419817640
> ffffffff810608b2
> [ 331.185164] ffff8800c89c0000 ffff8800c89c0000 000000000004510c
> 0000000000000000
> [ 331.185164] Call Trace:
> [ 331.185165] [<ffffffff814d9550>] dump_stack+0x99/0xd9
> [ 331.185166] [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
> [ 331.185167] [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
> [ 331.185169] [<ffffffff81846589>] hsw_unclaimed_reg_debug+0x69/0x90
> [ 331.185170] [<ffffffff818494b2>] hsw_write32+0x82/0x1c0
> [ 331.185171] [<ffffffff817fbae5>] _ilk_disable_lp_wm+0xc5/0xd0
> [ 331.185171] [<ffffffff817fe9e6>] ilk_program_watermarks+0x4a6/0x930
> [ 331.185173] [<ffffffff817fefa4>] ilk_update_wm+0x134/0x160
> [ 331.185174] [<ffffffff81803e1e>] intel_update_watermarks+0x1e/0x20
> [ 331.185175] [<ffffffff8186abb1>] intel_pre_plane_update+0x71/0xb0
> [ 331.185176] [<ffffffff8186b667>] intel_atomic_commit+0x667/0x1870
> [ 331.185177] [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
> [ 331.185178] [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
> [ 331.185179] [<ffffffff81640d77>] ?
> drm_atomic_add_affected_connectors+0x27/0xf0
> [ 331.185180] [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
> [ 331.185181] [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
> [ 331.185181] [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
> [ 331.185183] [<ffffffff8161f083>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
> [ 331.185184] [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
> [ 331.185185] [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
> [ 331.185186] [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
> [ 331.185187] [<ffffffff81dd8168>] ? _raw_spin_unlock+0x18/0x30
> [ 331.185188] [<ffffffff811751d2>] ? free_pcppages_bulk+0x2a2/0x3b0
> [ 331.185189] [<ffffffff81200f58>] ? igrab+0x48/0x50
> [ 331.185190] [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
> [ 331.185192] [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
> [ 331.185193] [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
> [ 331.185194] [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
> [ 331.185195] [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
> [ 331.185196] [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
> [ 331.185197] [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
> [ 331.185198] [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
> [ 331.185198] [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
> [ 331.185199] [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
> [ 331.185200] [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
> [ 331.185202] [<ffffffff811e863e>] ? ____fput+0xe/0x10
> [ 331.185203] [<ffffffff8107d498>] ? task_work_run+0x78/0x90
> [ 331.185204] [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
> [ 331.185205] [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
> [ 331.185206] ---[ end trace b1cc3f6a5140ca1a ]---
> [ 331.185208] ------------[ cut here ]------------
> [ 331.185209] WARNING: CPU: 0 PID: 4406 at
> drivers/gpu/drm/i915/intel_sprite.c:104
> intel_pipe_update_start+0x30c/0x320()
> [ 331.185210] WARN_ON(drm_crtc_vblank_get(&crtc->base))
> [ 331.185210] Modules linked in:
> [ 331.185211] CPU: 0 PID: 4406 Comm: Xorg Tainted: G W 4.5.0 #3
> [ 331.185211] Hardware name: Notebook P15SM
> /P15SM , BIOS 4.6.5
> 12/26/2013
> [ 331.185212] 0000000000000086 00000000eb645194 ffff880419817750
> ffffffff814d9550
> [ 331.185213] ffff880419817798 ffffffff821c2c00 ffff880419817788
> ffffffff810608b2
> [ 331.185214] 0000000000000437 ffff8800c899a000 0000000000000431
> ffff880415003800
> [ 331.185215] Call Trace:
> [ 331.185215] [<ffffffff814d9550>] dump_stack+0x99/0xd9
> [ 331.185216] [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
> [ 331.185217] [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
> [ 331.185219] [<ffffffff81880a0c>] intel_pipe_update_start+0x30c/0x320
> [ 331.185221] [<ffffffff810a11c0>] ? wake_atomic_t_function+0x60/0x60
> [ 331.185222] [<ffffffff8185c90a>] intel_begin_crtc_commit+0x4a/0x1b0
> [ 331.185223] [<ffffffff8161bf2b>]
> drm_atomic_helper_commit_planes_on_crtc+0x5b/0x270
> [ 331.185224] [<ffffffff81803e1e>] ? intel_update_watermarks+0x1e/0x20
> [ 331.185225] [<ffffffff8186b76e>] intel_atomic_commit+0x76e/0x1870
> [ 331.185226] [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
> [ 331.185227] [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
> [ 331.185228] [<ffffffff81640d77>] ?
> drm_atomic_add_affected_connectors+0x27/0xf0
> [ 331.185229] [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
> [ 331.185230] [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
> [ 331.185230] [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
> [ 331.185232] [<ffffffff8161f083>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
> [ 331.185233] [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
> [ 331.185234] [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
> [ 331.185235] [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
> [ 331.185236] [<ffffffff81dd8168>] ? _raw_spin_unlock+0x18/0x30
> [ 331.185237] [<ffffffff811751d2>] ? free_pcppages_bulk+0x2a2/0x3b0
> [ 331.185237] [<ffffffff81200f58>] ? igrab+0x48/0x50
> [ 331.185239] [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
> [ 331.185240] [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
> [ 331.185242] [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
> [ 331.185243] [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
> [ 331.185244] [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
> [ 331.185245] [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
> [ 331.185245] [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
> [ 331.185246] [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
> [ 331.185247] [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
> [ 331.185248] [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
> [ 331.185249] [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
> [ 331.185250] [<ffffffff811e863e>] ? ____fput+0xe/0x10
> [ 331.185251] [<ffffffff8107d498>] ? task_work_run+0x78/0x90
> [ 331.185253] [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
> [ 331.185254] [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
> [ 331.185255] ---[ end trace b1cc3f6a5140ca1b ]---
> [ 331.185260] [drm:intel_pipe_update_end] *ERROR* Atomic update
> failure on pipe A (start=948 end=4294967295) time 325358875 us, min
> 1073, max 1079, scanline start 60, end 198
> [ 331.185261] ------------[ cut here ]------------
> [ 331.185262] WARNING: CPU: 0 PID: 4406 at
> drivers/gpu/drm/drm_irq.c:1320 drm_wait_one_vblank+0x177/0x1c0()
> [ 331.185263] vblank not available on crtc 0, ret=-22
> [ 331.185263] Modules linked in:
> [ 331.185264] CPU: 0 PID: 4406 Comm: Xorg Tainted: G W 4.5.0 #3
> [ 331.185264] Hardware name: Notebook P15SM
> /P15SM , BIOS 4.6.5
> 12/26/2013
> [ 331.185265] 0000000000000286 00000000eb645194 ffff8804198177f0
> ffffffff814d9550
> [ 331.185266] ffff880419817838 ffffffff8215da84 ffff880419817828
> ffffffff810608b2
> [ 331.185267] ffff880415003800 0000000000000000 ffff88041526f400
> ffff8800c899a000
> [ 331.185267] Call Trace:
> [ 331.185268] [<ffffffff814d9550>] dump_stack+0x99/0xd9
> [ 331.185269] [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
> [ 331.185270] [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
> [ 331.185271] [<ffffffff8162698c>] ? drm_vblank_get+0x7c/0xd0
> [ 331.185272] [<ffffffff81626be7>] drm_wait_one_vblank+0x177/0x1c0
> [ 331.185273] [<ffffffff8161c024>] ?
> drm_atomic_helper_commit_planes_on_crtc+0x154/0x270
> [ 331.185275] [<ffffffff8186b715>] intel_atomic_commit+0x715/0x1870
> [ 331.185276] [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
> [ 331.185276] [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
> [ 331.185277] [<ffffffff81640d77>] ?
> drm_atomic_add_affected_connectors+0x27/0xf0
> [ 331.185278] [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
> [ 331.185279] [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
> [ 331.185280] [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
> [ 331.185281] [<ffffffff8161f083>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
> [ 331.185282] [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
> [ 331.185283] [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
> [ 331.185284] [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
> [ 331.185285] [<ffffffff81dd8168>] ? _raw_spin_unlock+0x18/0x30
> [ 331.185286] [<ffffffff811751d2>] ? free_pcppages_bulk+0x2a2/0x3b0
> [ 331.185287] [<ffffffff81200f58>] ? igrab+0x48/0x50
> [ 331.185288] [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
> [ 331.185290] [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
> [ 331.185291] [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
> [ 331.185292] [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
> [ 331.185293] [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
> [ 331.185294] [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
> [ 331.185295] [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
> [ 331.185295] [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
> [ 331.185296] [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
> [ 331.185297] [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
> [ 331.185298] [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
> [ 331.185300] [<ffffffff811e863e>] ? ____fput+0xe/0x10
> [ 331.185301] [<ffffffff8107d498>] ? task_work_run+0x78/0x90
> [ 331.185302] [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
> [ 331.185303] [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
> [ 331.185304] ---[ end trace b1cc3f6a5140ca1c ]---
> [ 331.185305] ------------[ cut here ]------------
> [ 331.185306] WARNING: CPU: 0 PID: 4406 at
> drivers/gpu/drm/i915/intel_pm.c:3646 ilk_update_wm+0x15a/0x160()
> [ 331.185307] WARN_ON(cstate->base.active != intel_crtc->active)
> [ 331.185307] Modules linked in:
> [ 331.185307] CPU: 0 PID: 4406 Comm: Xorg Tainted: G W 4.5.0 #3
> [ 331.185308] Hardware name: Notebook P15SM
> /P15SM , BIOS 4.6.5
> 12/26/2013
> [ 331.185309] 0000000000000286 00000000eb645194 ffff880419817820
> ffffffff814d9550
> [ 331.185310] ffff880419817868 ffffffff821b74d8 ffff880419817858
> ffffffff810608b2
> [ 331.185311] ffff8800c899a000 ffff8800c8b3d800 ffff8800c89c0000
> ffff8800c899a000
> [ 331.185311] Call Trace:
> [ 331.185312] [<ffffffff814d9550>] dump_stack+0x99/0xd9
> [ 331.185313] [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
> [ 331.185314] [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
> [ 331.185315] [<ffffffff8187930a>] ? intel_frontbuffer_flush+0x6a/0x80
> [ 331.185316] [<ffffffff817fefca>] ilk_update_wm+0x15a/0x160
> [ 331.185316] [<ffffffff81803e1e>] intel_update_watermarks+0x1e/0x20
> [ 331.185318] [<ffffffff8186b77b>] intel_atomic_commit+0x77b/0x1870
> [ 331.185319] [<ffffffff81dd5d8e>] ? __ww_mutex_lock+0xe/0x10
> [ 331.185319] [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
> [ 331.185320] [<ffffffff81640d77>] ?
> drm_atomic_add_affected_connectors+0x27/0xf0
> [ 331.185321] [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
> [ 331.185322] [<ffffffff8161ce3f>] restore_fbdev_mode+0x22f/0x260
> [ 331.185323] [<ffffffff8163f57a>] ? drm_modeset_lock_all_ctx+0x9a/0xb0
> [ 331.185324] [<ffffffff8161f083>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80
> [ 331.185325] [<ffffffff8161f0fd>] drm_fb_helper_set_par+0x2d/0x50
> [ 331.185326] [<ffffffff81882f7a>] intel_fbdev_set_par+0x1a/0x60
> [ 331.185327] [<ffffffff8154c4ab>] fb_set_var+0x24b/0x460
> [ 331.185328] [<ffffffff81dd8168>] ? _raw_spin_unlock+0x18/0x30
> [ 331.185329] [<ffffffff811751d2>] ? free_pcppages_bulk+0x2a2/0x3b0
> [ 331.185330] [<ffffffff81200f58>] ? igrab+0x48/0x50
> [ 331.185331] [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
> [ 331.185333] [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
> [ 331.185334] [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
> [ 331.185336] [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
> [ 331.185336] [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
> [ 331.185337] [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
> [ 331.185338] [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
> [ 331.185339] [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
> [ 331.185339] [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
> [ 331.185340] [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
> [ 331.185342] [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
> [ 331.185343] [<ffffffff811e863e>] ? ____fput+0xe/0x10
> [ 331.185344] [<ffffffff8107d498>] ? task_work_run+0x78/0x90
> [ 331.185345] [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
> [ 331.185346] [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
> [ 331.185347] ---[ end trace b1cc3f6a5140ca1d ]---
> [ 331.185350] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo
> underrun on pipe A
> [ 331.185352] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo
> underrun on pipe B
> [ 331.185353] [drm:intel_check_cpu_fifo_underruns] *ERROR* fifo
> underrun on pipe C
> [ 331.185367] ------------[ cut here ]------------
> [ 331.185368] WARNING: CPU: 0 PID: 4406 at
> drivers/gpu/drm/i915/intel_sprite.c:104
> intel_pipe_update_start+0x30c/0x320()
> [ 331.185369] WARN_ON(drm_crtc_vblank_get(&crtc->base))
> [ 331.185369] Modules linked in:
> [ 331.185370] CPU: 0 PID: 4406 Comm: Xorg Tainted: G W 4.5.0 #3
> [ 331.185370] Hardware name: Notebook P15SM
> /P15SM , BIOS 4.6.5
> 12/26/2013
> [ 331.185371] 0000000000000086 00000000eb645194 ffff880419817768
> ffffffff814d9550
> [ 331.185372] ffff8804198177b0 ffffffff821c2c00 ffff8804198177a0
> ffffffff810608b2
> [ 331.185373] 0000000000000437 ffff8800c899a000 0000000000000431
> ffff880415003800
> [ 331.185373] Call Trace:
> [ 331.185374] [<ffffffff814d9550>] dump_stack+0x99/0xd9
> [ 331.185375] [<ffffffff810608b2>] warn_slowpath_common+0x82/0xc0
> [ 331.185376] [<ffffffff8106094c>] warn_slowpath_fmt+0x5c/0x80
> [ 331.185377] [<ffffffff81880a0c>] intel_pipe_update_start+0x30c/0x320
> [ 331.185379] [<ffffffff810a11c0>] ? wake_atomic_t_function+0x60/0x60
> [ 331.185380] [<ffffffff8185c90a>] intel_begin_crtc_commit+0x4a/0x1b0
> [ 331.185381] [<ffffffff8161bf2b>]
> drm_atomic_helper_commit_planes_on_crtc+0x5b/0x270
> [ 331.185382] [<ffffffff8186b76e>] intel_atomic_commit+0x76e/0x1870
> [ 331.185383] [<ffffffff816404c2>] ? drm_atomic_check_only+0x192/0x620
> [ 331.185384] [<ffffffff81640d77>] ?
> drm_atomic_add_affected_connectors+0x27/0xf0
> [ 331.185385] [<ffffffff81640987>] drm_atomic_commit+0x37/0x60
> [ 331.185386] [<ffffffff8161df27>] drm_fb_helper_pan_display+0x1e7/0x250
> [ 331.185387] [<ffffffff81882eba>] intel_fbdev_pan_display+0x1a/0x60
> [ 331.185388] [<ffffffff8154be3b>] fb_pan_display+0xdb/0x170
> [ 331.185389] [<ffffffff8154c4c7>] fb_set_var+0x267/0x460
> [ 331.185390] [<ffffffff81dd8168>] ? _raw_spin_unlock+0x18/0x30
> [ 331.185391] [<ffffffff811751d2>] ? free_pcppages_bulk+0x2a2/0x3b0
> [ 331.185392] [<ffffffff81200f58>] ? igrab+0x48/0x50
> [ 331.185393] [<ffffffff813b09d4>] ? btrfs_get_token_32+0x104/0x120
> [ 331.185395] [<ffffffff81545cb6>] fbcon_blank+0x366/0x3b0
> [ 331.185396] [<ffffffff815e16e3>] do_unblank_screen+0xc3/0x190
> [ 331.185398] [<ffffffff815d780a>] vt_ioctl+0x50a/0x12e0
> [ 331.185398] [<ffffffff811cc509>] ? kmem_cache_free+0x1f9/0x200
> [ 331.185399] [<ffffffff81b9718f>] ? sock_destroy_inode+0x2f/0x40
> [ 331.185400] [<ffffffff815cb001>] tty_ioctl+0x361/0xc40
> [ 331.185401] [<ffffffff811fd86e>] ? dentry_free+0x4e/0x90
> [ 331.185402] [<ffffffff811fe73d>] ? __dentry_kill+0x14d/0x1d0
> [ 331.185402] [<ffffffff812074ac>] ? mntput_no_expire+0x2c/0x1b0
> [ 331.185404] [<ffffffff811fa2a1>] do_vfs_ioctl+0xa1/0x5b0
> [ 331.185405] [<ffffffff811e863e>] ? ____fput+0xe/0x10
> [ 331.185406] [<ffffffff8107d498>] ? task_work_run+0x78/0x90
> [ 331.185408] [<ffffffff811fa829>] SyS_ioctl+0x79/0x90
> [ 331.185409] [<ffffffff81dd89ae>] entry_SYSCALL_64_fastpath+0x12/0x6d
> [ 331.185410] ---[ end trace b1cc3f6a5140ca1e ]---
> [ 331.185414] [drm:intel_pipe_update_end] *ERROR* Atomic update
> failure on pipe A (start=948 end=4294967295) time 325359029 us, min
> 1073, max 1079, scanline start 60, end 198
> [ 331.186766] Xorg (4406) used greatest stack depth: 12016 bytes left
> [ 331.186838] i915: switched on
> [ 331.606319] i2c i2c-9: master_xfer[0] W, addr=0x50, len=1
> [ 331.606321] i2c i2c-9: master_xfer[1] R, addr=0x50, len=1
> [ 337.272281] ACPI Error: No handler for Region [EC81]
> (ffff88041d8d9bd0) [EmbeddedControl] (20160108/evregion-166)
> [ 337.272916] ACPI Error: Region EmbeddedControl (ID=3) has no
> handler (20160108/exfldio-299)
> [ 337.273556] ACPI Error: Method parse/execution failed
> [\_SB.PCI0.PEG0.PEGP.SGOF] (Node ffff88041d8fca50), AE_NOT_EXIST
> (20160108/psparse-542)
> [ 337.274236] ACPI Error: Method parse/execution failed
> [\_SB.PCI0.PEG0.PEGP._OFF] (Node ffff88041d8fce88), AE_NOT_EXIST
> (20160108/psparse-542)
> [ 337.274910] ACPI Error: Method parse/execution failed
> [\_SB.PCI0.GFX0.ATPX] (Node ffff88041d9034b0), AE_NOT_EXIST
> (20160108/psparse-542)
> [ 337.275600] failed to evaluate ATPX got AE_NOT_EXIST
>
>
> Any ideas how to convince XServer that my Radeon card is connected to the LCD
> in the above scenario ?
There is no LCD connected to your radeon card; it's attached to the
intel GPU. The radeon GPU is only used for offscreen rendering. You
need to use the xserver PRIME features to utilize the radeon card.
See:
https://wiki.archlinux.org/index.php/PRIME
Alex
>
> Gee, I really wish there was:
> o an xorg.conf option to disable probing and just use supplied modes
> o an Xorg command line option to specify display connector - eg :
> $ Xorg :0 vt7 eDP-1:
> the new last 'eDP-1:' argument would cause it ONLY to look at display
> on DRM connector named eDP-1
>
> Please help, this problem is driving me (more :-) nuts!
> Thanks & Regards,
> Jason
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
More information about the xorg
mailing list