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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-06-2004, 06:49 PM
|
#1
|
LQ Newbie
Registered: Feb 2004
Location: niagara ny
Distribution: redhat 9
Posts: 10
Rep:
|
display problem
ive tried fixing my display. im running rh 9 and i use gedit to configure my XF86Config file. the highest res i can get (and its been higher before) is only 1024x786. ive added other resolutions but they just erase when i add them, and save them to the file. here is my config.
# XFree86 4 configuration created by redhat-config-xfree86
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x786" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
do i need to make another default depth? refresh rates are horizontal 60-90 kHz, vertical are 50-160 Hz. my monitor is a mag innovision 996PF. what do i need to change so i can add more modes?
|
|
|
02-06-2004, 06:50 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Did you edit the file as a normal user or as root?
|
|
|
02-06-2004, 06:53 PM
|
#3
|
LQ Newbie
Registered: Feb 2004
Location: niagara ny
Distribution: redhat 9
Posts: 10
Original Poster
Rep:
|
as root yes
|
|
|
02-06-2004, 07:01 PM
|
#4
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
where do you put the new resolution(s)? It/they should go before the "1024x768" in quotes. Then save the file.
|
|
|
02-06-2004, 07:04 PM
|
#5
|
LQ Newbie
Registered: Feb 2004
Location: niagara ny
Distribution: redhat 9
Posts: 10
Original Poster
Rep:
|
i put them before the listed resolutions but when i save and then restart, it erases them so only the 3 are there
|
|
|
02-06-2004, 07:07 PM
|
#6
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Are you editing the XF86Config file or the XF86Config-4 file? Do you see the Nvidia logo screen when you boot up?
|
|
|
02-06-2004, 07:25 PM
|
#7
|
LQ Newbie
Registered: Feb 2004
Location: niagara ny
Distribution: redhat 9
Posts: 10
Original Poster
Rep:
|
XF86Config, no i dont see any nvidia logos when i start up
|
|
|
02-06-2004, 07:30 PM
|
#8
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
If no Nvidia logo, that means that the driver isn't being seen. AFAIK, XF86Config hasn't been used for quite a while. You will need to edit XF86Config-4 - just repeat the changes you made on XF86Config in XF86Config-4. Restart X and let me know if your nvidia logo is coming up and if your new resolution is working.
|
|
|
02-06-2004, 07:39 PM
|
#9
|
LQ Newbie
Registered: Feb 2004
Location: niagara ny
Distribution: redhat 9
Posts: 10
Original Poster
Rep:
|
dont know what the XF86Config-4 is, im using rh 9, theres only XF86Config and .backup
|
|
|
02-06-2004, 07:41 PM
|
#10
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Try issuing whereis XF86Cconfig that should bring up all variations of the file. I have used RH9 and that file should be there.
|
|
|
02-06-2004, 07:46 PM
|
#11
|
LQ Newbie
Registered: Feb 2004
Location: niagara ny
Distribution: redhat 9
Posts: 10
Original Poster
Rep:
|
[joe@localhost joe]$ whereis XF86Cconfig
XF86Cconfig:
thats all that comes up, im going to reinstall my drivers for nvidia and see if that works.
|
|
|
02-07-2004, 02:37 AM
|
#12
|
LQ Newbie
Registered: Feb 2004
Distribution: Red Hat
Posts: 20
Rep:
|
Hi,
So files shouldn't be modified manually or changes will be lost. I don't know but my be XF86Config file is that type. So I think it worths if you use the preferences command in the start menu to change your resolution.
Hope it would be useful.
|
|
|
02-09-2004, 05:54 PM
|
#13
|
Senior Member
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032
Rep:
|
I'm guessing he made a typo. Try whereis XF86Config and whereis XF86config
|
|
|
02-10-2004, 01:31 PM
|
#14
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Yep - it was a typo. Many apologies. whereis xf86config, issued as root is the correct command.
Apologies again.
|
|
|
All times are GMT -5. The time now is 03:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|