LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-14-2008, 07:54 AM   #1
godis
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Screen resolution in KDE - Gentoo *SOLVED*


I need some help with how to set the screen resolution when i start KDE.

Inside KDE i can only choose 800x600

In Grub.conf i have tried both:
video=uvesafb:mtrr:3,ywrap,1024x768-32@60
and:
vga=0x318 video=vesafb:mtrr:3,ywrap

My graphics card is a S3 Savage ( IBM Thinkpad laptop )
How do i know if Gentoo has found the correct card at all ?

Any tips pointing me in the right direction would be most appreciated.

xorg.conf

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

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

Section "Module"
	Load  "extmod"
	Load  "GLcore"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "dri"
	Load  "dbe"
	Load  "freetype"
	Load  "type1"
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   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
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     "AccelMethod"        	# <str>
        #Option     "HWCursor"           	# [<bool>]
        #Option     "SWCursor"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "UseBIOS"            	# [<bool>]
        #Option     "LCDClock"           	# <freq>
        #Option     "ShadowStatus"       	# [<bool>]
        #Option     "CrtOnly"            	# [<bool>]
        #Option     "TvOn"               	# [<bool>]
        #Option     "PAL"                	# [<bool>]
        #Option     "ForceInit"          	# [<bool>]
        #Option     "Overlay"            	# [<str>]
        #Option     "TransparencyKey"    	# [<str>]
        #Option     "ForceInit"          	# [<bool>]
        #Option     "DisableXVMC"        	# [<bool>]
        #Option     "DisableTile"        	# [<bool>]
        #Option     "DisableCOB"         	# [<bool>]
        #Option     "BCIforXv"           	# [<bool>]
        #Option     "DVI"                	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "DmaType"            	# [<str>]
        #Option     "DmaMode"            	# [<str>]
        #Option     "AGPMode"            	# <i>
        #Option     "AGPSize"            	# <i>
	Identifier  "Card0"
	Driver      "savage"
	VendorName  "S3 Inc."
	BoardName   "SuperSavage IX/C SDR"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth  16
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Modes   "1024x768"
	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
	EndSubSection
EndSection

Last edited by godis; 12-14-2008 at 01:32 PM.
 
Old 12-14-2008, 08:28 AM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Can try this.

add "in Bold"

SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"

because default depth is set to 16.

Hope that helps. xorg.conf says you are using the savage driver.
 
Old 12-14-2008, 12:02 PM   #3
godis
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Added Modes "1024x768" to all subsections but no difference.
Any more ideas ?
 
Old 12-14-2008, 01:30 PM   #4
godis
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
I found a thread about xorgconfig
So i tried
# xorgconfig

Guessed a little... and WOOHOO it works !
The main thing i added to xorg.conf was the vertical and horizontal refresh rates that i managed to find with google.

Perhaps this thread can help others with the same problem

My hardware is a IBM Thinkpad T23

Add:
HorizSync 31.5 - 57.0
VertRefresh 50-90

under Section "Monitor"
 
  


Reply



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
kde screen resolution slackass SUSE / openSUSE 2 10-12-2006 12:10 PM
Gentoo - screen resolution satimis Linux - Distributions 6 09-27-2006 06:38 PM
Screen resolution in KDE NNP Linux - Newbie 3 08-25-2005 10:46 AM
Installation screen resolution on gentoo mjovy Linux - Newbie 2 03-06-2004 01:36 AM
Issues with Gentoo - Sound, Wireless 1150, and SCREEN RESOLUTION!! ARGH@!!! Odubhth4igh Linux - Newbie 3 10-23-2003 03:17 AM

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

All times are GMT -5. The time now is 06:54 AM.

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
Open Source Consulting | Domain Registration