You are not logged in.

#1 2012-07-07 04:40:32

void-pointer
Member
Registered: 2012-06-17
Posts: 9

Where is the library that contains NVIDIA's implementation of DRI?

Hello everyone,

I am trying to find location of the NVIDIA binary that Xlib loads in order to get a handle to various functions that implement parts of the DRI protocol (e.g. __driCreateScreen). After rummaging through the source code for Xlib, I found the file that loads the DRI modules,  and learned that Xlib uses macro DEFAULT_DRI_DIR to decide where to look for the module. This macro is defined in the Makefile for the particular distribution (in our case, Arch). Does anyone happen to know what the value of this macro is for Arch, or where I should look in order to find the shared library containing these symbols?

Thank you very much!

Offline

#2 2012-07-07 09:14:00

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Where is the library that contains NVIDIA's implementation of DRI?

is it /usr/lib/xorg/modules/drivers/nvidia_drv.so


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2012-07-07 22:12:02

void-pointer
Member
Registered: 2012-06-17
Posts: 9

Re: Where is the library that contains NVIDIA's implementation of DRI?

Hm, I don't think so, since nm -D nvidia_dri.so doesn't list any symbols beginning with __dri.

Offline

#4 2012-07-07 22:17:51

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Where is the library that contains NVIDIA's implementation of DRI?

Nvidia doesn't use dri.

Offline

#5 2012-07-07 22:23:20

void-pointer
Member
Registered: 2012-06-17
Posts: 9

Re: Where is the library that contains NVIDIA's implementation of DRI?

Thanks for the information. If this is the case, then what proprietary equivalent should I be looking for? I am assuming that NVIDIA has their own implementation of a native rendering interface that allows me to bypass X to issue OpenGL commands.

Offline

Board footer

Powered by FluxBB