Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-20-09, 01:59 PM   #1
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default nv driver with HP 30" not getting 2560x1600 - only 1280x800

I'm trying to use the nvidia obfuscated driver nv with an HP 30". Not getting 2560x1600 - only 1280x800. The card is a 8800GTX. Anyone have any suggestions including Nvidia employees?
konst is offline   Reply With Quote
Old 04-20-09, 03:44 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

From the man page:
Quote:
Originally Posted by nv(4) man page
Option "AllowDualLinkModes" "boolean"
Allow validation of dual-link DVI modes. Not all GPUs are configured at boot time to be able to handle dual-link modes, so they are dis‐
abled by default.
AaronP is offline   Reply With Quote
Old 04-20-09, 11:24 PM   #3
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

Quote:
Originally Posted by AaronP View Post
From the man page:
That doesn't work. I already have that option set. What appears on the screen is a line at the very top of the display that looks like a series of dots and the rest of the screen is black. Could that be a timing problem? If so how do I fix it?

Here is the Modeline in the xorg.conf file:

ModeLine "2560x1600" 268.00 2560 2608 2640 2720 1600 1603 1609 1646 +hsync -vsync

The monitor is an HP LP3065
konst is offline   Reply With Quote
Old 04-21-09, 02:25 AM   #4
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

That's why I made that option disabled by default. At boot, your GPU is not running at a high enough clock frequency to be able to drive that mode. On some GPUs, the VBIOS aggressively underclocks the card to conserve power and reduce heat, relying on the nvidia driver to raise the clocks later as needed. Unfortunately, clock programming is very complex and slightly dangerous, so the nv driver doesn't even try. I'm afraid that if you want to use that mode, you'll need to use the full nvidia driver.
AaronP is offline   Reply With Quote
Old 04-21-09, 03:43 AM   #5
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

Quote:
Originally Posted by AaronP View Post
That's why I made that option disabled by default. At boot, your GPU is not running at a high enough clock frequency to be able to drive that mode. On some GPUs, the VBIOS aggressively underclocks the card to conserve power and reduce heat, relying on the nvidia driver to raise the clocks later as needed. Unfortunately, clock programming is very complex and slightly dangerous, so the nv driver doesn't even try. I'm afraid that if you want to use that mode, you'll need to use the full nvidia driver.
Isn't there a way to tell the nv driver what frequency to use?
I can't use the full nvidia driver because I'm using gentoo hardened with grsecurity patches. That means that code has to be relocatable like PIE and PIC and I don't think the full nvidia driver is built that way with those options. Besides setting the clock frequency for a standard GTX8800 card can't be that dangerous. The monitor specs are known and so is are the GTX8800 specs. So the nv driver only has to deal with the one 2560x1600 mode not a range of other frequencies.

So how do you set the clock frequencies in the nv driver? The nv driver is GPL right so the code is already available as part of xorg. If it already has the settings for the 1280x800 mode all you need is the other mode too.
konst is offline   Reply With Quote
Old 04-21-09, 12:26 PM   #6
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

The problem is not that the pixel clock cannot be programmed for the high-resolution mode, it's that various other clocks, including the memory clock, start out too low to support high-resolution modes (i.e. the memory bandwidth is insufficient, etc.). The code to update the PLLs/muxes/etc. for all clock domains involved is highly complex.

One option that might work as a workaround is to initialize the GPU using the NVIDIA kernel module (e.g. via `modprobe nvidia; mknod /dev/nvidia0 c 195 0; cat /dev/nvidia0`) and then using the nv driver to drive the GPU.
zander is offline   Reply With Quote
Old 04-21-09, 04:52 PM   #7
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

Quote:
Originally Posted by konst View Post
I can't use the full nvidia driver because I'm using gentoo hardened with grsecurity patches. That means that code has to be relocatable like PIE and PIC and I don't think the full nvidia driver is built that way with those options.
Really? What happens when you try? The X driver has been built PIC for several releases.
AaronP is offline   Reply With Quote
Old 04-21-09, 10:58 PM   #8
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

