A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » Video Cards » Nvidia Videocards
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Autodetecting number of video outputs from NVIDIA driver.



 
 
Thread Tools Display Modes
  #1  
Old October 6th 05, 09:18 PM
Zem
external usenet poster
 
Posts: n/a
Default Autodetecting number of video outputs from NVIDIA driver.

Hi,

I am writing an application running in linux that tries to auto-detect
some of the capabilities of the nvidia cards that are installed in my
system. Specifically, I would like to be able to query different Quadro
cards to get the number of video outputs (aka display connectors) found
on each card. I have looked at the output of /proc/pci/nvidia/cards/0
but this doesn't give me any information other than the GPU. I was
looking into using the Device IDs provided by nvidia on their website
and building a lookup table but this is the least optimal way of doing.
Is there any way to query the linux nvidia driver (1.0-7676) using
nvidia's sdk to get this information or are there any utilities
provided by nvidia for doing this?

Thanks!

  #2  
Old October 6th 05, 10:08 PM
Conor
external usenet poster
 
Posts: n/a
Default

In article .com, Zem
says...
Hi,

I am writing an application running in linux that tries to auto-detect
some of the capabilities of the nvidia cards that are installed in my
system. Specifically, I would like to be able to query different Quadro
cards to get the number of video outputs (aka display connectors) found
on each card. I have looked at the output of /proc/pci/nvidia/cards/0
but this doesn't give me any information other than the GPU. I was
looking into using the Device IDs provided by nvidia on their website
and building a lookup table but this is the least optimal way of doing.
Is there any way to query the linux nvidia driver (1.0-7676) using
nvidia's sdk to get this information or are there any utilities
provided by nvidia for doing this?

Shouldn't the information on the number of displays be contained in the
x.conf/xf86config file?


--
Conor

"You're not married, you haven't got a girlfriend and you've never seen
Star Trek? Good Lord!" - Patrick Stewart, Extras.
  #3  
Old October 7th 05, 12:27 PM
Zem
external usenet poster
 
Posts: n/a
Default

I should've made my first posting more clear. The application I'm
writing is trying to detect the number of display connectors on a card
so that I can generate a valid xorg.conf file. This detection has to
take place before the X server is configured and running. I was looking
into the NV-Extension that Nvidia's nvidia-settings utiliy can control
but this also requires that the X server be running. Anyone have some
ideas on how to query nvidia cards before the X server has been
configured and started? Thanks!

  #4  
Old October 8th 05, 03:53 AM
Chuck
external usenet poster
 
Posts: n/a
Default

Don't know about current cards-- but, in the past this was next to
impossible, because the card mfrs did not always make the card firmware
exactly match the hardware. You had to make tests that would error out if
hardware was not as expected.
I suppose the problem might be even worse these days with all the hardware
variations from one vendor to another, even if the same basic graphics
chipset is used, and the card is a "reference design" card with left off
parts.

"Zem" wrote in message
oups.com...
I should've made my first posting more clear. The application I'm
writing is trying to detect the number of display connectors on a card
so that I can generate a valid xorg.conf file. This detection has to
take place before the X server is configured and running. I was looking
into the NV-Extension that Nvidia's nvidia-settings utiliy can control
but this also requires that the X server be running. Anyone have some
ideas on how to query nvidia cards before the X server has been
configured and started? Thanks!



  #5  
Old October 11th 05, 09:10 PM
Zem
external usenet poster
 
Posts: n/a
Default

makes sense, just because a gpu can support dual output doesn't mean
that the card manufacturer will implement the card as a dual output
card. I guess I'll go back to creating a lookup table that specifies
the number of outputs each gpu can handle. Of course it doesn't make
the design bullet-proof but it'll do for now.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB 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
nVidia GeForce4 MX 4000 - Jerky Video John in VA Nvidia Videocards 12 June 6th 05 12:00 AM
Gainward FX 5900 Ultra 256 MB driver - not Golden Sample Phuc Tup Nvidia Videocards 7 July 13th 04 05:56 PM
Question Evga 6800GT and Official drivers Jean Nvidia Videocards 5 July 8th 04 04:34 AM
Nvidia's History with Sega Zackman Nvidia Videocards 37 June 20th 04 07:02 AM
Bad news for ATI: Nvidia to 'own' ATI at CeBit - no pixel shader 3.0 support in R420 (long) NV55 Ati Videocards 12 February 24th 04 06:29 AM


All times are GMT +1. The time now is 12:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.