LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   My turn for screen resolution issues - Xorg.conf details... (http://www.linuxquestions.org/questions/linux-hardware-18/my-turn-for-screen-resolution-issues-xorg-conf-details-558492/)

mitchell7man 06-01-2007 10:43 PM

My turn for screen resolution issues - Xorg.conf details...
 
Hello, i opened the xorg.conf file, and added the resolution i wanted 1280x1024 but when i activate it the screen turns into a pile of squares. My video card does support it as in my windows partition it is running at the described resolution. Here is my xorg.conf file.
Quote:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Nov 9 17:55:20 PST 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "Files"

# path to defoma fonts
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 "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "nVidia Corporation GeForce 7300 LE"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation GeForce 7300 LE"
Monitor "Generic Monitor"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
Did i add it correctly? all i did was add "1280x1024" to the modes sections. What else do i need to do etc? thanks in advance...

davimint 06-01-2007 11:35 PM

This may sound dumb and you may have tried it but try using the nvidia settings manager instead of the xorg file.

mitchell7man 06-01-2007 11:56 PM

What is / were do i get nvidia settings manager?

jay73 06-02-2007 02:32 AM

Verify the HorizSync and VertRefresh values - if you set them too low, you may not be able to get the maximum resolutions (but if you set them too high, you'll get a black screen!). Check your manual or the internet for the minimum and maximum refresh rates of your specific monitor.

davimint 06-02-2007 05:26 PM

Run this from within a x-enviroment

Code:

bash-3.1# nvidia-settings
It's a little tricky at first but ok after that.

Although I agree with "jay73" that the this part of the config looks a little off for 1280x1024

Code:

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

let us know.

mitchell7man 06-02-2007 07:57 PM

What do you mean by running it inside of a x environment? I don't have the problem as of now b/c i reinstalled the noob thing i do... but for the future i am still interested, as to how this all works out... also right now the resolution i have is the one i wanted, but it is at 74hz not 60hz as is recommended so I would still like to fix that, and again i am still a relative noob, i can get around, have found what i like in linux etc. but I don't know everything... as this post and thread reveal :) but that's why I want to learn.... anyway to quit jabbering, apparently i still want to change the refresh rate, so what exactly do i need to do to do that?
BTW- What set me over the edge to reinstall was when i quit getting borders on my screen. Probably a beryl issue. - not just the screen resolution problem

davimint 06-02-2007 10:32 PM

mitchell7man,
I'm a newbie too, so I mostly learn by error, most of the time resulting in the same as i've reinstalled my system so many many times. Looking at your post count and if your not yanking my chain, here is what I meant.
I think the nvidia-settings command can be call outside of the x-environment as in the console without x11 running. But the reason that I stated it like I did was that it's a good & nice gui interface so I always use it while inside a gui environment. Now all that being said, there's another problem that comes to mind about the nvidia-settings manager. Since I use slackware and dabble in other distributions of linux i'm not sure how ubunta is installing the nvidia driver. The reason I said that was that the other day I installed debian and there was two ways to install nvidia driver so the nvidia-settings command may not even work.
Now, to explain about the HorizSync & VertRefresh rates your asking probably more than I know other than from what I've played with. What I meant by my statement was that they both looked on the low side, I think mine is set at HorizSync 31-50 and VertRefresh at 40-90 but again that depends on your monitor.

mitchell7man 06-02-2007 10:35 PM

Ok, thanks for the understanding :) ... I guess i will just have to look more into my monitor specs... its kind of cool that someone else understands the whole learning by trial and error, and ending up reinstalling anyway thanks...


All times are GMT -5. The time now is 08:03 AM.