← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Dual GPU

 

An update...

I also have Sony Vaio VPCZ21.

I have just installed Linux Mint 16 Petra (using cinnamon) and can now work
with my laptop monitor and an external monitor on the docking station
without having to setup an xorg.conf. It just worked out of the box - if I
boot with the docking station plugged in to the laptop.

I have only tested VGA on the docking station and Laptop LCD on the laptop,
but I can get the usual extended display.

The X server detects and loads the intel and the radeon driver. The Xserver
configures itself so the Intel chip is the display manager, but I do get a
nice unified dual head display.


"glxinfo | grep renderer" shows:

OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile

Furthermore, I can use xrandr to configure the radeon as an offload render
for the intel graphics card:

    xrandr --setprovideroffloadsink 0x47 0x80

glxinfo









On 27 November 2013 23:23, Gyhor <gyhor@xxxxxx> wrote:

> Hi,
>
> I have a sony vpc-z21 with a dockingstation. Two external display are
> connected
> with the dockingstation and there is gnome-shell running. On the internal
> display i have only a gnome-terminal running.
>
>
> My xorg.conf is
>
> Section "Monitor"
>   Identifier   "LeftMonitor"
> EndSection
>
> Section "Monitor"
>   Identifier   "RightMonitor"
> EndSection
>
> Section "Device"
>   Identifier "radeon"
>   Driver "radeon"
>   BusID "PCI:22:00:0"
>   Option "AccelMethod" "EXA"
>   Option "AccelDFS"    "True"
> EndSection
>
> Section "Device"
>   Identifier "intel"
>   Driver "intel"
>   BusID "PCI:00:02:0"
> EndSection
>
> Section "Screen"
>   Identifier "LeftScreen"
>   Device "radeon"
>   Monitor "LeftMonitor"
> EndSection
>
> Section "Screen"
>   Identifier "RightScreen"
>   Device "intel"
>   Monitor "RightMonitor"
> EndSection
>
> Section "ServerLayout"
>   Identifier     "My X Server"
> #  Option      "Xinerama" "on"
> #  Option      "Clone" "off"
>   Screen      0  "LeftScreen" 0 0
>   Screen      1  "RightScreen" RightOf "LeftScreen"
> EndSection
>
> -------------------------------
> But is not possible to move windows from the external monitors to the
> internal
> display. You have to set the DISPLAY variable for the internal display.
> For example i have a gnome-terminal on the internal display running:
> DISPLAY=:0.1 gnome-terminal  -e "bash -c \"tail -f /var/log/Xorg.0.log
> /var/log/kern.log ~/.xsession-errors;exec bash \"" &
>
>
> regards
> gyhor
>
>
> Am 27.11.2013 12:58, schrieb diego fanesi:
> > Hi,
> > I was able to turn on KDE on both screen but I can't use the second
> > monitor, meaning I can see the wallpaper in both but I can't visualize
> > a window in the second monitor in any way.
> > I tried to use Xinerama and then it is possible to drag a window in
> > the second monitor but it is still not visualized: when the window
> > should appear in the second monitor it doesn't and the window
> > disappear.
> >
> > Xrandr supports multi-providers and you can use also xrandr
> > --listproviders but in my case it will show only one provider in any
> > case, which is the provider that is working with the main monitor,
> > according to your configuration on xorg. The main monitor can be the
> > laptop monitor or the radeon monitor, but then anyway the other one is
> > still not working properly.
> >
> > I read here that someone was able to have it working and I also
> > followed their instruction but the results are the same. Maybe they
> > have a different hardware.
> >
> > Good luck
> >
> > 2013/11/27 Olivier Francoeur <ofrancoeur@xxxxxxxxx>:
> >> Aloha,
> >> Has anyone been successful in using both the onboard intel, and external
> >> radeon (PMD) GPUs?
> >> My personnal  experience was that I could at best have the laptop screen
> >> turned on, but not displaying any graphical interface.
> >> I have been reading that randr is now better at using multi gpu, but my
> >> limited skills have not borne fruit.
> >>
> >> Cheers.
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~sony-vaio-z-series
> >> Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~sony-vaio-z-series
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~sony-vaio-z-series
> > Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~sony-vaio-z-series
> > More help   : https://help.launchpad.net/ListHelp
> >
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~sony-vaio-z-series
> Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~sony-vaio-z-series
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References