You are not logged in.

#1 2016-01-27 20:53:23

sinoseque
Member
Registered: 2016-01-27
Posts: 7

[SOLVED] cant get extended desktop with intel + radeon cards on xorg

Hi guys,

i am not able to get what i want... i have 2 graphic cards and i want to get 1 extended desktop with 2 screens, i have tried ... without xorg.conf, and ... with some options in a xorg.conf but i have failed sad

my lspi | grep VGA output:

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290]

if i start xorg without any xorg.conf file and i execute xrandr -q i get:

Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*
   1152x864      75.00 
   1024x768      75.08    70.07    60.00 
   800x600       72.19    75.00    60.32    56.25 
   640x480       75.00    72.81    60.00 
   720x400       70.08 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

and xrandr --listproviders output:

Providers: number : 2
Provider 0: id: 0x96 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 0 name:Intel
Provider 1: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:radeon

it shows 2 cards, but only the first one is working sad

if i use this xorg.conf i get 2 screens up, but it works as separate desktops, i cant drag windows between them:

Section "ServerLayout"
        Identifier     "Main Layout"
        Screen      0  "screen0"
        Screen      1  "screen1" RightOf "Screen0"
EndSection

Section "Device"
        Identifier  "radeon"
        Driver      "radeon"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        Identifier      "intel"
        Driver          "intel"
        BusID           "PCI:0:2:0"
EndSection

Section "Monitor"
        Identifier "mintel"
        Option          "PreferredMode" "1280x1024"
        Option          "Position" "1920 0"
        Option          "Primary" "true"
EndSection

Section "Monitor"
        Identifier      "mradeon"
        Option          "PreferredMode" "1920x1080"
        Option          "Position" "0 0"
EndSection

Section "Screen"
        Identifier      "screen0"
        Device          "radeon"
        Monitor         "mradeon"
EndSection

Section "Screen"
        Identifier      "screen1"
        Device          "intel"
        Monitor         "mintel"
EndSection

and with this xorg.conf if i execute xrandr -q in the screen of radeon device i get:

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 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
DVI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 475mm x 267mm
   1920x1080     60.00*+
   1680x1050     59.88 
   1280x1024     75.02    60.02 
   1440x900      59.90 
   1280x960      60.00 
   1280x800      59.91 
   1152x864      75.00 
   1280x720      60.00 
   1024x768      75.08    70.07    60.00 
   832x624       74.55 
   800x600       72.19    75.00    60.32    56.25 
   640x480       75.00    66.67    60.00 
   720x400       70.08

and xrandr --listproviders shows:

Providers: number : 1
Provider 0: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:radeon

as u can imagin, if i do same in the other screen, i get the output of intel device:

xrandr -q
Screen 1: minimum 8 x 8, current 3200 x 1024, maximum 32767 x 32767
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 connected primary 1280x1024+1920+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+
   1152x864      75.00 
   1024x768      75.08    70.07    60.00 
   800x600       72.19    75.00    60.32    56.25 
   640x480       75.00    72.81    60.00 
   720x400       70.08 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x96 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 0 name:Intel

... i dont know what to do to solve this, driver version and xorg-server are:

Nombre                  : xf86-video-ati
Versión                 : 1:7.6.1-1

Nombre                  : xf86-video-intel
Versión                 : 1:2.99.917+519+g8229390-1

Nombre                  : xorg-server
Versión                 : 1.18.0-4

I would be very grateful if someone can give me some help.

thx in advance.

---------------------------

THX BOTH ConnorBehan and Lone_Wolf!!!!

IT WORKS with:

xrandr --setprovideroutputsource radeon Intel
xrandr --output DVI-1-1 --auto --left-of VGA1

Last edited by sinoseque (2016-01-28 13:34:35)

Offline

#2 2016-01-27 22:07:24

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

Welcome to Arch. Creating two screens in xorg.conf is not the way to go, because as you say, they will not be connected. Another thread suggests the command "xrandr --setprovideroutputsource 0 1" but I haven't tried this.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#3 2016-01-27 22:10:34

sinoseque
Member
Registered: 2016-01-27
Posts: 7

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

thx ConnorBehan, i have tried it, but when i do it, nothing happens :_(

Offline

#4 2016-01-27 22:40:37

sinoseque
Member
Registered: 2016-01-27
Posts: 7

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

sorry, something happens... X crashes!!!! sad

Offline

#5 2016-01-28 00:06:09

sinoseque
Member
Registered: 2016-01-27
Posts: 7

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

I have seen these lines in xorg.log when i try "xrandr --setprovideroutputsource 0 1"

[    30.678] (II) Loading sub module "fbdevhw"
[    30.678] (II) LoadModule: "fbdevhw"
[    30.678] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    30.678] (II) Module fbdevhw: vendor="X.Org Foundation"
[    30.678]    compiled for 1.18.0, module version = 0.0.2
[    30.678]    ABI class: X.Org Video Driver, version 20.0
[    30.678] (EE) open /dev/fb0: Permission denied
[    30.678] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    30.679] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600
[    30.679] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads

i have tried start X as root but same problem sad

Offline

#6 2016-01-28 00:16:05

sinoseque
Member
Registered: 2016-01-27
Posts: 7

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

i have tried with Xwrapper.config

allowed_users=anybody
needs_root_rights=yes

but still doesn't work.

Offline

#7 2016-01-28 09:53:24

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,552

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

[    30.678] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support

that message can usually be ignored.


You'll have to use xrandr to setup the screens also, Check the PRIME wiki page, section "Reverse Prime"


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2016-01-28 10:38:39

sinoseque
Member
Registered: 2016-01-27
Posts: 7

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

Thx Lone_wolf i though prime was about hybrid cards. But it seems what u say. I have to test it. Thx again.

Offline

#9 2016-01-28 13:33:35

sinoseque
Member
Registered: 2016-01-27
Posts: 7

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

THX BOTH ConnorBehan and Lone_Wolf!!!!

IT WORKS with:

xrandr --setprovideroutputsource radeon Intel
xrandr --output DVI-1-1 --auto --left-of VGA1

Offline

#10 2016-01-29 13:18:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,552

Re: [SOLVED] cant get extended desktop with intel + radeon cards on xorg

Glad it works now.

PRIME indeed has to do with hybrid graphics, but every system with an integrated AND a discrete videocard IS a hybrid graphics system.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB