(10-28-2013, 06:40 AM)hwangste Wrote: [ -> ] (10-27-2013, 08:26 PM)DarkeoX Wrote: [ -> ]Hmm, just to check something, what's the output of
Code:
ls -l /usr/lib/xorg/modules/extensions/libglx.so
?
-rw-r--r-- 1 root root 435568 Sep 22 10:48 /usr/lib/xorg/modules/extensions/libglx.so
Mmh looks like your system isn't using the nvidia GLX module. Usually, that file is a symbolic link to Nvidia's blob libgl. I couldn't reproduce your compilation issue but you can already try to reinstall your graphics driver.
Sorry for late reply - I applied the first commit and built, now seems to run fine, games are at least starting... I'll try later on if the later commit causes the black screen problem.
For the record though, I also have the same thing with the libglx.so, it's not a symlink, just a regular file (could be a regular link though?), however the nvidia-settings software at least tells me that nvidia's glx module is in use, and I've also reinstalled the GPU driver and the library is still the same (not a symlink). So that's probably not the issue...
Ok, tried compiling the second commit - it doesn't build, gives these errors:
[ 67%] Building CXX object Source/Plugins/Plugin_VideoOGL/CMakeFiles/videoogl.dir/Src/TextureConverter.cpp.o
/home/vesa/tmp/dolphin-emu/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp: In constructor ‘OGL::Renderer::Renderer()’:
/home/vesa/tmp/dolphin-emu/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp:257:50: error: ‘GLEW_AMD_pinned_memory’ was not declared in this scope
[ 67%] Building CXX object Source/Plugins/Plugin_VideoOGL/CMakeFiles/videoogl.dir/Src/VertexShaderCache.cpp.o
make[2]: *** [Source/Plugins/Plugin_VideoOGL/CMakeFiles/videoogl.dir/Src/Render.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Source/Plugins/Plugin_VideoOGL/CMakeFiles/videoogl.dir/all] Error 2
make: *** [all] Error 2
dii Wrote:/home/vesa/tmp/dolphin-emu/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp:257:50: error: ‘GLEW_AMD_pinned_memory’ was not declared in this scope
IIRC, you need to update your installed version of GLEW
or just edit the CMakeList.txt file so that CMake always compiles and links against with the version of GLEW in Dolphin's External files. Additionally, you could just comment out that line altogether with no ill effects (that I know of at least).
Ok, got it compiled and it runs fine, no black screens or anything.
Maybe the problem was GLEW all along? I could try building the latest version with and without static GLEW.
(11-04-2013, 06:30 PM)dii Wrote: [ -> ]Ok, got it compiled and it runs fine, no black screens or anything.
Maybe the problem was GLEW all along? I could try building the latest version with and without static GLEW.
Nope, no luck. Tried compiling latest version (as of today) from master with the static GLEW enabled, and it again refused to launch a game - black screen, then crash. Got messages about double buffered visuals again.
So the problem seems to have been introduced somewhere between the second commit and current.
Any progress on this? Any new ideas?