Hey guys, I'm using the dolphin emulator from time and the stable version works reasonable well with current nvidia cards and nouveau.The git version got an overhaul however and now uses opengl3 and ubos (without ubo it uses a glUniform fallback). The ubo support works with the blobs. There are probably a few bugs with ubo one might be because of ubo access+offset (glBindBufferRange) as this is uncommon, there are no piglit tests. I use the linux kernel from git and mesa from git (last time I compiled it was 3 days ago). The main card I test it on is> 01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce 9300MGS] (rev a1) but I tested it on newer ones as well. If you want to test it you can compile dolphin-emu from git ( https://code.google.com/p/dolphin-emu/wiki/Linux_Build) and use this image http://sonicadvance11.dyndns.org/starfield.dol to test it.You don't need any bios files or actual wii games to dump. With kind regards, Thomas Schneider -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130621/d4d67bba/attachment.html>
Oh and just for the sake of completeness the problem occurs in the form of wrongly rendered textures in front of a black screen. The objects only are fusible for a second and them disappear sometimes they appear at the wrong position or are rotated. If you compile dolphin with GLEW_ARB_uniform_buffer_object replaced with false in Source/Plugins/Plugin_VideoOGL/Src/Render.cpp the problems won't occur. I tried testing it with other cards but they got different problems for example my "GeForce GTX 560 SE" throws dozens of> > [ 63.403141] nouveau E[ PGRAPH][0000:01:00.0] DATA_ERROR [(unknown enum0x00000053)] ch 3 [0x023fa7b000 dolphin-emu[727]] subc 2 class 0x9039 mthd 0x0300 data 0x00100100 lines when trying to run dolphin with it.I will try to test it later with all my remaining nvidia cards and nouveau. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130711/8a325fea/attachment.html>
Hi Thomas, Are you well-versed in C and OpenGL? If so, can you write a test case for it that shows the problem? If not, would you mind running a test case if I wrote it and letting me know how well it works (if at all)? I'm not a nouveau developer, but I do have an interest in seeing this bug resolved (my app needs working GL 3.3 support) and I imagine compiling and running an emulator (including downloading test ISOs) is a very... un-fun ... task to reproduce your bug, indeed. Let me know so we can get to the bottom of this! Best Regards, Patrick On Thu, Jul 11, 2013 at 2:21 PM, Thomas Schneider <maxmusterm at gmail.com>wrote:> Oh and just for the sake of completeness the problem occurs in the form of > wrongly rendered textures in front of a black screen. The objects only are > fusible for a second and them disappear sometimes they appear at the wrong > position or are rotated. > If you compile dolphin with GLEW_ARB_uniform_buffer_object replaced with > false in Source/Plugins/Plugin_VideoOGL/Src/Render.cpp the problems won't > occur. > I tried testing it with other cards but they got different problems for > example my "GeForce GTX 560 SE" throws dozens of >> >> [ 63.403141] nouveau E[ PGRAPH][0000:01:00.0] DATA_ERROR [(unknown > enum 0x00000053)] ch 3 [0x023fa7b000 dolphin-emu[727]] subc 2 class 0x9039 > mthd 0x0300 data 0x00100100 > lines when trying to run dolphin with it.I will try to test it later with > all my remaining nvidia cards and nouveau. > > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/nouveau > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130711/22e3d082/attachment.html>
Thomas, OK, thanks for the update. I don't have a working machine with NV graphics that supports UBOs. Could you compile and run a test program for me if I wrote it? Though it may appear to not work for UBO offsets other than 0, there may be another pattern here, such as multiple of page size or something crazy like that. If we can find more information, it may help other developers. Patrick On Thu, Jul 11, 2013 at 4:24 PM, Thomas Schneider <maxmusterm at gmail.com>wrote:> I myself am not that well-versed in c and opengl - especially opengl - I > can read and write basic c code but that's my limit. > The problem only appears when using an offset that's not zero.If you want > to debug the issue you could very well use the dolphin-emu and apitrace. > You can find one apitrace here http://markus.members.selfnet.de/dolphin/dolphin-emu.trace > (~48M) > The only 2 reasons I ever thought of learning more c and opengl were > dolphin and nouveau (what a coincidence). > Hope that could help. > With kind regards, > Thomas Schneider > > > 2013/7/11 Patrick Baggett <baggett.patrick at gmail.com> > >> Hi Thomas, >> >> Are you well-versed in C and OpenGL? If so, can you write a test case for >> it that shows the problem? If not, would you mind running a test case if I >> wrote it and letting me know how well it works (if at all)? I'm not a >> nouveau developer, but I do have an interest in seeing this bug resolved >> (my app needs working GL 3.3 support) and I imagine compiling and running >> an emulator (including downloading test ISOs) is a very... un-fun ... task >> to reproduce your bug, indeed. >> >> Let me know so we can get to the bottom of this! >> >> Best Regards, >> >> Patrick >> >> >> On Thu, Jul 11, 2013 at 2:21 PM, Thomas Schneider <maxmusterm at gmail.com>wrote: >> >>> Oh and just for the sake of completeness the problem occurs in the form >>> of wrongly rendered textures in front of a black screen. The objects only >>> are fusible for a second and them disappear sometimes they appear at the >>> wrong position or are rotated. >>> If you compile dolphin with GLEW_ARB_uniform_buffer_object replaced with >>> false in Source/Plugins/Plugin_VideoOGL/Src/Render.cpp the problems won't >>> occur. >>> I tried testing it with other cards but they got different problems >>> for example my "GeForce GTX 560 SE" throws dozens of >>>> >>>> [ 63.403141] nouveau E[ PGRAPH][0000:01:00.0] DATA_ERROR [(unknown >>> enum 0x00000053)] ch 3 [0x023fa7b000 dolphin-emu[727]] subc 2 class 0x9039 >>> mthd 0x0300 data 0x00100100 >>> lines when trying to run dolphin with it.I will try to test it later >>> with all my remaining nvidia cards and nouveau. >>> >>> _______________________________________________ >>> Nouveau mailing list >>> Nouveau at lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/nouveau >>> >>> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130711/ae9e1e7b/attachment-0001.html>