PDA

View Full Version : Cant change my resolution


Nebs
1st December 2008, 04:27 PM
Hi, I have installed fedora 10 (my first real go at using linux).
So far I'm really liking it - I have managed to solve most of the problems that I have come across.
However I cant seem to get my display set to "1440x900"

I have tried to edit the /etx/X11/xorg.conf file but it just resets its self to "1024x768"
I did this by going into init 3 and edditing the file with nano as shown ( here (http://fedoraforum.org/forum/showthread.php?t=183139).

I have tried installing the drivers 2 differant ways:
1) installing the NVIDIA drivers from their site
Result = fails to boot (drivers fail to load at post and the screen just starts flashing)

2) installing them as shown in the guide on this forum :

su
rpm -Uvh http://ftp-stud.hs-esslingen.de/pub/Mirrors/rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://ftp-stud.hs-esslingen.de/pub/Mirrors/rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i386 xorg-x11-drv-nvidia-libs.x86_64
reboot

Result = working but can't set resolution to 1440x900

I have the same problem in windows but i solved that by using a program called powerstrip to set a custom resolution and now it works.


I have just reinstalled fedora again and installed the drivers with yum and here is my xorg.conf

# Xorg configuration created by livna-config-display

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection



//Nebs

brotherpug
1st December 2008, 10:33 PM
Hi.

The Nvidia driver doesn't appear to be working as it should. Lots of info on here if you search for it.

Also, the xorg.conf file shouldn't be as crucial as it used to be because everything you need should be detected and work auto magically nowadays.

Anyway, having said that I spend a few hours trying to solve exactly your problem, I eventually came up with the attached xorg.conf file which works for me. Perhaps it'll give you a few clues and avenues to look into.

# Xorg configuration created by system-config-display + tinkering

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "dri"
Load "glx"
Load "extmod"
Load "dbe"
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 "acer"
ModelName "AL1717"
Horizsync 30.0 - 81.0
Vertrefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection

Nebs
2nd December 2008, 02:38 PM

thanks for the reply - don't suppose I could get some more advice on what to do... its just that I have tried editing my xorg before and it hasn't worked

I have just ran nvidia-settings as root and saved the the settings to the xorg

here is what my /etc/X11/xorg.conf looks like now

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder63) Tue Nov 4 14:08:09 PST 2008

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from data in "/etc/sysconfig/keyboard"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "gb"
Option "XkbModel" "pc105"
EndSection

Section "Monitor"
# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7950 GX2"
BusID "PCI:4:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

arvinddeshpande
2nd December 2008, 06:15 PM
Section "Monitor"
# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Doesn't this look like like monitor is not recognized? I would have tried to configure the monitor to some Generic LCD if I don't find my monitor in the supported list.

brotherpug
2nd December 2008, 08:45 PM
Section "Monitor"
# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Doesn't this look like like monitor is not recognized? I would have tried to configure the monitor to some Generic LCD if I don't find my monitor in the supported list.

If you're advising him to try the graphical settings under System>Administration>Display I'm not sure it'll work. Didn't for me.

I think you should try adding a "Modes" line in the "Screen" section, it probably all you now need.

Also, search the forum for nvidia driver problems. The Nvidia driver settings don't populate the "Files" section properly, you may need changes there also.

brotherpug
2nd December 2008, 08:49 PM
It just occurred to me, some things are so obvious that you don't think of them, maybe you're stuck because you haven't tried this (I don't know how new you are, please don't be offended)

You do realise you can alter text in the config file by opening it in a text editor and typing in?

Nebs
2nd December 2008, 09:21 PM
I have added a modes line into the screen section, it now looks like this...

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "nvidia-auto-select +0+0"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
Option "AddARGBGLXVisuals" "true"
Option "TripleBuffer" "true"
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection

still not working though

