Skip to contentSkip to conversation

Hacking 3D on the NV17

DISCUSSION Phillip Ezolt 2 participants 3 messages Jan 30, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,
I recently got access to an old NV17 card (my wife's old laptop) ,
and I would like to start hacking.

I grabbed the 1/20/08 fedora DRM + nouveau driver packages from hughsie's fedora repo.
http://people.freedesktop.org/~hughsient/fedora/8/i386/
(Shame on me, I didn't build from git)

I installed mesa with: 'git clone
git://anongit.freedesktop.org/git/mesa/mesa', and compiled with "make linux-dri-x86 DRI_DIRS=nouveau"

However, when I try to run any glx apps, with the appropriate LD paths set, I get
"nouveau DRI driver expected DDX version 1-1.2.x but got version 2.1.6"

This agrees with my xorg.log:
"
(II) LoadModule: "nouveau"
(II) Loading /usr/lib/xorg/modules//drivers/nouveau_drv.so (II) Module nouveau: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 2.1.6 Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.2
"

The DDX expected value is hard coded in:
nouveau_screen.c:
...
__GLcontextModes *__driDriverInitScreen(__DRIscreenPrivate *psp)

{
        static const __DRIversion ddx_expected = { 1, 2, 0 };

...

Example:

"
[root@localhost lib]# export LD_LIBRARY_PATH=/home/ezolt/nouveau/mesa/lib/ [root@localhost lib]# export LIBGL_DRIVERS_PATH=/home/ezolt/nouveau/mesa/lib/ [root@localhost lib]# env DISPLAY=:0 glxinfo
name of display: :0.0
nouveau DRI driver expected DDX version 1-1.2.x but got version 2.1.6 libGL warning: 3D driver returned no fbconfigs.
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
glxinfo: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
Aborted
"

What am I doing wrong?

Cheers,
--Phil

A message that is not in the archive (sent off-list or not yet received): 62cc563b0801300825k7b505f6drd2b9fe3ae662c884-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw
Quoted 4 lines · Phillip Ezolt

I grabbed the 1/20/08 fedora DRM + nouveau driver packages from hughsie's fedora repo.
http://people.freedesktop.org/~hughsient/fedora/8/i386/
(Shame on me, I didn't build from git)

That's really old, there's an updated libdrm in the fedora/9 directory, although you'll need to make install from the drm source tree to work with a fedora kernel.

Richard.

#3 lore raw

Richard,
Ok. Great. So much for short cuts.

I'll trying compiling from git for DRM & nouvean-drv, and see what happens.

Thanks!

--Phil

Quoted 14 lines · Richard Hughes
Quoted 4 lines · Phillip Ezolt

I grabbed the 1/20/08 fedora DRM + nouveau driver packages from hughsie's fedora repo.
http://people.freedesktop.org/~hughsient/fedora/8/i386/
(Shame on me, I didn't build from git)

That's really old, there's an updated libdrm in the fedora/9 directory, although you'll need to make install from the drm source tree to work with a fedora kernel.

Richard.