Go to advanced search

by ptitSeb
Tue Oct 06, 2015 12:44 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

I really need an sample (source code) of something that just create a GLES 1.1 context on the Raspberry Pi 2 to go further :(
by ptitSeb
Mon Oct 05, 2015 7:42 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Sorry I'm not really in to this. Can you explain a bit more what is the next step. Insidee xash3d folder, edit the file engine/CMakeList.txt search for "if(XASH_SDL)" then change target_link_libraries(${XASH_ENGINE_LIBRARY} ${SDL2_LIBRARIES} ${SDL2_IMAGE_LIBRARIES}) by target_link_libraries(${XASH_...
by ptitSeb
Thu Oct 01, 2015 1:14 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

This is probably in one of the bcm_host specific lib... Try to link with "-lbcm_host -lvcos" just in case...
by ptitSeb
Wed Sep 30, 2015 12:07 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

I will have difficulty to help now without a Pi to test. I found it strange that the error is "EGL_BAD_DISPLAY". That means it fail to create an eglDisplay using the suplied X11 Display. Not sure what next step could be. If you have working sample of GLES1.1 context creation on Pi, that could help...
by ptitSeb
Mon Sep 28, 2015 4:31 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

So, the EGL context is not good on first try. But I don't have a Raspberry, so I cannot really debug. The LIBGL_FB=1: it seems that mode doesn't work on Raspberry, but again, I cannot really debug. You can probably try to change a few things in the EGL context creation : mess with the file src/glx/g...
by ptitSeb
Tue Sep 22, 2015 6:51 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

also, in your valve/config.cfg make sure you have
cl_lc "1"
cl_lw "0"

and for fps display, it's
cl_showfps "1"


(You may try to adjust s_khz "44" maybe also, if alsa has difficulties, try to lower / change the freqency to match the hardware one (22KHz or 48Khz).
by ptitSeb
Mon Sep 21, 2015 8:07 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

The console is implemented without VGUI. But it's disabled by default. You need the "-dev 1" or "-console" on command line to activate it (and if the security as been disabled, like in my fork). I appreciate the reply, but that doesn't seem to make a difference for me. I was already using "-console...
by ptitSeb
Mon Sep 21, 2015 8:44 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Put "-dev 1" on command line argument, and fps should be shown.
by ptitSeb
Mon Sep 21, 2015 5:42 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

The console is implemented without VGUI. But it's disabled by default. You need the "-dev 1" or "-console" on command line to activate it (and if the security as been disabled, like in my fork).
by ptitSeb
Sun Sep 20, 2015 6:11 am
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

I tested this with the Anholt's WIP Mesa VC4 driver. It works fairly well. The biggest issue for me was choppy audio. You mean that you followed those instruction, without the glshim part, and you were able to enter the game, with some sound chopiness only? That mean only the glshim part is wrong t...
by ptitSeb
Fri Sep 18, 2015 1:32 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Thanks for testing! Good to know it works (that may open you some more game / software to test)
Try may be with LIBGL_FB=1 (env. variable)

About Xash3D, your SDL 2.0 is compiled without x11 I guess. Can you try with x11 support, and/or with LIBGL_FB=1 also?
by ptitSeb
Thu Sep 17, 2015 9:09 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

I have pushed the Makefile.rpi for halflife server, and change 1 little think on glshim for RPi, but I don't think it will be enough.

Btw, it will be interesting to test, with glxgears for example, if glshim is working fine.
by ptitSeb
Thu Sep 17, 2015 1:06 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

No window open? Mmmm, I have to put traces to understand what is happening (or what is not happening), that is strange. Maybe you can try to strace the launch, maybe something interesting will popup? Oh, I see that I have forgot somehow to push the Makefile.rpi on the halflife repo... I will fix tha...
by ptitSeb
Wed Sep 16, 2015 9:47 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Does the game tries to open a graphic window or something?

Also, I never tried xash3d with lunixbochs's glshim, only with mine. I don't know if it works in fact, so it could be interesting you compile my version of glshim and try with this one instead, just in case.
by ptitSeb
Wed Sep 16, 2015 9:03 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Yes, "hl.so" is needed and should be built and copied like before.
by ptitSeb
Wed Sep 16, 2015 8:43 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Ah yes, a typo :(

It's fixed,

Code: Select all

git pull
make -j4
and should be ok.
by ptitSeb
Wed Sep 16, 2015 8:34 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Ah yes, it's
-DRPI=ON

sorry (I'll edit my post too).
by ptitSeb
Wed Sep 16, 2015 8:12 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Ok it's posted. So the instruction should be like that now, at the "build xash3d" Build xash3d: cd /path/to/xash3d cmake . -DRPI=ON -DXASH_SDL=ON -DXASH_VGUI=OFF -DHL_SDK_DIR=hlsdk/ -DCMAKE_C_FLAGS="-mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon -funsafe-math-optimizations" -DCMAKE_CXX_FLAGS="-mcpu=cor...
by ptitSeb
Wed Sep 16, 2015 7:43 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Ok thanks for the detail.
The compilation of Xash3d is not good. Without the Pandora flags, it will look at the dll in a wrong place.
I'll add a "RPI" compilation flags...
by ptitSeb
Wed Sep 16, 2015 7:12 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

The files are on the right place. I noticed, that if I try to run Half Life, it creates 2 files. 1.opengl.cfg //======================================================================= // Copyright XashXT Group 2015 © // opengl.cfg - archive of opengl extension cvars //==============================...
by ptitSeb
Wed Sep 16, 2015 7:03 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Also, I have pushed some Makefile.rpi for halfile and XashXT. If you can try them...
by ptitSeb
Wed Sep 16, 2015 6:24 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

the "#valve" means it's trying to be a dedicated server. That means it doesn't found the client dlls. Did you put the client.so and hl.so in the same folder as xash3d ? In your folder, you should have: client.so hl.so libxashmenu.so libxash.so xash3d and the valve folder... (edit, btw, I submited a ...
by ptitSeb
Wed Sep 16, 2015 3:40 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Good, you just need to put your valve folder in place now (also, if you are using a Steam copy of HalfLife, you will need to play a bit on you PC first, or the game will not let you proceed very far... I guess it's some kind of protection). About the --prefix thingy, ok. May try with --prefix=/home/...
by ptitSeb
Tue Sep 15, 2015 9:59 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Also, I have made some changes tonight on glshim.
It should now compile and run "out-of-the-box" on the RPi2. If someone can test and report the results (I don't have a RPi).
by ptitSeb
Tue Sep 15, 2015 8:40 pm
Forum: Gaming
Topic: Xash3D Engine on Raspberry Pi
Replies: 257
Views: 69712

Re: Xash3D Engine on Raspberry Pi

Yes, that is the issue. Reconfigure, changing --disable-video-opengl by --enable-video-opengl and make again... You will then have a SDL2 lib that use desktop OpenGL. I advise you do not "make install", or at least install it not in the default system place. For that, in the configure, add a "--pref...

Go to advanced search