Current state - how to get gallium-stuff running?
Hi,
As the last tindc said something about 3d really working on nv4x, I wanted to try that ( on a NV43). Built nouveau/mesa -> gallium-0.1 branch of mesa and git head of libdrm, kernel-drm and xf86-video-nouveau.
glxinfo says:
nouveau DRI driver expected DDX version 1-1.2.x but got version 0.0.10
So I assume I need some other branch of xf86-video-nouveau (?)
I asked in irc but was pointed that it's not the right place to ask, though I didn't find any information in the wiki. Can someone give me some pointers? I'd volunteer to write some wiki documentation if I get it running.
Signature · 2 lines
Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail: [email protected]
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Hanno Böck
Hi,
As the last tindc said something about 3d really working on nv4x, I wanted to try that ( on a NV43). Built nouveau/mesa -> gallium-0.1 branch of mesa and git head of libdrm, kernel-drm and xf86-video-nouveau.
First, the obligatory disclaimer: "really working" doesn't exactly translate to "Wooo! I can drop that annoying binary blob!". You should be able to get textured OpenGL support, and be able to run OpenArena at reasonable framerates until it crashes, though :).
Quoted 3 lines
glxinfo says:
nouveau DRI driver expected DDX version 1-1.2.x but got version 0.0.10
I've seen other people reporting this error. I've never seen it myself, which suggests to me that it's user error _somewhere_ :). Can you describe the exact steps you took, and their output.
For reference, after building & installing git head of libdrm & xf86-video-nouveau, I can clone thegit://anongit.freedesktop.org/nouveau/mesa repository, check out the gallium-0.1 branch and "make linux-dri-x86-64 DRI_DIRS=nouveau" to build. Then exporting LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH to point to the mesa lib/ directory, I could run OpenArena, glxgears, etc. Not as of yesterday; it would die in emit_fence, but that's the right process.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
Quoted 23 lines · Christopher James Halse Rogers
Quoted 6 lines · Hanno Böck
Hi,
As the last tindc said something about 3d really working on nv4x, I wanted to try that ( on a NV43). Built nouveau/mesa -> gallium-0.1 branch of mesa and git head of libdrm, kernel-drm and xf86-video-nouveau.
First, the obligatory disclaimer: "really working" doesn't exactly
translate to "Wooo! I can drop that annoying binary blob!". You should be able to get textured OpenGL support, and be able to run OpenArena at reasonable framerates until it crashes, though :).Quoted 3 lines
glxinfo says:
nouveau DRI driver expected DDX version 1-1.2.x but got version 0.0.10I've seen other people reporting this error. I've never seen it myself,
which suggests to me that it's user error _somewhere_ :). Can you describe the exact steps you took, and their output.
Quoted 8 lines
For reference, after building & installing git head of libdrm & xf86-video-nouveau, I can clone the
git://anongit.freedesktop.org/nouveau/mesarepository, check out the gallium-0.1 branch and "make linux-dri-x86-64 DRI_DIRS=nouveau" to build. Then exportingLD_LIBRARY_PATHandLIBGL_DRIVERS_PATHto point to the mesalib/directory, I could run OpenArena, glxgears, etc. Not as of yesterday; it would die inemit_fence, but that's the right process.
It may be that DRI_DIRS=nouveau_winsys is needed.
Quoted 6 lines
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
Am Samstag 08 März 2008 schrieb Christopher James Halse Rogers:
Quoted 4 lines
First, the obligatory disclaimer: "really working" doesn't exactly translate to "Wooo! I can drop that annoying binary blob!". You should be able to get textured OpenGL support, and be able to run OpenArena at reasonable framerates until it crashes, though :).
Yeah, I'm fully aware of that and most I expect is some "wow, it (somehow) works" just ofr my curiosity.
Quoted 3 lines
I've seen other people reporting this error. I've never seen it myself, which suggests to me that it's user error _somewhere_ :). Can you describe the exact steps you took, and their output.
Using Gentoo, using the nouveau-overlay. Installing git-packages of libdrm, x11-drm, xf86-video-nouveau. Changed mesa-package to fetch nouveau/mesa git with gallium-0.1 branch. installed that.
modprobe nouveau
starting x
So, as I'm installing the stuff directly into the system (I know I'm crazy), I think the LD_foo doesn't apply to me.
http://rafb.net/p/EgQT6K88.html
Xorg.0.log if it's helping.
Signature · 2 lines
Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail: [email protected]
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · On Sat, 8 Mar 2008 15:04:30 +0100 "Hanno Böck"…
Using Gentoo, using the nouveau-overlay. Installing git-packages of libdrm, x11-drm, xf86-video-nouveau. Changed mesa-package to fetch nouveau/mesa git with gallium-0.1 branch. installed that.
Here might be the reason, maybe the ebuild is still building the wrong branch. Git ebuild coding has a nasty feature, but you are safe if you set *both* TREE and BRANCH. And I don't remember if it requires other changes, too.
Anyway, I'd recommend building mesa by hand, so you are sure which branch you build and how.
Signature · 2 lines
Pekka Paalanen http://www.iki.fi/pq/
A message that is not in the archive (sent off-list or not yet received): 20080309000013.126a89d1-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org
Quoted 6 lines · Pekka Paalanen
Quoted 3 lines · On Sat, 8 Mar 2008 15:04:30 +0100 "Hanno Böck"…
Using Gentoo, using the nouveau-overlay. Installing git-packages of libdrm, x11-drm, xf86-video-nouveau. Changed mesa-package to fetch nouveau/mesa git with gallium-0.1 branch. installed that.
Didn't know that "official" gallium development moved from darktama's git (which is good I guess) ;)
Probably been away for too long...
Quoted 7 lines
Here might be the reason, maybe the ebuild is still building the wrong branch. Git ebuild coding has a nasty feature, but you are safe if you set *both* TREE and BRANCH. And I don't remember if it requires other changes, too.
Anyway, I'd recommend building mesa by hand, so you are sure which branch you build and how.
Not sure if this matters, but I've noticed that the nouveau_dri.so library isn't built when doing "make linux-dri-x86-64 DRI_DIRS=nouveau_winsys". I had to manually build it.
Cheers,
Renato Caldas
A message that is not in the archive (sent off-list or not yet received): 1caff7430803081725l50360a1end8438c80cddac2b1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Am Sonntag, den 09.03.2008, 01:25 +0000 schrieb seventh guardian:
Quoted 17 lines · Pekka Paalanen
Quoted 6 lines
Quoted 3 lines · On Sat, 8 Mar 2008 15:04:30 +0100 "Hanno Böck" <[email protected]> wrote:
Using Gentoo, using the nouveau-overlay. Installing git-packages of libdrm, x11-drm, xf86-video-nouveau. Changed mesa-package to fetch nouveau/mesa git with gallium-0.1 branch. installed that.
Didn't know that "official" gallium development moved from darktama's git (which is good I guess) ;)
Probably been away for too long...Quoted 5 lines
Here might be the reason, maybe the ebuild is still building the wrong branch. Git ebuild coding has a nasty feature, but you are safe if you set *both* TREE and BRANCH. And I don't remember if it requires other changes, too.
Quoted 6 lines
Quoted 2 lines
Anyway, I'd recommend building mesa by hand, so you are sure which branch you build and how.
Not sure if this matters, but I've noticed that the nouveau_dri.so library isn't built when doing "make linux-dri-x86-64 DRI_DIRS=nouveau_winsys". I had to manually build it.
Use DRI_DIRS="nouveau" and "make linux-dri", even on amd64. I'm not sure the TG guys have updates linux-dri-x86-64 for the build system changes.
Ben.
Quoted 7 lines
Cheers,
Renato Caldas
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
Quoted 21 lines · Ben Skeggs
Am Sonntag, den 09.03.2008, 01:25 +0000 schrieb seventh guardian:
Quoted 20 lines · Pekka Paalanen
Quoted 6 lines
Quoted 3 lines · On Sat, 8 Mar 2008 15:04:30 +0100 "Hanno Böck" <[email protected]> wrote:
Using Gentoo, using the nouveau-overlay. Installing git-packages of libdrm, x11-drm, xf86-video-nouveau. Changed mesa-package to fetch nouveau/mesa git with gallium-0.1 branch. installed that.
Didn't know that "official" gallium development moved from darktama's git (which is good I guess) ;)
Probably been away for too long...Quoted 7 lines
Here might be the reason, maybe the ebuild is still building the wrong branch. Git ebuild coding has a nasty feature, but you are safe if you set *both* TREE and BRANCH. And I don't remember if it requires other changes, too.
Anyway, I'd recommend building mesa by hand, so you are sure which branch you build and how.
Quoted 6 lines
Quoted 3 lines
Not sure if this matters, but I've noticed that the nouveau_dri.so library isn't built when doing "make linux-dri-x86-64 DRI_DIRS=nouveau_winsys". I had to manually build it.
Use DRI_DIRS="nouveau" and "make linux-dri", even on amd64. I'm not sure the TG guys have updates linux-dri-x86-64 for the build system changes.
I've been using the linux-dri-x86-64 target, and it seems to be working (OpenArena, glxgears), most of the time at least! It certainly builds.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau