<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Multiple cards with modesetting results in Segmentation Fault"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109680">109680</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Multiple cards with modesetting results in Segmentation Fault
</td>
</tr>
<tr>
<th>Product</th>
<td>xorg
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver/AMDgpu
</td>
</tr>
<tr>
<th>Assignee</th>
<td>xorg-driver-ati@lists.x.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ToBeReplaced@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>xorg-team@lists.x.org
</td>
</tr></table>
<p>
<div>
<pre>I am attempting to use modesetting with the following two devices, one AGPU,
one Graphics Card. Both cards are working fine if the configuration is modified
to omit the other.
10:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Caicos PRO [Radeon HD 7450] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 212f
Flags: bus master, fast devsel, latency 0, IRQ 320
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at fe920000 (64-bit, non-prefetchable) [size=128K]
I/O ports at f000 [size=256]
Expansion ROM at fe900000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: radeon
Kernel modules: radeon
38:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven
Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8) (prog-if 00
[VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon
Vega Series / Radeon Vega Mobile Series]
Flags: bus master, fast devsel, latency 0, IRQ 57
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=2M]
I/O ports at d000 [size=256]
Memory at fe400000 (32-bit, non-prefetchable) [size=512K]
Expansion ROM at <unassigned> [disabled]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/4 Maskable- 64bit+
Capabilities: [c0] MSI-X: Enable- Count=3 Masked-
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
Capabilities: [200] #15
Capabilities: [270] #19
Capabilities: [2a0] Access Control Services
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Capabilities: [320] Latency Tolerance Reporting
Kernel driver in use: amdgpu
Kernel modules: amdgpu
Configuration:
Section "ServerLayout"
Identifier "Example"
Screen 0 "A"
Screen 1 "B"
EndSection
Section "Device"
Identifier "A Card"
Driver "modesetting"
Screen 0
BusID "PCI:16@0:0:0"
Option "kmsdev" "/dev/dri/card1"
Option "Monitor-DVI-D-1"
EndSection
Section "Monitor"
Identifier "A Monitor"
EndSection
Section "Screen"
Identifier "A"
Device "A Card"
Monitor "A Monitor"
EndSection
Section "Device"
Identifier "B Card"
Driver "modesetting"
Screen 1
BusID "PCI:56@0:0:0"
Option "kmsdev" "/dev/dri/card0"
Option "Monitor-HDMI-1"
EndSection
Section "Monitor"
Identifier "B Monitor"
EndSection
Section "Screen"
Identifier "B"
Device "B Card"
Monitor "B Monitor"
EndSection
Xorg.log.0:
X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
[430291.775] Build Operating System: 3.10.0-693.17.1.el7.x86_64
[430291.775] Current Operating System: Linux localhost.localdomain
3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64
[430291.775] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-957.5.1.el7.x86_64
root=/dev/mapper/centos_localhost-root ro crashkernel=auto
rd.lvm.lv=centos_localhost/root rd.lvm.lv=centos_localhost/swap rhgb qui
et
[430291.776] Build Date: 29 January 2019 06:03:26PM
[430291.776] Build ID: xorg-x11-server 1.20.1-5.2.el7_6
[430291.776] Current version of pixman: 0.34.0
[430291.776] Before reporting problems, check <a href="http://wiki.x.org">http://wiki.x.org</a>
to make sure that you have the latest version.
[430291.776] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[430291.776] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 19 15:00:00
2019
[430291.776] (++) Using config directory: "/usr/local/lib/x11test/xorg.conf.d"
[430291.776] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[430291.776] (==) ServerLayout "Example"
[430291.776] (**) |-->Screen "A" (0)
[430291.776] (**) | |-->Monitor "A Monitor"
[430291.777] (**) | |-->Device "A Card"
[430291.777] (**) |-->Screen "B" (1)
[430291.777] (**) | |-->Monitor "B Monitor"
[430291.777] (**) | |-->Device "B Card"
[430291.777] (==) Automatically adding devices
[430291.777] (==) Automatically enabling devices
[430291.777] (==) Automatically adding GPU devices
[430291.777] (==) Automatically binding GPU devices
[430291.777] (==) Max clients allowed: 256, resource mask: 0x1fffff
[430291.777] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[430291.777] (==) ModulePath set to "/usr/lib64/xorg/modules"
[430291.777] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[430291.777] (II) Loader magic: 0x55c6783ce020
[430291.777] (II) Module ABI versions:
[430291.777] X.Org ANSI C Emulation: 0.4
[430291.777] X.Org Video Driver: 24.0
[430291.777] X.Org XInput driver : 24.1
[430291.777] X.Org Server Extension : 10.0
[430291.778] (II) xfree86: Adding drm device (/dev/dri/card1)
[430291.778] (II) Platform probe for
/sys/devices/pci0000:00/0000:00:01.1/0000:10:00.0/drm/card1
[430291.778] (II) Platform PCI device at pci:0000:00:01.1
[430291.778] (II) xfree86: Adding drm device (/dev/dri/card0)
[430291.778] (II) Platform probe for
/sys/devices/pci0000:00/0000:00:08.1/0000:38:00.0/drm/card0
[430291.778] (II) Platform PCI device at pci:0000:00:08.1
[430291.786] (--) PCI: (16@0:0:0) 1002:677b:1462:212f rev 0, Mem @
0xe0000000/268435456, 0xfe920000/131072, I/O @ 0x0000f000/256, BIOS @
0x????????/131072
[430291.786] (--) PCI:*(56@0:0:0) 1002:15dd:1002:15dd rev 200, Mem @
0xc0000000/268435456, 0xd0000000/2097152, 0xfe400000/524288, I/O @
0x0000d000/256, BIOS @ 0x????????/131072
[430291.786] (II) LoadModule: "glx"
[430291.786] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[430291.788] (II) Module glx: vendor="X.Org Foundation"
[430291.788] compiled for 1.20.1, module version = 1.0.0
[430291.788] ABI class: X.Org Server Extension, version 10.0
[430291.788] (II) LoadModule: "modesetting"
[430291.788] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[430291.788] (II) Module modesetting: vendor="X.Org Foundation"
[430291.788] compiled for 1.20.1, module version = 1.20.1
[430291.788] Module class: X.Org Video Driver
[430291.788] ABI class: X.Org Video Driver, version 24.0
[430291.788] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[430291.788] (--) using VT number 1
[430291.788] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[430291.788] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[430291.788] (**) modeset(0): claimed PCI slot 16@0:0:0
[430291.788] (II) modeset(0): using /dev/dri/card1
[430291.788] (EE)
[430291.788] (EE) Backtrace:
[430291.788] (EE) 0: /usr/bin/X (xorg_backtrace+0x55) [0x55c678140185]
[430291.788] (EE) 1: /usr/bin/X (0x55c677f8f000+0x1b4e09) [0x55c678143e09]
[430291.788] (EE) 2: /lib64/libpthread.so.0 (0x7ff8de11e000+0xf5d0)
[0x7ff8de12d5d0]
[430291.788] (EE) 3: /usr/lib64/xorg/modules/drivers/modesetting_drv.so
(0x7ff8da31d000+0xa144) [0x7ff8da327144]
[430291.788] (EE) 4: /usr/bin/X (0x55c677f8f000+0xb0049) [0x55c67803f049]
[430291.788] (EE) 5: /usr/bin/X (xf86CallDriverProbe+0x4b) [0x55c67801e00b]
[430291.788] (EE) 6: /usr/bin/X (xf86BusConfig+0x46) [0x55c67801e966]
[430291.788] (EE) 7: /usr/bin/X (InitOutput+0x8ac) [0x55c67802bf0c]
[430291.789] (EE) 8: /usr/bin/X (0x55c677f8f000+0x601b0) [0x55c677fef1b0]
[430291.789] (EE) 9: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7ff8ddd733d5]
[430291.789] (EE) 10: /usr/bin/X (0x55c677f8f000+0x4a4ce) [0x55c677fd94ce]
[430291.789] (EE)
[430291.789] (EE) Segmentation fault at address 0x2ba
[430291.789] (EE)
Fatal server error:
[430291.789] (EE) Caught signal 11 (Segmentation fault). Server aborting
[430291.789] (EE)
[430291.789] (EE)
Please consult the The X.Org Foundation support
at <a href="http://wiki.x.org">http://wiki.x.org</a>
for help.
[430291.789] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[430291.789] (EE)
[430291.789] (EE) Server terminated with error (1). Closing log file.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>