b019 [Solved] Two Screens And Xrandr - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Mobile Computing

Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

Reply
 
Thread Tools Display Modes
  #1  
Old June 10th, 2011, 16:51
heavenboy heavenboy is offline
Junior Member
 
Join Date: Jun 2011
Location: France
Posts: 31
Thanks: 4
Thanked 0 Times in 0 Posts
Default Two Screens And Xrandr

Hello,

I have a Sony laptop and I would like to commute my screen to another one (an external monitor). I have studied a lot of posts on this subject but not one works on my laptop.

Let me show you my /etc/X11/xorg.conf:

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen         "Screen0"
#	Screen		0	"Screen0" 
	Screen 			"Screen1" RightOf "Screen0" 
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

#Section "ServerFlags"
#	Option 			"Xinerama" "1"
#EndSection

Section "Files"
	ModulePath   "/usr/local/lib/xorg/modules"
	FontPath     "/usr/local/lib/X11/fonts/misc/"
	FontPath     "/usr/local/lib/X11/fonts/TTF/"
	FontPath     "/usr/local/lib/X11/fonts/OTF"
	FontPath     "/usr/local/lib/X11/fonts/Type1/"
	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "dri2"
	Load  "extmod"
	Load  "glx"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Option "XkbLayout" "fr"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
#	HorizSync    30-107
#	VertRefresh  48-120
	Option		 "DPMS"
EndSection

Section "Monitor"
	Identifier   "MonitorVGA"
	VendorName   "HYUNDAI"
	ModelName    "HYUNDAI Model"
	Option		 "DPMS"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
        #Option     "ModeSetClearScreen" 	# [<bool>]
	Identifier  "Card0"
	Driver      "vesa"
	VendorName  "Intel Corporation"
	BoardName   "Core Processor Integrated Graphics Controller"
#	Screen 		0
	BusID       "PCI:0:2:0"
	Option 		"Monitor-VGA" "MonitorVGA"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes	  "1024x768"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card0"
	Monitor    "MonitorVGA"
	SubSection "Display"
		Depth     24
		Modes	  "1024x768"
	EndSubSection
EndSection
And now the output of the xrandr command:

# xrandr -q

Code:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768        0.0* 
   800x600        61.0
I would appreciate if someone has any suggestions for me.

Thank you.

Last edited by DutchDaemon; June 12th, 2011 at 02:19.
Reply With Quote
  #2  
Old June 10th, 2011, 22:33
adamk adamk is online now
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

A) Neither xrandr nor separate screens will work properly with the vesa driver.
B) xrandr won't work to drive separate screens even if you weren't using the vesa driver.

Adam
Reply With Quote
The Following User Says Thank You to adamk For This Useful Post:
heavenboy (June 11th, 2011)
  #3  
Old June 11th, 2011, 08:05
heavenboy heavenboy is offline
Junior Member
 
Join Date: Jun 2011
Location: France
Posts: 31
Thanks: 4
Thanked 0 Times in 0 Posts
Default

That's why I can't manage to do that. Thank you.
Reply With Quote
Reply

Tags
screen, xorg, xrandr

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Monitors - xrandr error QuinRiva X.Org 7 March 19th, 2013 08:35
Recomended Touch Screens mosburn Peripheral Hardware 2 September 15th, 2010 14:15
xrandr on laptop with second monitor gpatrick Other Window Managers 5 April 16th, 2010 05:19
[Solved] X yet again. No screens found (XFree86) withoutn X.Org 6 August 15th, 2009 06:09
Xorg, no devices detected, no screens found sidney6 X.Org 4 May 19th, 2009 22:27


All times are GMT +1. The time now is 10:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0