LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-28-2008, 09:46 PM   #1
Superganja23
Member
 
Registered: Sep 2004
Distribution: Mandriva 2007
Posts: 52

Rep: Reputation: 15
Low resolutions after installing the Nvidia binary driver


I just installed a fresh copy of ubuntu 8.04 and installed the restricted drivers for nvidia gfx cards. Unfortunatley my screen resolution is stuck at 800*600 when I know the maximum resolution is 1440*900. I've tried this tutorial https://help.ubuntu.com/community/Fi...nary%20drivers) but it was no use.

http://www.lge.com/products/model/detail/l196wtq.jhtml Thats my monitor and I have a geforce 7350LE

When I go into my xorg config file this is all that's there at the moment:

Code:
# xorg.conf (X.Org 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 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 "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Option		"UseFBDev"		"true"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
        HorizSync          30- 83 
        VertRefresh        56- 75
SubSection "Display"
                Depth           24
                Modes           "1440x900" "1024x768" "800x600" "640x480"
EndSubSection

EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	Option "UseEdidFreqs" "false"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
EndSection
I have no idea whats going on, any links or helpful suggestion would be appreciated!

Thanks
 
Old 09-28-2008, 10:15 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Do the Horizontal Sync and Vertical Refresh values in your "Monitor" section match your screen's capability?

I also find this option a bit strange:
Option "UseEdidFreqs" "false"

That is usually employed if the screen does report an EDID string but gives bad values; otherwise it's more convenient to use information which is actually supplied by the screen. You can just put a '#' at the start of the line to comment out that option or else change it to "true".

For more clues, look at the log /var/log/Xorg.0.log
 
Old 09-29-2008, 08:09 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
How did you install the nvidia driver? In your "device" section in xorg.conf it does not have nvidia as the driver. Here is that section from my xorg.conf
Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection
Open a terminal and run glxgears. Does it work? Also run glxinfo | grep -i direct. It should answer yes.

For your video card you should install the nvidia-glx-new driver from synaptic. Then run sudo nvidia-xconfig from terminal. Then restart X. I think installing the specific driver from synaptic is more reliable than using system > administration > hardware drivers, and hoping it installs the correct driver.
 
Old 09-29-2008, 10:27 AM   #4
Superganja23
Member
 
Registered: Sep 2004
Distribution: Mandriva 2007
Posts: 52

Original Poster
Rep: Reputation: 15
ok major wtf...

I just reinstalled ubuntu, same cd, same options and everything and now my screen resolution is working fine! I just don't get how reinstalling the os would drastically change the settings this way.

anyways here's my new xorg.conf file (i haven't installed the restricted binary drivers yet)
Code:
# xorg.conf (X.Org 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 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 "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
EndSection
I ran glxgears as well now, it shows up but the frame rate is still slow. Hopefully that will get fixed when I install the binary drivers.

Also when I ran the command glxinfo | grep -i direct i got:

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect

Again let me install the binary drivers and see what happens!


Edit:

Glxgears running perfectly, at 2000 fps. Direct rendering is enabled. and my xorg.conf file looks like this:


Code:
 Section "Device"
	Identifier	"Configured Video Device"
	Driver		"nvidia"
	Option		"NoLogo"	"True"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	Defaultdepth	24
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
  screen "Default Screen"
EndSection
Section "Module"
	Load		"glx"
EndSection
So now the question that remains is, what the heck did the reinstall do differently than the first time i went through it?

Last edited by Superganja23; 09-29-2008 at 10:36 AM.
 
Old 09-30-2008, 04:43 AM   #5
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Quote:
Originally Posted by pinniped View Post
Do the Horizontal Sync and Vertical Refresh values in your "Monitor" section match your screen's capability?
Super..., well, I was gonna agree with pinniped, these kinds of issues are usually related to getting the correct refresh rates for your monitor, but I see your's match, from the link you posted. But, I also checked my xorg.conf and discovered that it somehow already knows about my BenQ monitor, and there's no listing of refresh rates to be found. And I'm running at 1920x1200.

Code:
Section "Monitor"
        Identifier      "BenQ 241W"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Intel Corporation Integrated Graphics Controller"
        Monitor         "BenQ 241W"
        DefaultDepth    24
        SubSection "Display"
                Modes           "1920x1200" "1680x1680" "1600x1200" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
        EndSubSection
EndSection
[insert scratching head smiley here]

Edit: Oh... well, I was responding to your first post. I see in your second that some weirdness happened and all is well.
;-)

Last edited by itsjustme; 09-30-2008 at 04:52 AM.
 
  


Reply



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
Low nvidia driver performance on 2.6.25 (mplayer) ivanatora Slackware 9 06-27-2008 02:31 PM
Nvidia binary driver exploit?! gloomy Linux - Security 15 10-23-2006 02:45 AM
NVIDIA binary driver saga fBSD 5.3 darklogik_org *BSD 1 01-28-2005 02:54 PM
Nvidia Binary driver install problem plbowler Red Hat 8 11-11-2003 10:25 PM
nvidia driver runs at low resolution dbkluck Linux - Laptop and Netbook 4 10-26-2003 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:31 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
Open Source Consulting | Domain Registration