Go to advanced search

by ptitSeb
Thu Apr 06, 2017 10:28 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Simply glxgears to check it works.

From the build folder of gl4es, try with

Code: Select all

LD_LIBRARY_PATH=lib glxgears
and also with

Code: Select all

LD_LIBRARY_PATH=lib LIBGL_FB=1 glxgears
to see fullscreen stuff.

a test with

Code: Select all

LD_LIBRARY_PATH=lib LIBGL_FB=3 glxgears
can be interesting also.
by ptitSeb
Wed Apr 05, 2017 4:18 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

raysaaron wrote:I don't know but it works on Eric Anholt's OpenGL Driver.
Zandronum works with the beta OpenGL driver?
by ptitSeb
Wed Apr 05, 2017 3:45 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Vanfanel wrote:Nope, still the same problem:
Mmmm, ok, third try, this time it should compile on the RPi.
by ptitSeb
Wed Apr 05, 2017 2:59 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Vanfanel wrote:@ptitSeb: Thanks for adding dispmanx support.
Seems it won't build however:
Ok, second try upload to my github. It should build now (but maybe it segfault running, in that case, I need the "LIBGL: Warning XXXX is null" that maybe printed if any)
by ptitSeb
Wed Apr 05, 2017 2:11 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

@ptitSeb: It does not work at all, I have tried :D Any chances of dispmanx being added? X11 isn't exactly a good thing on the Pi and all gaming-oriented distros skip it for good... Ok, I have pushed a first try to my github. I try to use dispmanx complety dynamicaly (so there is still no #ifdef BCM...
by ptitSeb
Wed Apr 05, 2017 10:26 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Vanfanel wrote:@ptitSeb: It does not work at all, I have tried :D
Any chances of dispmanx being added? X11 isn't exactly a good thing on the Pi and all gaming-oriented distros skip it for good...
I'll take a look and see if I can put some simple init code.
by ptitSeb
Wed Apr 05, 2017 9:43 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

@ptitSeb: How's LIBGL_FB=1 supposed to work on the Raspberry Pi? The Raspberry Pi currently uses dispmanx as it's X11-less 2D system, but there is no dispmanx code in gl4es at all. Mmmm, maybe it will not work indeed. I don't have a RPi to test, but yeah, some dispmanx minimum code probably need to...
by ptitSeb
Wed Apr 05, 2017 8:33 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Freeze? That's odd.

Can you copy/paste the console output?

Also, you can try to use some gl4es env. variable to tweak thing.
You can try LIBGL_FB=1 or LIBGL_FB=3 to see if it solve the freeze issue (LIBGL_FB=3 may slow things down a bit, and LIBGL_FB=1 will skip X11 stuff and so force fullscreen).
by ptitSeb
Wed Apr 05, 2017 6:40 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Yes, on the rasperry GLESv1 is named libGLESv1_CM.so. It can also be found as libGLES_CM.so on other machine. gl4es has code to load it with this 2 names, and also initialize first the BCM stuff (only found on RPi) if found. I don't understand what is the status on Zandronum / gl4es for you. Is it w...
by ptitSeb
Tue Apr 04, 2017 4:17 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Almost. That's the GLES2 driver infos (and this time, it's hardware accelerated). gl4es use GLESv1 driver, but it should be there too.

Doesn't Zandronum work with gl4es and the Broadcom GLES driver?
by ptitSeb
Tue Apr 04, 2017 2:18 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

