Go to advanced search

by ptitSeb
Tue Oct 18, 2016 3:25 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

I think there is an issue with your data.
I didn't have to do anything on my side when I used the windows steam version data (but I haven't tried with the linux steam version, which I assume you are using).
by ptitSeb
Tue Oct 18, 2016 2:41 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

Don't put -dedicated that will activate the "dedicated server" and that's not what you want.
by ptitSeb
Tue Oct 18, 2016 8:51 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

Yes, that should have fixed it.

What is happening now? Because there is nothing special in the log now.
Also, don't forget to compile XashXT and copy the client.so lib...
by ptitSeb
Mon Oct 17, 2016 5:03 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt : I think that hl_386.so reference comes from in your data files. You should try 'grep "hl_386.so" valve/* -rn' to locate the file. That text file is created bu xash3d, and you probably tried it on an x86 version? Try to remove that text file, xash3d will recreate a new one.
by ptitSeb
Mon Oct 17, 2016 4:14 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

It's still looking for the wrong libs?
I have to double-check the code...
by ptitSeb
Mon Oct 17, 2016 12:07 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

Anyway, I have (I guess) fixed my github sources, you can "git pull" and "make -j4" again @CockPitt
by ptitSeb
Mon Oct 17, 2016 12:02 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

Mmm, ok, try to add "-std=c99" the the -DCMAKE_C_FLAGS="...". I'll fix my github sources later.
by ptitSeb
Mon Oct 17, 2016 8:35 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

I think you didn't built xash3d with the correct flags, as it look for i386 libs.
by ptitSeb
Mon Apr 11, 2016 5:05 pm
Forum: Gaming
Topic: OpenRA and Raspberry Pi?
Replies: 16
Views: 7369

Re: OpenRA and Raspberry Pi?

WarZone2100 works well with my version of glshim (well, that version that is still compatible with OpenGL 1.5, because current developpement version has dropped that support and so is not working anymore).
by ptitSeb
Mon Mar 14, 2016 11:25 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt: ccmake cannot be used on XashXT or hl.so because those are simple Makefile project, not CMakeList based ones. but just edit the Makefile.rpi to tune the CFLAGS like with ccmake. The crashs you have are probably inside the driver (you can still try to get a backtrace with gdb), so not much...
by ptitSeb
Mon Mar 07, 2016 9:41 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

HI there, I don't a RPI , so cannot be of much help, but about the lack of X server, I think it will be an issue.
glshim use X for a few function (but you can try to activate the Android build, as this one doesn't use X). I'm not sure if Xash3D itself use X (for input mainly), maybe just SDL2.
by ptitSeb
Thu Mar 03, 2016 9:44 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt, you have to do
"PATH=/home/pi/SDL2GL/bin:$PATH" and "PKG_CONFIG_PATH=/home/pi/SDL2GL/lib/pgk-config:$PKG_CONFIG_PATH" or it will not work indeed. PATH is an important environnement variable that contain many things (do a "echo $PATH" to have an idea).
by ptitSeb
Wed Mar 02, 2016 9:34 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt: indeed, it's not there.
Maybe it will be better to use the PKG_CONFIG_PATH variable and the PATH variable (for sdl2-config).
Add the sdl2/bin to your PATH and sdl2_image/lib/pgk-config to your PKG_CONFIG_PATH variable before launching cmake. It should help find the libs.
by ptitSeb
Tue Mar 01, 2016 10:30 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt: try to use ccmake instead of cmake, and type "t" to go to advanced option. You should be able to overide all folder / libs there...
by ptitSeb
Sun Feb 28, 2016 10:50 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt: strange, RPI should be used. Is it my repo that you are using for Xash3D ?
Try using the interactive "ccmake" instead of "cmake" and see if RPI is in the list.
by ptitSeb
Sat Feb 27, 2016 9:20 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt: what output do you have?
by ptitSeb
Fri Feb 26, 2016 9:27 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt: I think you didn't compiled xash with the correct flags (I don't think RPI build is activated).
by ptitSeb
Thu Feb 18, 2016 9:09 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

Not much useful info I'm afraid. Only thing I notice that is strange for me is the error at the dlopen. It seems to not be able to open libs on 1st try but succeed on second try. That's odd, and I'm quite sure to not have this behavior on the Pandora. I have to check in the code to understand what m...
by ptitSeb
Wed Feb 17, 2016 11:00 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

use something like

Code: Select all

LIBGL_FB=1 LIBGL_BATCH=1 LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH gdb --args ./xash3d
then "r" to run the program
when it crash, type "bt" to have the back trace and "q" to quit.
by ptitSeb
Tue Feb 16, 2016 9:57 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

For the glitch, try the same level but without the "LIBGL_BATCH=1" (or using "LIBGL_BATCH=2"). You will probably have less performances but it's to check if the error can come from the batching process of glshim.
by ptitSeb
Mon Feb 15, 2016 9:47 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

for ccmake and "-g", easiest way would be to go to the "Build Type" and put "RelWithDebInfo" You will then have debug info and compilation optimisation. Instead of the "-g", you can put optimizations flag, like -mfpu=neon (for rpi2) or -mfpu=vfpv3 (for rpi1/0)...
by ptitSeb
Fri Feb 12, 2016 9:43 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

@CockPitt: the "-g" has to be added to the CFLAGS and CXXFLAGS. Easier way to do that is to use "ccmake" (instead of cmake).
by ptitSeb
Thu Feb 04, 2016 8:56 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

Yes, that could be helpfull.

(just to be sure, you made a "make -f Makefile.rpi clean" before recompiling again on both halflife and xashxt ?)
by ptitSeb
Tue Feb 02, 2016 9:19 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 71131

Re: Xash3D Engine on Raspberry Pi

Yeah, because the Pi-zero (all PI-1 in fact) doesn't have NEON, so, in halflife and xashxt, you'll have to modify the Makefile.rpi and change
"-mfpu=neon" with "-mfpu=vfpv3".

Don't expect stellar performances with a Pi0 or Pi1..
by ptitSeb
Tue Feb 02, 2016 9:17 am
Forum: Gaming
Topic: OpenRA and Raspberry Pi?
Replies: 16
Views: 7369

Re: OpenRA and Raspberry Pi?

OpenRA need OpenGL 2.x, so it will not work with current version o fglshim that wrap, for now, only OpenGL 1.x calls.

glshim do works with minecraft.

Go to advanced search