From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor Date: Tue, 07 Nov 2017 19:05:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1498675492==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 8756F6E2C1 for ; Tue, 7 Nov 2017 19:05:30 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1498675492== Content-Type: multipart/alternative; boundary="15100815300.DB8716.985"; charset="UTF-8" --15100815300.DB8716.985 Date: Tue, 7 Nov 2017 19:05:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D103613 Bug ID: 103613 Summary: Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: EoD@xmw.de I have a discrete AMD card (Tonga) using amdgpu and an iGPU (Skylake/HD530) using the intel driver. I enabled DRI3 on both devices, but xrandr only shows the outputs/monitors = of the AMD card. When I use "xrandr --setprovideroutputsource 1 0" everything is still fine, xrandr shows now all outputs/monitors. When I try to enable the monitor connected to the iGPU via "xrandr --output HDMI3 --auto" the x-server segfaults with the following backtrace: #0 0x00007fdffdd2334d in glamor_block_handler () from /usr/lib64/xorg/modules/libglamoregl.so #1 0x00007fe00d639f8b in amdgpu_glamor_flush () from /usr/lib64/xorg/modules/drivers/amdgpu_drv.so #2 0x00007fe00d62df23 in redisplay_dirty () from /usr/lib64/xorg/modules/drivers/amdgpu_drv.so #3 0x00007fe00d62f728 in AMDGPUBlockHandler_KMS () from /usr/lib64/xorg/modules/drivers/amdgpu_drv.so #4 0x000000000043a27f in BlockHandler () #5 0x0000000000587ac3 in WaitForSomething () Here are further details, including the Xorg.log and the used configs: https://gist.github.com/EoD/c1c4f2b4afde2d0523e9ea8bb1567452 --=20 You are receiving this mail because: You are the assignee for the bug.= --15100815300.DB8716.985 Date: Tue, 7 Nov 2017 19:05:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 103613
Summary Reverse Prime with intel/amdgpu causes segfault in glamor_blo= ck_handler when enabling monitor
Product DRI
Version DRI git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter EoD@xmw.de

I have a discrete AMD card (Tonga) using amdgpu and an iGPU (S=
kylake/HD530)
using the intel driver.

I enabled DRI3 on both devices, but xrandr only shows the outputs/monitors =
of
the AMD card.

When I use "xrandr --setprovideroutputsource 1 0" everything is s=
till fine,
xrandr shows now all outputs/monitors.

When I try to enable the monitor connected to the iGPU via "xrandr --o=
utput
HDMI3 --auto" the x-server segfaults with the following backtrace:

#0  0x00007fdffdd2334d in glamor_block_handler () from
/usr/lib64/xorg/modules/libglamoregl.so
#1  0x00007fe00d639f8b in amdgpu_glamor_flush () from
/usr/lib64/xorg/modules/drivers/amdgpu_drv.so
#2  0x00007fe00d62df23 in redisplay_dirty () from
/usr/lib64/xorg/modules/drivers/amdgpu_drv.so
#3  0x00007fe00d62f728 in AMDGPUBlockHandler_KMS () from
/usr/lib64/xorg/modules/drivers/amdgpu_drv.so
#4  0x000000000043a27f in BlockHandler ()
#5  0x0000000000587ac3 in WaitForSomething ()

Here are further details, including the Xorg.log and the used configs:
ht=
tps://gist.github.com/EoD/c1c4f2b4afde2d0523e9ea8bb1567452


You are receiving this mail because:
  • You are the assignee for the bug.
= --15100815300.DB8716.985-- --===============1498675492== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1498675492==--