Quote:
Originally Posted by AaronP View Post
Really? What happens when you try? The X driver has been built PIC for several releases.
I get this message:
*** Unable to determine the target kernel version. ***

I attached the rest of the log file when I try to do "emerge nvidia-drivers"
Attached Files
File Type: log nvidia-drivers-180.51:20090422-025150.log (3.4 KB, 99 views)
konst is offline   Reply With Quote

Old 04-22-09, 03:25 AM   #9
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

That's strange. That doesn't sound like a relocatable binary problem, it sounds like your kernel sources are messed up but I'll have to defer to zander on that.
AaronP is offline   Reply With Quote
Old 04-22-09, 02:26 PM   #10
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

Quote:
Originally Posted by AaronP View Post
That's strange. That doesn't sound like a relocatable binary problem, it sounds like your kernel sources are messed up but I'll have to defer to zander on that.
This is on a Gentoo hardened system.

You were right about the nv driver not initializing the card. I managed to get the nvidia driver to compile by going in the directory

/var/tmp/portage/x11-drivers/nvidia-drivers-180.51/work/NVIDIA-Linux-x86_64-180.51-pkg2/usr/src/nv/

and then changing part of the file conftest.sh to the following

Code:
            #if [ -f conftest$$ ]; then
            #    ./conftest$$ > /dev/null 2>&1
            #    if [ $? = "0" ]; then
                    SELECTED_MFILE=Makefile.kbuild
            #    else
            #        SELECTED_MFILE=Makefile.nvidia
            #    fi
                rm -f conftest$$
                RET=0
            fi
#        else
            #MAKEFILE=$HEADERS/../Makefile
            #CONFIG=$HEADERS/../.config

            #if [ -f $MAKEFILE -a -f $CONFIG ]; then
                #
                # This source tree is not configured, but includes
                # a Makefile and a .config file. If this is a 2.6
                # kernel older than 2.6.6, that's all we require to
                # build the module.
                #
                #PATCHLEVEL=$(grep "^PATCHLEVEL =" $MAKEFILE | cut -d " " -f 3)
                #SUBLEVEL=$(grep "^SUBLEVEL =" $MAKEFILE | cut -d " " -f 3)

                #if [ -n "$PATCHLEVEL" -a $PATCHLEVEL -ge 6 \
                #        -a -n "$SUBLEVEL" -a $SUBLEVEL -le 5 ]; then
                #    SELECTED_MFILE=Makefile.kbuild
                #    RET=0
                #fi
            #fi
#        fi
then I did "make module"

That compiled the nvidia.ko module.
Next I copied the file
/var/tmp/portage/x11-drivers/nvidia-drivers-180.51/work/NVIDIA-Linux-x86_64-180.51-pkg2/usr/X11R6/lib/modules/drivers/nvidia_drv.so
to the directory
/usr/lib/xorg/modules/drivers/

Then insmod nvidia.ko
That allowed X to start at 2560x1600 resolution.

Then I did "rmmod nvidia" so that I could use the nv driver.

One problem remaining is that video looks blocky. Is that a problem with the nv driver or some problem with initializing the card?

Thanks for your suggestion.
konst is offline   Reply With Quote
Old 04-22-09, 03:11 PM   #11
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

The nv driver doesn't support Xv on GeForce 8 and up, so your video player is probably falling back to an X11 output plugin, with software scaling.
AaronP is offline   Reply With Quote
Old 04-22-09, 03:21 PM   #12
thefirstm
Registered User
 
Join Date: Feb 2009
Posts: 226
Default Re: nv driver with HP 30" not getting 2560x1600 - only 1280x800

Just out of curiosity, why, now that you can compile the nV module, don't you just use the nvidia driver rather than nv?
thefirstm is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 8.0 NVIDIA works - INSTRUCTIONS STEEL1 NVIDIA Linux 267 04-15-03 07:48 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 09:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-02-02 12:58 AM
failing to initialize NV driver PsyShook NVIDIA Linux 10 09-19-02 01:41 PM
Nvidia Driver causes crash on Standby/Suspend dasher NVIDIA Linux 5 09-16-02 06:57 PM

All times are GMT -5. The time now is 12:27 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.