Joel R. Voss
2008-Feb-15 16:29 UTC
[Nouveau] Patch to fix latest mesa git undefined symbol
Hello, I decided to try nouveau tonight and I followed the install instructions. 2D worked fine (a bit slower than nv/vesa), so I tried out 3D. I was able to get glxgears to work (1000 fps on my nv15) only after I patched the mesa driver. Attached is the patch to nouveau_screen.c that adds a stub to resolve the undefined symbol that all GL programs threw. I discussed it briefly with herve who suggested I write the stub. A full implementation of the function can be found in src/mesa/drivers/dri/i915/intel_screen.c. It's beyond my current code expertise to know if it can be copypasted. I would appreciate comments or questions on why this patch is needed. Also, if you still get "Direct Rendering: No" after applying the patch, here is a way to debug more: export LIBGL_DEBUG=verbose mesa-git/progs/xdemos/glxinfo It will tell you why Direct Rendering failed. I like the project and I hope to work on 3D a bit with my nv15 and nv43. There's a lot of sample mesa programs that work partially or not at all. I appreciate all the hard work the team has put into this. Making 3D work for brave testers is a great cause in my opinion. Regards, Joel R. Voss http://AltSci.com -------------- next part -------------- A non-text attachment was scrubbed... Name: mesa_nouveau_dri2DriverInitScreen.patch Type: text/x-diff Size: 728 bytes Desc: not available Url : http://lists.freedesktop.org/archives/nouveau/attachments/20080215/5d660de0/attachment.patch
Apparently Analagous Threads
- [Bug 1791] New: Newlines in filenames are converted to ^J
- [Bug 93896] New: Nvidia GeForce GTX 970M unsupported, no backlight control
- [Bug 106041] New: Nvidia GeForce GTX 970M blank screen after resume
- NOUVEAU(0): DRI3 on EXA enabled
- NOUVEAU(0): DRI3 on EXA enabled