LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-21-2009, 08:20 AM   #1
Syrioth
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu Hardy Heron
Posts: 23

Rep: Reputation: 16
Screen res problems with nvidia


hi when i enable desktop effects i am asked to install the "restricted" drivers for it. once this is done and the computer restarts the screen res is set to 640x480 and cannot be changed. normally it is 800x600 is there a solution for this???
by the way i am using ubuntu hardy heron and the grafix card is built in on my GeForce6100SM-M mother board if that is any help
thanks in advance
 
Old 07-21-2009, 08:37 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
The restricted nvidia driver package may include two useful programs:
nvidia-xconfig
nvidia-settings

The nvidia-xconfig program will modify your xorg.conf. You might want to make up a backup of your old one just in case.
This will modify your xorg.conf file, and leave you with a backup and a copy of the new one for reference, if you modify it later.
Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bu
sudo nvidia-xconfig -o /etc/X11/xorg.conf.new
sudo cp /etc/X11/xorg.conf.new /etc/X11/xorg.conf
The nvidia-settings program is a graphical program allowing you to change the settings of your video driver on the fly, including gamma changes. You can try using it to change resolutions. If you want to write changes to xorg.conf, you will need to run it as root: "gnomesu nvidia-settings".

Good Luck!
 
Old 07-21-2009, 12:46 PM   #3
Syrioth
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu Hardy Heron
Posts: 23

Original Poster
Rep: Reputation: 16
thanks for that but i cant actually change any of the settings as the windows dissapears at the bottom panel and it wont resize. it is the same when i am on firefox. i have the motherboard drivers disk if that would be of any use thanks again
 
Old 07-21-2009, 06:06 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
The nvidia-xconfig program is one you type in the terminal. You can press CTRL-ALT-F2, log into the virtual terminal, and run the three lines I gave from there. You can press the same key combination before logging in at the GDM session manager.

Then try logging in normally. You can press ALT-F2 to bring up the Run dialog, and enter "nvidia-settings". If the window is larger than the screen, holding down the ALT key will allow you to drag the window from anywhere, not just the title bar.

If other resolutions are possible, try CTRL-ALT-[KEYPAD +] or CTRL-ALT-[KEYPAD -] to cycle through the available resolutions.
It that doesn't switch resolutions, look at the /etc/X11/xorg.conf file and see if others are listed in the screen section.
Double check in the /etc/X11/xorg.conf file, inside the [Device] section, that the "nvidia" driver is used and not "nv".

If there are other resolutions listed, but you can't cycle through them, look in the /var/log/Xorg.0.log file. It will list the resolutions it tried. Did all the others fail? Usually this is a problem that is fixed by installing the "nvidia" driver. Especially in the past before xorg supported 16x9 screens itself.
 
Old 07-22-2009, 05:34 AM   #5
Syrioth
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu Hardy Heron
Posts: 23

Original Poster
Rep: Reputation: 16
thanks again but there are no other screen resolutions listed. will i need to list my own within the /etc/X11/xorg.conf file next to the other screen res listed???
 
Old 07-22-2009, 05:47 PM   #6
Syrioth
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu Hardy Heron
Posts: 23

Original Poster
Rep: Reputation: 16
update - i have managed to get a vesa driver working and in the xconfig file the resolution i want is listed but i have no way of enabling it + on system reboot i configered it at a higher res yet when i log on it is back to 800x600 please help because i may go mad.
thanks again for any help
 
Old 07-23-2009, 09:23 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Post your xorg.conf file. Be sure to include it inside code blocks ( [ code ] ... [ /code ] ) (note: I added spaces inside the square braces so they would be printed. This will make it readable, and allow us to scroll.

Look in your /var/log/Xorg.0.log file. The server will try various resolutions when it starts up.
Code:
...
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1366x768"; removing.
(WW) NVIDIA(0): No valid modes for "1360x768"; removing.
(WW) NVIDIA(0): No valid modes for "1280x800"; removing.
(WW) NVIDIA(0): No valid modes for "1152x864"; removing.
(WW) NVIDIA(0): No valid modes for "1280x768"; removing.
(WW) NVIDIA(0): No valid modes for "1280x720"; removing.
(WW) NVIDIA(0): No valid modes for "1280x600"; removing.
(WW) NVIDIA(0): No valid modes for "1024x600"; removing.
(WW) NVIDIA(0): No valid modes for "768x576"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1440x900"
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0):     "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1440 x 900
...
I'd be interested to see if it says "No valid modes" for everything except "640x480".

See if you can install the nvidia driver from the RPMFusion site. It is able to use resolutions that aren't part of the vesa standard. It will be more capable in communicating with the monitor & graphic device. Such as determining the native resolution of an LCD monitor's screen and the modes that the monitor supports. I've come to expect some problems with video until I install the nvidia driver.
 
Old 07-24-2009, 05:31 AM   #8
Syrioth
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu Hardy Heron
Posts: 23

Original Poster
Rep: Reputation: 16
hi again, by the way i upgraded to 8.10 to see if it fixed the problem but all it did was get me up to 800x600 when i did have 1040x728 (or something)
when the driver is installed this time i get the following:
[Knit: no resume image doing normal boot] then
([Failed to initialize kernel module
please ensure there is a suported NVIDIA GPU installed
***Aborting***
Screen(s) found, but none have a usable configuration])
 
