You are not logged in.

#1 2011-11-13 22:59:50

ianhoolihan
Member
Registered: 2011-08-20
Posts: 85

[Solved] Larger Virtual Screen with xorg.conf

Hi all,

I am getting my Thinkpad X40 up an running with Arch, and I'm trying to get two monitors working at the same time. Without any edits, the system automatically detects the extra screen, and (using lxrandr since I'm using LXDE), I can easily clone my screens.

However, I want to split the screens. Using xrandr, I can split them vertically

 xrandr --output VGA1 --above LVDS1 

but not horizontally as the virtual screen is too small:

 xrandr --output VGA1 --auto --left-of LVDS1
xrandr: screen cannot be larger than 2048x2048 (desired size 2304x1024) 

So I have tried to edit xorg.conf. Here is my complete xorg.conf file (note the commented out option I tried):

Section "Screen"
  Identifier          "Screen0"
  Device              "Card0"
    Monitor             "Monitor0"
    DefaultDepth       24
    SubSection "Display"
      Modes           "1280x800"
      Virtual          4096 4096
    EndSubSection
EndSection

#Section "Device"
#  Identifier     "Intel 855GM"
#  Driver         "intel"
#  Option         "monitor-LVDS" "lvds_screen"
#  Option        "monitor-VGA" "vga_screen"
#EndSection

#Section "Monitor"
#  Identifier     "lvds_screen"
#  Option         "Primary"    "True"
#EndSection

#Section "Monitor"
#  Identifier     "vga_screen"
#EndSection


#Section "Screen"
#  Identifier          "Default Screen"
#  Device              "Intel 855GM"
#    Monitor           "lvds_screen"
#    DefaultDepth       24
#    SubSection "Display"
#      Modes           "1280x800"
#      Virtual          2304 1024
#    EndSubSection
#EndSection
 

However when I try to "startx" with this xorg.conf, I get

[ 14404.010] failed to add fb
[ 14404.010] 
Fatal server error:
[ 14404.010] AddScreen/ScreenInit failed for driver 0
[ 14404.010] 
[ 14404.010] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 14404.010] Please also check the log file at "/var/log/Xorg.0.log" for additional information. 

and my x session will not start. I'm sorry for asking such a trivial question, but does anyone know what I've done wrong in my xorg.conf file?

Cheers,

Ianhoolihan

Last edited by ianhoolihan (2011-11-22 02:13:27)

Offline

#2 2011-11-13 23:54:38

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [Solved] Larger Virtual Screen with xorg.conf

I haven't messed with this in awhile, but here is what I used:

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    Subsection "Display"
            Depth    24
	    Modes    "1400x1050" "1024x768" "800x600"
            # Here you can set virtual screen size:
            Virtual 2800 1050
    EndSubsection
EndSection

See if this is any help:
http://www.thinkwiki.org/wiki/Xorg_Rand … ual_screen

Offline

#3 2011-11-22 02:12:43

ianhoolihan
Member
Registered: 2011-08-20
Posts: 85

Re: [Solved] Larger Virtual Screen with xorg.conf

OK, it seems that my driver does not support any larger than 2048x2048...so this can't be fixed. I put the screens one above the other, as a workaround. Cheers

Offline

Board footer

Powered by FluxBB