LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help me config my res? (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-config-my-res-251694/)

snip128 11-05-2004 11:41 PM

help me config my res?
 
well...slackware set the resolution good (dunno what it was...) after i installed my nvidia drivers...but i just HAD to mess with the xorg.conf file....to try to get my mouse to use its middle wheel (which i failed at by the way) and now im stuck at this terrible either 640x480 or 800x600(dunno either...i dunno how to check res)...its low, and hard to work with....i tried killing x and running xorgconfig, but whenever i run through that, x wont start up again, so i use xorgsetup and i get back where i started ctrl, alt, + just lowers the resolution, then if u hit it again, it goes back....ehehe, i even tried reinstalling slack hoping it would make the res better after i installed nvidia drivers, but no such luck.....i will get my linux up and working if its the last thing i do!!! lol -_-

Matir 11-06-2004 12:01 AM

Look for "Modes" lines in your X config file. Under mine (XFree86-4.3), they look like
Code:

Modes      "1024x768" "800x600" "640x480"
Add the resolutions you need there, the first should be the default. Multiple lines may be set for multiple color depths.

snip128 11-06-2004 12:05 AM

mine doesnt have that....or at least i didt see it...its xorg.conf

heh...heres my whole file =P help me if ya can plz :)

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

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
Load "freetype"
Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
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 "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
BusID "PCI:2:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
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
EndSubSection
EndSection

Linux~Powered 11-06-2004 12:09 AM

You have to add them with an editor to look something like this...

Section "Screen"
Identifier "Screen 1"
Device "NVIDIA GeForce"
Monitor "My Monitor"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600"
ViewPort 0 0
EndSubsection
EndSection

Matir 11-06-2004 12:22 AM

Yeah, having the lines missing might also do that ;) Didn't even think about that.

snip128 11-06-2004 12:29 AM

=/
 
still doesnt work... maybe i added them in wrong? i also tried replacing 800x600 with 1024x768, still no go

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
modes "800x600"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
modes "800x600"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
modes "800x600"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
modes "800x600"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
modes "800x600"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
modes "800x600"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Matir 11-06-2004 09:04 AM

The file is, most likely, case sensitive... "Modes" instead of "modes"

snip128 11-06-2004 09:42 AM

changed it to "Modes"....still nothing =/ (i restarted x)

Linux~Powered 11-06-2004 10:42 AM

you're missing the 24 depth... add this to the bottom..

Depth 24
Modes "800x600"
ViewPort 0 0
EndSubsection

Linux~Powered 11-06-2004 10:47 AM

you're missing the 24 depth options... add this to the bottom of the Section "Screen".. right now you have it set to defaut to the 24 depth...

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24 <--- right here "this is from your post above"

and you don't have anything under the Depth 24. So add the lines to the bottom part of the Section "Screen" between -- Depth 24 and EndSection --

Depth 24
Modes "800x600" <--- add this
ViewPort 0 0 <--add this
EndSubsection <--and this line add
EndSection

Oops... didn't mean to double post like that. Was trying to edit instead.


All times are GMT -5. The time now is 10:49 AM.