Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DRI and Nvidia
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Thu May 08, 2003 5:31 pm    Post subject: DRI and Nvidia Reply with quote

Ok.. I'm trying to get DRI working with my geforce3 with nvidia-4363 drivers and 2.5.69-mm1 kernel..

Now I'm a little confused between DRI and DRM, the DRI guide in the tips n tricks forum doesnt mention Nvidia and that if DRI allready works for you theres no need for xfree-drm.. :?

I'm my kernel I have support for Direct Rendering Manager enabled but ofcourse there isnt any option for nvidia :(

So anyway I went in blind and found some peoples XFree86 configs on these foums who where using DRI with nvidia.. so I added:
Code:
Load    "dri"

and
Code:
Section "DRI"
    Mode 0666
EndSection

to my XFree86 config and fired up X... it started up fine, but I didnt notice any speed improvements so I hit ctrl+alt+f1 and saw the following twice:
Code:
Symbol __glXActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!

and I see no message saying DRI was loaded like it does for GLX.

Do I need DRM enabled in my kernel at all?

Cheers
_________________
a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Thu May 08, 2003 5:51 pm    Post subject: Reply with quote

From the Gentoo NVIDIA Installation Guide:

nVidia's Driver Architecture vs. DRI and DRM



nVidia's driver does not make use of the Direct Rendering Interface that made its debut with XFree86 4.0.0. instead, nVidia chose to implement its own mechanism. the architectures are quite similar: both use a kernel level resource manager (NVdriver vs. DRM) and both provide a mechanism by means of which high performance OpenGL rendering can be achieved by allowing the OpenGL implementation to talk directly to the hardware instead of using GLX when running locally.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Thu May 08, 2003 5:57 pm    Post subject: Reply with quote

thought it was too good to be true :roll:
I would have thought an OpenGL rendered display would be pretty speedy..
oh well I guess i'm gonna have to stick with slow widget drawing till xfree gets its act together..
_________________
a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Thu May 08, 2003 8:22 pm    Post subject: Reply with quote

Quote:
I would have thought an OpenGL rendered display would be pretty speedy..
The 2d acceleration found in drivers does all this quite speedy itself.

DRI stands for direct rendering interface and DRM stands for direct rendering module. DRI is the whole direct rendering system and DRM is the module for the video card.
Back to top
View user's profile Send private message
Jimboberella
Guru
Guru


Joined: 19 Jun 2002
Posts: 358
Location: Brisbane/Australia

PostPosted: Thu May 08, 2003 9:08 pm    Post subject: Reply with quote

port001 wrote:
I would have thought an OpenGL rendered display would be pretty speedy..


Well its good enought for Apple. The entire UI in OSX is an OpenGL app running atop the kernel :o
Back to top
View user's profile Send private message
heliosc
n00b
n00b


Joined: 30 Jun 2002
Posts: 13

PostPosted: Thu May 08, 2003 10:29 pm    Post subject: Re: OpenGL OS X Reply with quote

Um, not really. OS X only uses OpenGL for a few things, mainly window compositing and some special effects. Everything else, like actual drawing, is done in software. I have no idea where this idea got started. Even Apple's own tech docs point out that most rendering is done via the CPU.
Back to top
View user's profile Send private message
Jimboberella
Guru
Guru


Joined: 19 Jun 2002
Posts: 358
Location: Brisbane/Australia

PostPosted: Fri May 09, 2003 4:16 am    Post subject: Reply with quote

Direct from here
(http://www.apple.com/macosx/jaguar/quartzextreme.html)

Quote:
Here’s how it works. Quartz uses the integrated OpenGL technology to convert each window into a texture, then sends it to the graphics card to render on screen. The graphics processor focuses on what it does best — graphics — freeing the Power PC chip to do more operations in the same amount of time. Everything is zippier.


From here (http://a32.g.akamai.net/7/32/51/e3f09c3d615efe/www.apple.com/macosx/pdfs/Quartz_TB.pdf)
Quote:
With Quartz Extreme, every pixel on the screen is sent through the Mac OS X OpenGL pipeline.
Each onscreen element—2D, 3D, and video graphics—becomes an OpenGL texture applied to
objects representing those elements.
Back to top
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Fri May 09, 2003 11:39 am    Post subject: Reply with quote

one of the ideas at xwin was to do something similar to quartz extreme wasnt it? I hope they go forward with it...

So what actualy makes my UI slow and sluggish compared to Windows? Is it just X being a bit of a pig?
_________________
a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum