You are not logged in.

#1 2014-03-22 20:55:38

12eason
Banned
Registered: 2010-07-20
Posts: 103

[solved] No outputs on second graphics card

I'm sure this is really obvious and I'm just overlooking it. Radeon OS driver with integrated HD4200 and dedicated HD6870 (motherboard supports them both on together). They show up on lspci:

lspci | grep VGA
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870]

They get detected by xinit, and all the monitors are visible:

 
cat /var/log/Xorg.0.log | grep "Setup complete"
[    29.191] (II) RADEON(G0): [DRI2] Setup complete
[    29.217] (II) RADEON(0): [DRI2] Setup complete
cat /var/log/Xorg.0.log | grep "Monitor name"
[    29.059] (II) RADEON(0): Monitor name: VE248
[    29.093] (II) RADEON(0): Monitor name: VE710b
[    29.182] (II) RADEON(G0): Monitor name: Acer AL1916W

Xrandr sees them as independent providers

xrandr --listproviders        
Providers: number : 2
Provider 0: id: 0x9f cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:radeon
Provider 1: id: 0x53 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 2 associated providers: 0 name:radeon

..and yet X seems to stop short of setting up the HD4200, and none of the outputs are available in Xrandr:

cat /var/log/Xorg.0.log | grep  Output         
[    28.897] (II) RADEON(0): Output DisplayPort-0 has no monitor section
[    28.956] (II) RADEON(0): Output HDMI-0 has no monitor section
[    28.958] (II) RADEON(0): Output DVI-1 has no monitor section
[    28.988] (II) RADEON(0): Output DVI-0 has no monitor section
[    29.093] (II) RADEON(0): Output DisplayPort-0 disconnected
[    29.093] (II) RADEON(0): Output HDMI-0 connected
[    29.093] (II) RADEON(0): Output DVI-1 disconnected
[    29.093] (II) RADEON(0): Output DVI-0 connected
[    29.093] (II) RADEON(0): Output HDMI-0 using initial mode 1280x1024
[    29.093] (II) RADEON(0): Output DVI-0 using initial mode 1280x1024
[    29.149] (II) RADEON(G0): Output VGA-1-0 has no monitor section
[    29.152] (II) RADEON(G0): Output DVI-1-0 has no monitor section
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080      60.0*+   50.0     59.9     60.0  ...
DVI-1 disconnected (normal left inverted right x axis y axis)
DVI-0 connected (normal left inverted right x axis y axis)
   1280x1024      60.0 +   75.0  ...

Any ideas?

edit: turns out the fix is

xrandr --setprovideroutputsource 1 0

Seems to me it should simply be the default behaviour to make one provider the primary.

Last edited by 12eason (2014-03-23 12:40:54)

Offline

Board footer

Powered by FluxBB