Old 07-24-2009, 05:35 AM   #9
Syrioth
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu Hardy Heron
Posts: 23

Original Poster
Rep: Reputation: 16
[[(II) VESA(0): Total Memory: 1024 64KB banks (65536kB)
(II) VESA(0): Configured Monitor: Using default hsync range of 31.50-37.90 kHz
(II) VESA(0): Configured Monitor: Using default vrefresh range of 50.00-70.00 Hz
(WW) VESA(0): Unable to estimate virtual size
(II) VESA(0): Not using built-in mode "2048x1536" (no mode of this name)
(II) VESA(0): Not using built-in mode "1280x1024" (no mode of this name)
(II) VESA(0): Not using built-in mode "1024x768" (no mode of this name)
(II) VESA(0): Not using built-in mode "800x600" (no mode of this name)
(II) VESA(0): Not using built-in mode "640x480" (no mode of this name)
(II) VESA(0): Not using built-in mode "640x400" (no mode of this name)
(II) VESA(0): Not using built-in mode "320x400" (no mode of this name)
(II) VESA(0): Not using built-in mode "320x240" (no mode of this name)
(II) VESA(0): Not using built-in mode "320x200" (no mode of this name)
(WW) VESA(0): No valid modes left. Trying less strict filter...
(II) VESA(0): Configured Monitor: Using hsync range of 31.50-37.90 kHz
(II) VESA(0): Configured Monitor: Using vrefresh range of 50.00-70.00 Hz
(WW) VESA(0): Unable to estimate virtual size
(II) VESA(0): Not using built-in mode "2048x1536" (hsync out of range)
(II) VESA(0): Not using built-in mode "1280x1024" (hsync out of range)
(II) VESA(0): Not using built-in mode "1024x768" (hsync out of range)
(II) VESA(0): Not using built-in mode "640x400" (hsync out of range)
(II) VESA(0): Not using built-in mode "320x400" (hsync out of range)
(II) VESA(0): Not using built-in mode "320x240" (illegal horizontal timings)
(II) VESA(0): Not using built-in mode "320x200" (illegal horizontal timings)
(--) VESA(0): Virtual size is 800x600 (pitch 800)
(**) VESA(0): *Built-in mode "800x600"
(**) VESA(0): *Built-in mode "640x480"
(==) VESA(0): DPI set to (96, 96)
(II) VESA(0): Attempting to use 60Hz refresh for mode "800x600" (115)
(II) VESA(0): Attempting to use 60Hz refresh for mode "640x480" (112)
(**) VESA(0): Using "Shadow Framebuffer"
(II) Loading sub module "shadow"
(II) LoadModule: "shadow" ]]

Last edited by Syrioth; 07-24-2009 at 05:38 AM.
 
Old 07-24-2009, 07:12 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Quote:
([Failed to initialize kernel module
please ensure there is a suported NVIDIA GPU installed
This sounds like you installed the wrong nvidia kernel package. Some video cards have to use a legacy driver.
 
Old 07-24-2009, 01:52 PM   #11
Syrioth
LQ Newbie
 
Registered: Jul 2009
Distribution: Ubuntu Hardy Heron
Posts: 23

Original Poster
Rep: Reputation: 16
thanks but how do i find the right one???

this is my card btw : GeForce 6150SE nForce 430
this is my kernel: 2.6.24-16-generic

if they help at all
thanks again
 
Old 07-24-2009, 10:02 PM   #12
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Rep: Reputation: 38
Have you installed nvidia-glx-96 package? that seems to be the one for your GPU.

I remember from Kubuntu Hardy with KDE3.5 I had to install the driver first, then under hardware drivers enable the driver (reboot may be?) and then under system setting-> display I had to choose the proprietary driver as well and do an X server restart from the login manager window. (the blunt way: ctrl+alt+backspace)

also, make certain you have your system up to date.

hope this helps a bit.
Ron
 
Old 07-24-2009, 10:20 PM   #13
31tempe
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
test

test
 
Old 07-24-2009, 10:31 PM   #14
31tempe
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Perfect Solution!!

There are a variety of possible operating systems which can be installed on a personal computer. As an alternative to Linux you may wish to consider Microsoft Vista. Although it certainly is more expensive, it is professionally written and you will find that all of the unfortunate issues and problems you are experiencing will simply disappear when using a quality operating system.

cheers
 
Old 07-25-2009, 02:00 AM   #15
wabbalee
Member
 
Registered: Oct 2006
Location: brisbane - australia
Distribution: ubuntu
Posts: 335

Rep: Reputation: 38
now why didn't I think of that?
what is the name of this forum again?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Screen Res problems in Fedora 7 tekmann33 Linux - Newbie 2 12-26-2008 12:50 AM
Need to adjust screen res but can not see anything on the the screen MurX Linux - Hardware 2 08-08-2006 06:51 AM
Screen res on boot problems Larry37 SUSE / openSUSE 7 03-21-2006 09:35 PM
Screen Res Problems in Suse 10 with KDE and Gnome philpac SUSE / openSUSE 14 12-12-2005 04:01 PM
Probl. Screen res in widescreen laptop with nvidia Geforce FX 5200 amaya Linux - Software 1 04-13-2004 05:02 PM


All times are GMT -5. The time now is 03:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration