Skip to contentSkip to conversation

New: X crash when using xrandr with R9 290X and 7870 for triple head

Bug 77835 [email protected] 1 participant 10 messages Apr 23, 2014 – Jan 18, 2016

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 77835
Assignee: [email protected]
Summary: X crash when using xrandr with R9 290X and 7870 for
triple head
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: DRM/Radeon
Product: DRI

Created attachment 97831
--> https://bugs.freedesktop.org/attachment.cgi?id=97831&action=edit
Xorg log of crash

I'm trying to get a system with a R9 290X and a HD 7870 GHz Edition working. If I use the cards independently everything works fine under X (the 7870 works with glamor acceleration and the R9 290X without acceleration) but the problem is to get them working together with single X. Attached is my Xorg.0.log and the dmesg output. I'm using the following cards:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT [Radeon HD 8970]
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition]

Steps to reproduce this issue:

#1 startx
#2 xrandr --output DVI-0 --primary
#3 xrandr --output HDMI-1 --right-of DVI-0
#4 xrandr --setprovideroutputsource 1 0
#5 xrandr --output HDMI-1-0 --mode 1920x1080 --right-of HDMI-1

Right now X is crashed with the following:

(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x584b08]
(EE) 1: /usr/bin/X (0x400000+0x1887f9) [0x5887f9]
(EE) 2: /usr/lib/libpthread.so.0 (0x7f2a182c8000+0xf880) [0x7f2a182d7880] (EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting (EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 4790 requests (4790 known processed) with 9 events remaining.
xinit: connection to X server lost

The system is running Arch Linux with the following configuration:

ati-dri 10.1.1
glamor-egl 0.6.0
libdrm 2.4.53
linux 3.14.1
linux-firmware 20140316.dec41bc
mesa 10.1.1
mesa-libgl 10.1.1
xf86-video-ati 7.3.0
xorg-server 1.15.1

Does anybody has a hint what I could try next? Also what is needed to get acceleration working. I tried it with "NoAccel" "False" and "AccelMethod" "glamor" but it just freezes my X on startup. :)

--Maik

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

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

--- Comment #1 from Maik Broemme <[email protected]> --- Created attachment 97832
--> https://bugs.freedesktop.org/attachment.cgi?id=97832&action=edit
boot log with drm:radeon_atom_get_leakage_vddc_based_on_leakage_params error

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

In reply to [email protected]

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

Maik Broemme <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|major |critical

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

In reply to [email protected]

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

--- Comment #2 from Alex Deucher <[email protected]> --- Acceleration is not currently stable on Hawaii cards (R9 290) so it is disabled by default.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

In reply to [email protected]

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

--- Comment #3 from Maik Broemme <[email protected]> ---
This was my experience too but even without acceleration of the R9 290X the X server crashes when using both cards.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

In reply to [email protected]

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

--- Comment #4 from Maik Broemme <[email protected]> ---
Alex, I've tried 3.15-rc2 and your new ucode files from
http://people.freedesktop.org/~agd5f/radeon_ucode/ for both cards now, but still no luck with xrandr and both cards. Firmware is correctly loaded. Same crash.

[   21.174824] [drm] initializing kernel modesetting (HAWAII 0x1002:0x67B0
0x174B:0xE285).
[   21.436057] [drm] Loading HAWAII Microcode
[   21.442757] [drm] radeon/HAWAII_mc2.bin: 32364 bytes
[   21.698816] [drm] initializing kernel modesetting (PITCAIRN 0x1002:0x6818
0x1682:0x3251).
[   21.699439] [drm] Loading PITCAIRN Microcode
[   21.701027] [drm] radeon/PITCAIRN_mc2.bin: 31100 bytes
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

In reply to [email protected]

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

--- Comment #5 from Michel Dänzer <[email protected]> ---
Does this still happen with current versions of xf86-video-ati and xserver? If so, can you get a gdb backtrace of the crash? See
http://wiki.x.org/wiki/Development/Documentation/ServerDebugging/ .

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

In reply to [email protected]

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

--- Comment #6 from Greg Turner <[email protected]> ---
This looks like bug 79531. Mr. Broemme, if, by any chance, you are still able to repro this problem, check out the patches in that bug, and let us know if they fix the problem for you.

And, no need to repeat yourself Michel, I know I still owe the mailing list a respin of that patch -- I didn't give up, just procrastinated.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

In reply to [email protected]

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

--- Comment #7 from Maik Broemme <[email protected]> --- I can't reproduce it anymore as I don't have the cards anymore.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 77835] X crash when using xrandr with R9 290X and 7870 for triple head

In reply to [email protected]

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

Michel D�nzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #8 from Michel D�nzer <[email protected]> --- Resolving per comment 7.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel