EmuNewz Network
Linux nightmares (issues) - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: Official Boards for Emunews Affiliated Emu Projects (https://www.emunewz.net/forum/forumdisplay.php?fid=47)
+--- Forum: Official RPCS3 Forum [archive] (https://www.emunewz.net/forum/forumdisplay.php?fid=172)
+---- Forum: RPCS3 - Support & Issue Reporting (https://www.emunewz.net/forum/forumdisplay.php?fid=163)
+---- Thread: Linux nightmares (issues) (/showthread.php?tid=164071)

Pages: 1 2


RE: Linux nightmares (issues) - ZeCoxao - 09-05-2014

i will wait then


RE: Linux nightmares (issues) - ZeCoxao - 09-18-2014

just came to report that issue 2. is "solved"? (in lubuntu with lxde works fine apparently, while with xubuntu or ubuntu it doesn't)

so packages show up as entries in LXDE when you extract them


RE: Linux nightmares (issues) - ZeCoxao - 09-20-2014

VSync doesn't seem to be working on latest revision in linux. Any ideas?
edit:i'm testing this on Railfan.


RE: Linux nightmares (issues) - ZeCoxao - 09-25-2014

ok, i found out the reason why vsync doesn't work on linux.
https://github.com/DHrpcs3/rpcs3/blob/279ec3d8a36d1ab99c0d7a69909a4f7b03b97dff/rpcs3/Emu/RSX/GL/GLGSRender.cpp#L1446
someone care to clarify why it is commented?
edit: nevermind, just saw... oh well Sad


RE: Linux nightmares (issues) - derpf - 09-25-2014

(09-25-2014, 08:48 PM)ZeCoxao Wrote: ok, i found out the reason why vsync doesn't work on linux.
https://github.com/DHrpcs3/rpcs3/blob/279ec3d8a36d1ab99c0d7a69909a4f7b03b97dff/rpcs3/Emu/RSX/GL/GLGSRender.cpp#L1446
someone care to clarify why it is commented?
edit: nevermind, just saw... oh well Sad

We do use GLEW on Linux, won't we? You should be able to load GLX_EXT_swap_contro with it for glXSwapIntervalEXT. (Then again I don't know how GLEW works.)


RE: Linux nightmares (issues) - Bigpet - 09-26-2014

You can re-enable it if you want, I just didn't bother loading the glx functions, they won't work in OSX nor in Wayland (EGL instead of GLX) I believe. You don't load them with GLEW but with the seperate GLX API (the xserver equivalent of wgl)


RE: Linux nightmares (issues) - ZeCoxao - 09-26-2014

i keep getting an undefined reference. so i dunno


RE: Linux nightmares (issues) - ZeCoxao - 09-26-2014

i found out the reason for the undefined reference:
on the first cmake CMakeLists.txt:
Code:
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
http://www.opengl.org/discussion_boards/showthread.php/183283-Linking-error-undefined-reference-to-glXSwapIntervalEXT
if i try this:
Code:
nm -Do /usr/lib/x86_64-linux-gnu/libGL.so | grep glXSwapIntervalEXT
i get nothing. however, if i try with nvidia (my card is an nvidia) drivers libGL.so:
Code:
nm -Do /usr/lib/nvidia-331-updates/libGL.so | grep glXSwapIntervalEXT
/usr/lib/nvidia-331-updates/libGL.so:000000000007e270 T glXSwapIntervalEXT
what do you guys suggest me to do? shall i rename that libGL to something else and create a symbolic link instead?
edit: tried that and no errors Big Grin testing now...
edit2: apparently it fails on runtime. it doesn't vsync at all. it compiles properly though Smile


RE: Linux nightmares (issues) - ZeCoxao - 10-27-2014

i'm having some issues. it seems one of the latest builds has made rpcs3 fail on making the games run on linux.
together i attach the executable for debugging purposes (it segfaults with Interpreter or JIT)
https://dl.dropboxusercontent.com/u/35197530/bin/rpcs3.tar.gz


RE: Linux nightmares (issues) - ZeCoxao - 11-06-2014

now the latest build runs normally with Interpreters and SPU JIT, but it fails with LLVM. i'll leave it attached.
https://dl.dropboxusercontent.com/u/35197530/bin/rpcs3-no-llvm.tar.gz