You are not logged in.
Pages: 1
Hi,
I'm at my wits end a little here and hope someone can help me.
For the last wo day i have been trying to get both my monitors to work in xorg on Arch but it stubbornly will only use one
My setup, I have an R9 280X GAMING 3G connected via DVI to one monitor this is the primary monitor
My AMD A10-7850K provides an R7 which is connected again via DVI to another monitor and this is the seconday
This worked perfecty as a multihead in Ubuntu and still does if I boot from a live usb
drivers, I have xf86-video-ati installed together with mesa-libgl, full ouput of lspci -v is here exerpt below
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics] (prog-if 00 [VGA controller])
Subsystem: ASRock Incorporation Device 130f
Flags: bus master, fast devsel, latency 0, IRQ 51
Memory at b0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=8M]
I/O ports at f000 [size=256]
Memory at feb00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at feb40000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 2775
Flags: bus master, fast devsel, latency 0, IRQ 53
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at fea00000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=256]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon, amdgpuIf I run x-server without an xorg.conf I only get a display on the primary monitor, the secondary remains in standby
If I autogenerate an xorg.conf and run with that I get a display on the secondary monitor, the primary monitor powers on and I can move my mouse pointer there. I can even launch applications there using DISPLAY=:0.1 gedit BUT the window manager will not detect it.
The xorg.conf generated does indeed list both cards and montitors. Line for line it is identical to one I generated from a live ubuntu usb
xrandr in both instances reports:
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 16384 x 16384
DVI-0 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 433mm x 271mm
1680x1050 59.95*+
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.91
1152x864 75.00
1280x720 60.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
VGA-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x56 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:KAVERI @ pci:0000:00:01.0I initially install Arch via arch-anywhere (please don't hit me!) and installed desktop etc from there and that's where the problem first arose.
Last night I nuked that and installed properly from the current ISO. I only installed enough to be able to startx and the extact same issue persists which seems to discount issues with display manager etc
My xorg.conf is available here
And my latest Xorg.0.log is available here
What am I doing wrong?
Last edited by remmagell (2017-03-11 13:41:18)
Offline
Solved, finally!
Removed xf86-video-ati and installed xf86-video-amdgpu-git (xf86-video-amdgpu may well work however I'm now frightened to change anything)
Deleted xorg.conf and 10-radeon.conf from the xorg.conf.d folder.
Updated /etc/mkinitcpio.conf Modules line to: MODULES="amdgpu" and ran: mkinitcpio -p linux then rebooted
xrandr --listproviders then gave me:
Providers: number : 2
Provider 0: id: 0x9e cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:AMD Radeon HD 7900 Series @ pci:0000:01:00.0
Provider 1: id: 0x56 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Unknown AMD Radeon GPU @ pci:0000:00:01.0So I used the command:
xrandr --setprovideroutputsource 0x56 0x9eand did not get any errors.
Being a complete novice with xrandar I cheated and used arandar gui to enable and activate my second monitor then cried happy tears of joy when it worked!
Used arandar to produce a script:
#!/bin/sh
xrandr --output DisplayPort-1 --off --output DisplayPort-0 --off --output DVI-D-1-0 --primary --mode 1680x1050 --pos 1680x0 --rotate normal --output VGA-1-0 --off --output HDMI-A-1-0 --off --output DVI-I-0 --mode 1680x1050 --pos 0x0 --rotate normal --output HDMI-A-1 --offAmended slightly to:
#!/bin/sh
xrandr --setprovideroutputsource 0x56 0x9e && xrandr --output DisplayPort-1 --off --output DisplayPort-0 --off --output DVI-D-1-0 --primary --mode 1680x1050 --pos 1680x0 --rotate normal --output VGA-1-0 --off --output HDMI-A-1-0 --off --output DVI-I-0 --mode 1680x1050 --pos 0x0 --rotate normal --output HDMI-A-1 --offI now just need to set that up to run automatically
Last edited by remmagell (2017-03-11 16:51:47)
Offline
Pages: 1