I have tried to change my monitor settings but it just keeps changing back (it actually thinks I'm using a CRT)

It just occurred to me, some things are so obvious that you don't think of them, maybe you're stuck because you haven't tried this (I don't know how new you are, please don't be offended)

You do realise you can alter text in the config file by opening it in a text editor and typing in?

When I try to do that it says
You do not have the necessary permissions to save the file. Please, check that you typed the location correctly and try again.

so I logged into root through the console and used nano to edit it which worked fine.

any other ideas?

//Nebs

arvinddeshpande
2nd December 2008, 10:40 PM
If you're advising him to try the graphical settings under System>Administration>Display I'm not sure it'll work. Didn't for me.

I think you should try adding a "Modes" line in the "Screen" section, it probably all you now need.

Also, search the forum for nvidia driver problems. The Nvidia driver settings don't populate the "Files" section properly, you may need changes there also.

I sure am suggesting to run system-config-display and select Generic LCD if his LCD monitor ( or whatever he is using ) isn't listed in there.

What will decide the resolution is you need to know what frequency your monitor can do the resolution you want.

Also it did not work for you does not mean it won't work for him. Trying and learning.......

JohnVV
2nd December 2008, 10:47 PM
just a question .In your first post you said that you installed the * .run installer THEN installed the kmod.
did you first uninstall the .run installer

sh *.run --uninstall
having BOTH of them installed will FUBAR(http://en.wikipedia.org/wiki/FUBAR) the system
well not that bad , but still a mess.

try uninstalling the .run, then uninstall the kmod ,then reinstall the xorg files and reinstall the kmod

Nebs
3rd December 2008, 12:40 AM
Ok I have un-installed all the Nvidia drivers and installed the ones from the site (NVIDIA-Linux-x86-177.82-pkg1.run) these are now working (last time i tried it completely messed up fedora (I think it was because i didn't properly uninstall the other drivers)

it still wont let me change my monitor to an LCD (i have a 19" lcd 1440x900) is there away to force it to select my monitor as an LCD?

//Nebs

arvinddeshpande
3rd December 2008, 12:52 AM
From the console become root.
Or if you are logged in as normal user type
# su -c "system-config-display"
At the Hardware tab select Monitor Type Click on the Configure button. Select Show All Monitor types and try selecting your monitor from the displayed list.
If your monitor is not listed, try selecting Generic LCD Monitor and then Select Generic LCD Panel(1400x900)
Tell us what happens.

Nebs
3rd December 2008, 02:40 AM
tried that - but it doesn't change the monitor (when i go back into that program it says CRT-0 again)

would editing the following to match that of a LCD 1440x900 in xorg.conf work?

Section "Monitor"

# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

If so what are the correct settings for a generic 1440x900 LCD?

//Nebs

Nebs
3rd December 2008, 06:11 PM
Hi, I am having problems with setting my resolution to 1440x900 (discussed here http://forums.fedoraforum.org/showthread.php?t=206052)

I think the problem is that fedora isn't detecting my monitor as a LCD I have tried setting it in the GUI but doesn't seem to work.

I was wondering if anyone could copy and paste their monitor section of their xorg.conf after setting their display to a generic 1440x900 LCD?

//Nebs

neogranas
3rd December 2008, 06:12 PM
I'd like to know the same. I have an HP dv6700 and for some reason Fedora 10 will only see 1280x800 but when I had XP on it, I could use 1440x900. If I recall right, even Fedora 9 could do it.

sideways
3rd December 2008, 06:55 PM
The generic LCD 1440x900 from system-config-display generates this

Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1440x900"
HorizSync 31.5 - 56.0
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection


if you type 'xrandr' does it display any suitable resolution?

Nebs
3rd December 2008, 08:08 PM
just added the above to my xorg and its still not working... :(

$ xrandr
Screen 0: minimum 320 x 240, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 50.0*
800x600 51.0 52.0
640x480 53.0
512x384 54.0
400x300 55.0 56.0
320x240 57.0

Nebs
5th December 2008, 01:35 AM
any ideas? :)

Nebs
5th December 2008, 01:36 AM
still not working. does anyone else have any ideas?

is there a program like power strip for linux? can;t seem to find one

Wayne
5th December 2008, 01:42 AM
Threads merged. One topic, one thread please.

Wayne