View previous topic :: View next topic |
Author |
Message |
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Thu May 08, 2003 5:31 pm Post subject: DRI and Nvidia |
|
|
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:
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 |
|
|
Jimbow Guru
Joined: 18 Feb 2003 Posts: 597 Location: Silver City, NM
|
Posted: Thu May 08, 2003 5:51 pm Post subject: |
|
|
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 |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Thu May 08, 2003 5:57 pm Post subject: |
|
|
thought it was too good to be true
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 |
|
|
Malakin Veteran
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Thu May 08, 2003 8:22 pm Post subject: |
|
|
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 |
|
|
Jimboberella Guru
Joined: 19 Jun 2002 Posts: 358 Location: Brisbane/Australia
|
Posted: Thu May 08, 2003 9:08 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
heliosc n00b
Joined: 30 Jun 2002 Posts: 13
|
Posted: Thu May 08, 2003 10:29 pm Post subject: Re: OpenGL OS X |
|
|
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 |
|
|
Jimboberella Guru
Joined: 19 Jun 2002 Posts: 358 Location: Brisbane/Australia
|
Posted: Fri May 09, 2003 4:16 am Post subject: |
|
|
Direct from here
(http://www.apple.com/macosx/jaguar/quartzextreme.html)
Quote: | Heres 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 element2D, 3D, and video graphicsbecomes an OpenGL texture applied to
objects representing those elements. |
|
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Fri May 09, 2003 11:39 am Post subject: |
|
|
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 |
|
|
|