All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor
@ 2017-11-07 19:05 bugzilla-daemon
  2017-11-07 19:23 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-11-07 19:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1697 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=103613

            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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3112 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor
  2017-11-07 19:05 [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor bugzilla-daemon
@ 2017-11-07 19:23 ` bugzilla-daemon
  2017-11-07 20:06 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-11-07 19:23 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 531 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=103613

--- Comment #1 from EoD <EoD@xmw.de> ---
I also tried using modesetting instead of the other drivers and

Enabling the monitor...

- works, when I set driver=modesetting on the both cards via an xorg.conf
- works, when I set driver=modesetting on the intel card only.
- works, when I set driver=modesetting on the amd card only, but according to
listproviders, both cards use modesetting.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1384 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor
  2017-11-07 19:05 [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor bugzilla-daemon
  2017-11-07 19:23 ` bugzilla-daemon
@ 2017-11-07 20:06 ` bugzilla-daemon
  2017-11-07 20:54 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-11-07 20:06 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 614 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=103613

--- Comment #2 from EoD <EoD@xmw.de> ---
On request from IRC, I also tried using UXA instead of SNA with the intel
driver.

It does not crash anymore, but when I try to enable the 2nd monitor, I get a
"xrandr: Configure crtc 6 failed" and the following output in the Xorg.log:

[  1537.831] randr: falling back to unsynchronized pixmap sharing
[  1537.831] randr: failed to set shadow slave pixmap
[  1537.831] (EE) intel(G0): failed to set mode: No space left on device

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1477 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor
  2017-11-07 19:05 [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor bugzilla-daemon
  2017-11-07 19:23 ` bugzilla-daemon
  2017-11-07 20:06 ` bugzilla-daemon
@ 2017-11-07 20:54 ` bugzilla-daemon
  2017-11-08  9:33 ` bugzilla-daemon
  2017-11-08  9:34 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-11-07 20:54 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 300 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=103613

--- Comment #3 from EoD <EoD@xmw.de> ---
Created attachment 135291
  --> https://bugs.freedesktop.org/attachment.cgi?id=135291&action=edit
GDBs Backtrace with -O0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1291 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor
  2017-11-07 19:05 [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-11-07 20:54 ` bugzilla-daemon
@ 2017-11-08  9:33 ` bugzilla-daemon
  2017-11-08  9:34 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-11-08  9:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 387 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=103613

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
Created attachment 135295
  --> https://bugs.freedesktop.org/attachment.cgi?id=135295&action=edit
Use the correct ScrnInfoPtr in redisplay_dirty

Does this xf86-video-amdgpu patch fix it?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1529 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor
  2017-11-07 19:05 [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-11-08  9:33 ` bugzilla-daemon
@ 2017-11-08  9:34 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-11-08  9:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 689 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=103613

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|dri-devel@lists.freedesktop |xorg-driver-ati@lists.x.org
                   |.org                        |
            Product|DRI                         |xorg
          Component|DRM/AMDgpu                  |Driver/AMDgpu
            Version|DRI git                     |git
         QA Contact|                            |xorg-team@lists.x.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1889 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-08  9:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-07 19:05 [Bug 103613] Reverse Prime with intel/amdgpu causes segfault in glamor_block_handler when enabling monitor bugzilla-daemon
2017-11-07 19:23 ` bugzilla-daemon
2017-11-07 20:06 ` bugzilla-daemon
2017-11-07 20:54 ` bugzilla-daemon
2017-11-08  9:33 ` bugzilla-daemon
2017-11-08  9:34 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.