I don't really understand what's going on here. What I see is that: 1. It's not a GLES driver but a full OpenGL driver? 2. It's MESA GL in Software mode (so it's super slow) Even it does work eventually, it will be to slow to be useable. PS: Are you using the Beta Desktop OpenGL driver? If yes, then...
by ptitSeb
Tue Apr 04, 2017 1:33 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

THt's the GL extension provides by gl4es. I was more interested in the underlying GLES extension.

To easily have then, you can add

Code: Select all

printf("LIBGL: GLES extensions are\n%s\n", Exts);
Line 101 of src/glx/hardext.c

(I'll probably do a LIBGL_XXXX option in the near future for that).
by ptitSeb
Tue Apr 04, 2017 1:14 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

What do you mean by "it doesn't work"? It doesn't start and crash? just exit? give a black screen (in that case, try to remove ~/.config/zandronum or whatever the folder of the config is on your machine). Aso, I'm surprised by the small number of extension GL4ES found in the previous copy of the con...
by ptitSeb
Tue Apr 04, 2017 11:36 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

@raysaaron

I have pushed some changes to gl4es (fixing a bug with glBlendEquation) and to Zandronum (moving all Pandora code behind a PANDORA define).
by ptitSeb
Tue Apr 04, 2017 11:06 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

I have fixed gl4es. But it seems your GLES1.1 driver doesn't expose BlendEquation extension anyway.

I still have to fix my Zandronum repo to manque Pandora specific changes (800x480 forced resolution, special keymap...) behind a PANDORA define. I'm working on it now.
by ptitSeb
Tue Apr 04, 2017 10:56 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Mmmm, seems like I have introduce a bug and I get a crash trying to use glBlendEquation on my VM. I'll try to fix that (in gl4es)
by ptitSeb
Tue Apr 04, 2017 8:54 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Anyway, I have just pushed a change to my repo to make NO_ASM default now.
by ptitSeb
Tue Apr 04, 2017 8:12 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

You need to set NO_ASM to ON.
you can use ccmake, the curse gui for cmake, to easily change parameters before compile.
by ptitSeb
Mon Apr 03, 2017 4:56 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

you are missing openssl.

Try some

Code: Select all

sudo apt-get install libgnutls-openssl-dev
by ptitSeb
Mon Apr 03, 2017 4:28 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

It works on my side.

You can download it manually.

get

https://www.sqlite.org/2016/sqlite-auto ... 100.tar.gz

rename it to sqlite-774a05b8e7c9318111228bd5ad6bf65272f3fe38.tar.gz
and put that archive inside sqlite subfolder. The cmake process should then complete.
by ptitSeb
Mon Apr 03, 2017 4:22 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Ah, ok. Let me try again on a vm, I'll clean the build folder to be sure.
by ptitSeb
Mon Apr 03, 2017 3:41 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

Hi, I'm happy to join this conversation because I'm still searching for the "definitive" source port of (not-vanilla) DOOM on Raspberry Pi. Currently the scene, IMHO, is a bit confused on RPi, with A LOT of "untapped potential": in Raspbian repos there is PrBOOM that seems GLES accelerated but old ...
by ptitSeb
Mon Apr 03, 2017 3:30 pm
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

For this compile issue. I never had this issue. Is you RPi on network? Also, you can probably install sqlite from some sudo apt-get or compile it from source and that should fix the issue. *EDIT* : I rechecked the CMAkeList and no, it needs to be downloaded. It should download v3.14.1 and inside sql...
by ptitSeb
Mon Apr 03, 2017 10:20 am
Forum: Gaming
Topic: gzdoom on raspberry pi
Replies: 71
Views: 18221

Re: gzdoom on raspberry pi

I have ported GZdoom to he Pandora. I used an old version of GZdoom because newer ones need shaders and I didn't want to port to GLES2 (I use gl4es on the Pandora to provide GPU acceleration). If you want to try something on the RPi, I suggest you try Zandronum. Use my bitbucket repo there: https://...
by ptitSeb
Fri Feb 24, 2017 3:09 pm
Forum: Gaming
Topic: Steam and Halflife for raspberry pi 2
Replies: 6
Views: 5595

Re: Steam and Halflife for raspberry pi 2

For HalfLife 1, you have a long thread about having it running on the RPi already.
look there: viewtopic.php?f=78&t=115767

Go to advanced search