LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2009, 04:12 PM   #1
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 133

Rep: Reputation: 16
change resolution problem


Hi gurus I have notebook with connected external monitor. output of my xrandr looks like

Code:
Screen 0: minimum 320 x 200, current 2960 x 1050, maximum 2960 x 1050
VGA connected 1680x1050+1280+0 (normal left inverted right x axis y axis) 478mm x 300mm
   1680x1050      60.0*+
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     59.9  
   720x400        70.1  
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       60.0*+
TV disconnected (normal left inverted right x axis y axis)
xorg.conf
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	#Option		"Xinerama" "true"	# toto zakomentovat ak nepojde
EndSection

Section "ServerFlags"
	Option       "DontZap" "false" #aktivacia ctrl alt backspace
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load  "dri2"
	Load  "record"
	Load  "dbe"
	Load  "extmod"
	Load  "glx"	#toto bolo tu defaultne, malo by to zvisit vykon podla cvut
	Load  "dri"	#bolo defaultne malo by zvysit vykon podla cvut
	Load  "GLcore"	#dopisoval som na zvisenie vykonu podla cvut
EndSection

Section "DRI"
	Mode 0666
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

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

Section "Monitor"
	Identifier   "LVDS"
	VendorName   "FujitsuSiemens"
	ModelName    "Monitor Model"
	Option "Enable" "false"
EndSection

Section "Monitor"
	Identifier   "VGA"
	VendorName   "IIYAMA"
	ModelName    "Monitor Model"
	Option "RightOf" "LVDS"
	Option "Enable" "false"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	Option "Enable" "true"
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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
	BusID       "PCI:0:2:0"
	Option      "AccelMethod" "xaa"		#vykon tuxradar
	#Option      "MigrationHeuristic" "greedy"	#vykon tuxradae
	#Option      "TripleBuffer" "true"		#vykon tuxradar
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Virtual    2960 1050
	EndSubSection
EndSection
lspci | grep VGA
Code:
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
How can I change notebook (LVDS) resolution to 1024x768 and why Is not this resolution supported ???
So far i tried
Code:
xrandr --output LVDS -s 1024x768
but it just turn of/on external monitor and nothing happens. Also tried
Code:
xrandr --newmode "1024x768" 63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
with the same effect and getting error "BadName (named color or font does not exist)"

I am running xubuntu thank you
 
Old 10-04-2009, 05:10 PM   #2
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 133

Original Poster
Rep: Reputation: 16
Hi I discovered new things... also if I want change resolution on external monitor did not work with
Code:
xrandr --output VGA -s 1024x768
. when I tried add new mode with
Code:
xrandr --addmode LVDS 1024x768
seems OK (i saw it on xrandr output) but if I type
Code:
xrandr --output LVDS -s 1024x768
to switch to it, nothing happens. Also tried
Code:
xrandr --output LVDS --fb 1024x768
but that turned off my external monitor and screwed notebook monitor, so I have to type
Code:
xrandr --output VGA --off --output LVDS --auto
. And everything seems slower. Something must be wrong flash videos is laging and graphic seems too slow. I have read everything that i found about dualhead and resolution but i am confused. I am very disapointed and I dont know what else to do ? Please help

Last edited by wakatana; 10-04-2009 at 05:14 PM.
 
Old 10-08-2009, 04:57 PM   #3
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 133

Original Poster
Rep: Reputation: 16
nobody ?
 
Old 10-08-2009, 05:14 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
replace your xorg.conf with
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	#Option		"Xinerama" "true"	# toto zakomentovat ak nepojde
EndSection

Section "ServerFlags"
	Option       "DontZap" "false" #aktivacia ctrl alt backspace
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load  "dri2"
	Load  "record"
	Load  "dbe"
	Load  "extmod"
	Load  "glx"	#toto bolo tu defaultne, malo by to zvisit vykon podla cvut
	Load  "dri"	#bolo defaultne malo by zvysit vykon podla cvut
	Load  "GLcore"	#dopisoval som na zvisenie vykonu podla cvut
EndSection

Section "DRI"
	Mode 0666
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

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

Section "Monitor"
	Identifier   "LVDS"
	VendorName   "FujitsuSiemens"
	ModelName    "Monitor Model"
	Option "Enable" "false"
EndSection

Section "Monitor"
	Identifier   "VGA"
	VendorName   "IIYAMA"
	ModelName    "Monitor Model"
	Option "RightOf" "LVDS"
	Option "Enable" "false"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	Option "Enable" "true"
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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
	BusID       "PCI:0:2:0"
	Option      "AccelMethod" "xaa"		#vykon tuxradar
	#Option      "MigrationHeuristic" "greedy"	#vykon tuxradae
	#Option      "TripleBuffer" "true"		#vykon tuxradar
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
        SubSection "Display"
        Viewport 0 0
        Depth 16
        Virtual 1024 768
        EndSubSection
        SubSection "Display"
        Viewport 0 0
        Depth 24
        Virtual 1024 768
        EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Virtual    2960 1050
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Virtual    2960 1050
	EndSubSection
EndSection
 
Old 10-09-2009, 04:09 PM   #5
wakatana
Member
 
Registered: Jul 2009
Location: Slovakia
Posts: 133

Original Poster
Rep: Reputation: 16
Thanks for reply, but if I use your xorg.conf I have only external monitor with maximum resolution 1024x768. I would like two monitors (dualhead) and setting up resolution independent

Code:
marek@cepi:~$ xrandr 
xrandr: Output LVDS is not disconnected but has no modes
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 768
VGA connected 1024x768+0+0 (normal left inverted right x axis y axis) 478mm x 300mm
   1024x768       75.0*    70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     59.9  
   720x400        70.1  
LVDS connected (normal left inverted right x axis y axis)
TV disconnected (normal left inverted right x axis y axis)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolution Change Problem MrDiaz Linux - Hardware 2 05-16-2006 02:11 AM
Text Resolution, Graphic resolution. Change from prompt dlublink SUSE / openSUSE 2 01-28-2005 11:50 AM
resolution change problem with Redhat 9.0(Shrike) and NVIDIA alagenchev Red Hat 1 10-25-2004 07:24 PM
change resolution Longinus Linux - Newbie 4 12-13-2003 02:11 PM
how to change resolution ? black Linux - Newbie 14 11-27-2003 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration