You are not logged in.
I'm trying to do some tests with pcsxr and ePSXe using this plugin.
It's 32bit, closed-source, and quite dated, but still one of the most functional plugins for PSX emulators.
PCSXR (cross-compiled in 32bit), just keeps crashing:
Failed to create OpenGL context!!!
Segmentation fault (core dumped)In fact it segfaults even with its built-in OpenGL and XVideo plugins as well.
Less than a year ago I was using 32bit pcsxr with this plugin on the same machine... not sure what's changed.
After installing a number of obscure dependencies, I got ePSXe running but it crashes when this plugin is selected:
./epsxe
* Running ePSXe emulator version 1.9.26.
* Memory handlers init.
* ePSXe: PSX BIOS loaded [/home/david/ROMS/PSX/bios/ps-41a.bin].
* Init internal cdrom ... CD_Init: open of "/dev/sr0" failed (123)
* Init gpu[0][libgpuPeteXGL2.so]
The program 'epsxe' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 18 error_code 2 request_code 154 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)I get the same sort of problem running the windows version of ePSXe in wine:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 1523
Current serial number in output stream: 1524I have both 64 and 32 bit versions of both nvidia and mesa's libGL, and I suspect that the plugin is trying to load the wrong library.
Is anyone else using Pete's XGL2 plugin with a PS1 emulator in archlinux?
EDIT: This may be affecting all 32bit OpenGL programs. I can't get any games to run in wine at the moment; they all crash with the same error.
Last edited by quequotion (2015-04-14 20:20:54)
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
No problem here with Intel GPU:
* Init gpu[0][libgpuPeteXGL2.so.2.0.9]
Intel Open Source Technology Center
Mesa DRI Intel(R) Haswell Desktop x86/MMX/SSE2
* Open gpu[0]Older version of ePSXe here, 1.9.4, but I somehow doubt that makes a difference. BTW, which obscure dependencies? The config utilities for some of these old plugins are GTK1, which might be considered obscure nowadays, but that's it.
Edit: Do you have lib32-nvidia-libgl installed?
Last edited by Gusar (2015-04-14 19:41:38)
Offline
No problem here with Intel GPU
There are reports of similar errors for various things and the nvidia driver... 64bit OpenGL programs with the same driver version seem to be fine; but it could be something broken in the 32bit nvidia drivers.
Actually, I don't know of a way I can check which libGL the programs are trying to use; is that possible?
which obscure dependencies? The config utilities for some of these old plugins are GTK1, which might be considered obscure nowadays, but that's it.
Yes, gtk1 (which was still installed from the last time I tried this, when it worked) also lib-compat for libstdc++-libc6.2-2.so.3, and a few others for ePSXe 1.9.25.
Do you have lib32-nvidia-libgl installed?
yaourt -Qs libgl
multilib/lib32-mesa 10.5.2-1
an open-source implementation of the OpenGL specification (32-bit)
local/lib32-nvidia-libgl-beta 349.16-1
NVIDIA library symlinks (32-bit, beta)
extra/libglade 2.6.4-5
Allows you to load glade interface files in a program at runtime
extra/libglademm 2.6.7-3
A C++ wrapper for libglade.
extra/mesa 10.4.3-1
an open-source implementation of the OpenGL specification
local/nvidia-libgl-full-beta-all 349.16-1
NVIDIA library symlinks (beta)Of course beta versions are not supported, I know, but I doubt that the problem is the drivers themselves (only seems to affect 32bit programs).
I've reinstalled the drivers and I'm going to try a reboot; maybe everything will be broken ![]()
Last edited by quequotion (2015-04-14 20:07:35)
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
Actually, I don't know of a way I can check which libGL the programs are trying to use; is that possible?
glxinfo32 from the lib32-mesa-demos package
Offline
Ok, back to normality.
Maybe I had forgotten to reboot after a previous reinstall of the drivers?
Still not sure what was wrong with 32bit pcsxr, but ePSXe is working now.
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline