User avatar
derhass
Posts: 32
Joined: Thu Aug 09, 2012 4:33 pm
Location: Germany
Contact: Website

Re: Prepare for Descent

Mon Mar 16, 2015 11:37 pm

Sorry for the late response.

I actually did plan on making some raspbian packages. What came out of it can be found here:

https://www-user.tu-chemnitz.de/~heinm/dxx/deb/

However, I'm not experienced with building debian packages, so consider these preliminary, and use them with care.

Regards,
derhass
"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove." -- Antoine de Saint Exupéry

User avatar
ulysess
Posts: 305
Joined: Thu Aug 02, 2012 6:35 am
Location: Spain
Contact: Website

Re: Prepare for Descent

Tue Mar 17, 2015 3:35 pm

Thks derhass for your .deb files, but I get an error on d1x-rebirth with Raspberry Pi 1 Model B & 2:

with -verbose -debug:

Code: Select all

Going into graphics mode...
Doing gamedata_init...Bus errorE to window of dimensions 640x48040x480)
derhass wrote:Sorry for the late response.

I actually did plan on making some raspbian packages. What came out of it can be found here:

https://www-user.tu-chemnitz.de/~heinm/dxx/deb/

However, I'm not experienced with building debian packages, so consider these preliminary, and use them with care.

Regards,
derhass
Mis apuntes de...Raspberry Pi: http://misapuntesde.com
Google Docs RPi: http://goo.gl/Iwhbq

User avatar
derhass
Posts: 32
Joined: Thu Aug 09, 2012 4:33 pm
Location: Germany
Contact: Website

Re: Prepare for Descent

Tue Mar 17, 2015 7:20 pm

Hi,
ulysess wrote:Thks derhass for your .deb files, but I get an error on d1x-rebirth with Raspberry Pi 1 Model B & 2:

with -verbose -debug:

Code: Select all

Going into graphics mode...
Doing gamedata_init...Bus errorE to window of dimensions 640x48040x480)
Hmm, I can confirm this. There must be something wrong with the package. Interestingly, the 0.58.0 instead of the 0.58.1 version seems to work (but that version has some serious bugs not related to the RPi itself, so I can't really recommend switching to that one...). I'll try to find out what went wrong with my package.

Regards,
derhass
"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove." -- Antoine de Saint Exupéry

User avatar
derhass
Posts: 32
Joined: Thu Aug 09, 2012 4:33 pm
Location: Germany
Contact: Website

Re: Prepare for Descent

Tue Mar 17, 2015 10:48 pm

I updated those packages. The issue should now be fixed.

Regards,
derhass
"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove." -- Antoine de Saint Exupéry

C-Fu
Posts: 88
Joined: Mon Nov 26, 2012 10:07 am
Location: Malaysia

Re: Prepare for Descent

Wed Mar 18, 2015 10:13 am

so this is what I did on my RPi 2, for those who are clueless/semi clueless like me :D

1. download these 2 files:
https://www-user.tu-chemnitz.de/~heinm/ ... armhf.deb
https://www-user.tu-chemnitz.de/~heinm/ ... -1_all.deb

2.

Code: Select all

sudo apt-get install gdebi
I don't really know what extra packages are needed, so just to be safe.

3.

Code: Select all

sudo gdebi d1x-rebirth_0.58.1-1
sudo gdebi d1x-rebirth-data-shareware_1.4-1.all.deb
it will prompt you to install/apt-get a few packages, just click yes.

then I have no idea where is it installed, so I just type

Code: Select all

d1x-rebirth
and voila! super smooth frame rate (45-55fps, 20-30fps during the exit mine cutscene) on max settings!

And I didn't even compile this for RPi 2 yet!
  • 1920x1080
  • 16x9
  • Trilinear (Anistropic not supported it says)
  • Transparency effects
  • Colored Dynamic Light
  • VSync
  • 4x Multisampling
  • FPS Counter
This brings back memories man... I even once almost puke myself back then when I was a kid after turning and twisting around :lol:

I think something like this should be on the first post for others to try, or you know, create a script that auto downloads and auto installs the necessary packages (which I have no idea how).

User avatar
ulysess
Posts: 305
Joined: Thu Aug 02, 2012 6:35 am
Location: Spain
Contact: Website

Re: Prepare for Descent

Wed Mar 18, 2015 11:34 am

C-Fu wrote:so this is what I did on my RPi 2, for those who are clueless/semi clueless like me :D ...
With permission from derhass, I’ve prepared a script to install it (add HIGH textures & OGG files for better experience)

;)

You can get it from here
Mis apuntes de...Raspberry Pi: http://misapuntesde.com
Google Docs RPi: http://goo.gl/Iwhbq

C-Fu
Posts: 88
Joined: Mon Nov 26, 2012 10:07 am
Location: Malaysia

Re: Prepare for Descent

Wed Mar 18, 2015 2:48 pm

ulysess wrote:
C-Fu wrote:so this is what I did on my RPi 2, for those who are clueless/semi clueless like me :D ...
With permission from derhass, I’ve prepared a script to install it (add HIGH textures & OGG files for better experience)

;)

You can get it from here
That. is. awesome. Damn! :D

If I may suggest, add an option for people with RPi & RPi 2 to compile themselves of all the necessary files. I have no idea on how much work this is, but by doing that I would pronounce you the king of awesomeness :lol:

metalj
Posts: 212
Joined: Sat Feb 07, 2015 11:56 pm

Re: Prepare for Descent

Wed Mar 18, 2015 5:47 pm

Could someone tell me what a script is and how I would run it. I love descent 2 it has been in my amazon wish list for a while along with slam tilt pinball.
Backspace 28 times :)

strawberrytau
Posts: 67
Joined: Wed May 30, 2012 7:56 am

Re: Prepare for Descent

Wed Mar 18, 2015 9:16 pm

Save the script to your pi.

Cd to the directory it is in.

Then run:

Code: Select all

sudo chmod 755 descent.sh
Then run:

Code: Select all

sudo ./descent.sh

strawberrytau
Posts: 67
Joined: Wed May 30, 2012 7:56 am

Re: Prepare for Descent

Wed Mar 18, 2015 9:18 pm

ulysess wrote:
C-Fu wrote:so this is what I did on my RPi 2, for those who are clueless/semi clueless like me :D ...
With permission from derhass, I’ve prepared a script to install it (add HIGH textures & OGG files for better experience)

;)

You can get it from here
Ulysses, great script! I installed the game on my raspberry pi 2 but I'm having some sound issues. Sound drops out and I get underrun errors. Did you encounter these and do you know how to fix them?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5164
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Prepare for Descent

Wed Mar 18, 2015 10:08 pm

strawberrytau wrote:Ulysses, great script! I installed the game on my raspberry pi 2 but I'm having some sound issues. Sound drops out and I get underrun errors. Did you encounter these and do you know how to fix them?
There was a recent firmware fix for audio dropouts when busy with 3D.
You can run rpi-update to get this (although be aware this is testing firmware that could have issues - backing up is always advisable).

I've just tried descent and audio seems fine (I'm using latest firmware).

strawberrytau
Posts: 67
Joined: Wed May 30, 2012 7:56 am

Re: Prepare for Descent

Sat Mar 21, 2015 10:57 am

Thanks. I actually thought rpi-update had been replaced by apt-get upgrade, but it worked! No dropouts at all now.

User avatar
DougieLawson
Posts: 34167
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Prepare for Descent

Sat Mar 21, 2015 12:15 pm

strawberrytau wrote:Thanks. I actually thought rpi-update had been replaced by apt-get upgrade, but it worked! No dropouts at all now.
For most normal, regular users that's true to the extent that casual use of rpi-update should be actively discouraged. The RPF are pushing their stable stock kernel & firmware down the line with apt-get. If you can run with that stable kernel you should never need to run rpi-update. If you find a firmware/kernel bug, then running rpi-update to get a beta test/unstable version to resolve the bug is a good idea.

Before running rpi-update make sure you've got a good bootable copy of your SDcard, in case of disaster.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

User avatar
derhass
Posts: 32
Joined: Thu Aug 09, 2012 4:33 pm
Location: Germany
Contact: Website

Re: Prepare for Descent

Sun Mar 22, 2015 3:52 am

The dxx-rebirth source code has undergone some serious changes in the previous years. The code is now C++ (which unfortunately implies a dramatic increase of the compile time on the RPi). However, I updated the code to make it compile on the RPi again. My changes can be found here: https://github.com/derhass/dxx-rebirth/ ... cation/rpi. Most of this is already pushed to the upstream repo.

I prepared new binaries as raspbian packages based on the current code basis as beta preview versions. Note that the version number is completely made up by me, I just took the latest release and added the date as fourth version component:

https://www-user.tu-chemnitz.de/~heinm/dxx/deb/beta/
"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove." -- Antoine de Saint Exupéry

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: Prepare for Descent

Sun Mar 22, 2015 6:37 pm

Has anybody gotten this to work on the Pi2B? I'm running Jessie.

I believe I have everything required installed.

I used the install script which was recently posted. I also attempted manual installation. Then I went on to try the new beta packages which were just posted.

All these attempts have resulted in a black screen when I try to run either d1x-rebirth or d2x-rebirth. Sometimes along with the black screen a mouse cursor is present and I can move it around a 640x480 rectangle in the middle of the 1360x768 screen. Sometimes the cursor is frozen and sometimes it isn't visible at all. Sometimes I hear the music (it seems to work well when i do hear it, and also seems to work better on the newer beta packages) and some start attempts remain completely silent.

Is anyone else seeing the same behavior?

Here's a log:

Code: Select all

PHYSFS: append sharepath directory "/usr/share/games/d2x-rebirth/" to search path
PHYSFS: append canonical directory "/home/ktb/.d2x-rebirth/data" to search path from relative name "data"

Type d2x-rebirth -help' for a list of command-line options.

PHYSFS: Listing contents of Search Path.
PHYSFS: [/home/ktb/.d2x-rebirth/] is in the Search Path.
PHYSFS: [/usr/share/games/d2x-rebirth/] is in the Search Path.
PHYSFS: * We've got [d2demo.ham].
PHYSFS: * We've got [d2demo.hog].
PHYSFS: * We've got [d2demo.pig].
PHYSFS: * We've got [d2xr-sc55-music.dxa].
PHYSFS: * We've got [gamelog.txt].
PHYSFS: Checking supported archive types.
PHYSFS: Supported archive: [ZIP], which is [PkZip/WinZip/Info-Zip compatible].
PHYSFS: Supported archive: [7Z], which is [LZMA (7zip) format].
PHYSFS: Supported archive: [GRP], which is [Build engine Groupfile format].
PHYSFS: Supported archive: [PAK], which is [Quake I/II format].
PHYSFS: Supported archive: [HOG], which is [Descent I/II HOG file format].
PHYSFS: Supported archive: [MVL], which is [Descent II Movielib format].
PHYSFS: Supported archive: [WAD], which is [DOOM engine format].
PHYSFS: append canonical directory "/home/ktb/.d2x-rebirth/descent2.hog" to search path from relative name "descent2.hog"
PHYSFS: append canonical directory "/usr/share/games/d2x-rebirth/d2demo.hog" to search path from relative name "d2demo.hog"
D2X-Rebirth v0.58.1  Mar 22 2015 04:34:02
This is a MODIFIED version of Descent 2, based on Full Version v1.2.
Copyright (C) 1994, 1995 Parallax Software Corporation
DESCENT is a trademark of Interplay Productions, Inc.
Copyright (C) 1999 Peter Hawkins, 2002 Bradley Bell, 2005-2013 Christian Beckhaeuser
Getting settings from DESCENT.CFG...
PHYSFS: Adding archives to the game.
PHYSFS: Added /usr/share/games/d2x-rebirth/d2xr-sc55-music.dxa to Search Path
Game content updated!
PHYSFS: Listing contents of Search Path.
PHYSFS: [/usr/share/games/d2x-rebirth/d2xr-sc55-music.dxa] is in the Search Path.
PHYSFS: [/home/ktb/.d2x-rebirth/] is in the Search Path.
PHYSFS: [/usr/share/games/d2x-rebirth/] is in the Search Path.
PHYSFS: [/usr/share/games/d2x-rebirth/d2demo.hog] is in the Search Path.
PHYSFS: * We've got [README.TXT].
PHYSFS: * We've got [brief01.pcx].
PHYSFS: * We've got [brief02.pcx].
PHYSFS: * We've got [brief03.pcx].
PHYSFS: * We've got [brief04.pcx].
PHYSFS: * We've got [brief2.txb].
PHYSFS: * We've got [briefing.hmp].
PHYSFS: * We've got [briefing.hmq].
PHYSFS: * We've got [briefing.ogg].
PHYSFS: * We've got [cmissile.pof].
PHYSFS: * We've got [credits.256].
PHYSFS: * We've got [credits.hmp].
PHYSFS: * We've got [credits.hmq].
PHYSFS: * We've got [credits.ogg].
PHYSFS: * We've got [credits.txb].
PHYSFS: * We've got [d2demo.ham].
PHYSFS: * We've got [d2demo.hog].
PHYSFS: * We've got [d2demo.pig].
PHYSFS: * We've got [d2drums.bnk].
PHYSFS: * We've got [d2leva-1.sl2].
PHYSFS: * We've got [d2leva-1.txb].
PHYSFS: * We've got [d2leva-2.sl2].
PHYSFS: * We've got [d2leva-2.txb].
PHYSFS: * We've got [d2leva-3.sl2].
PHYSFS: * We've got [d2leva-3.txb].
PHYSFS: * We've got [d2melod.bnk].
PHYSFS: * We've got [d2xr-sc55-music.dxa].
PHYSFS: * We've got [default.256].
PHYSFS: * We've got [descent.hmp].
PHYSFS: * We've got [descent.hmq].
PHYSFS: * We've got [descent.ogg].
PHYSFS: * We've got [descent.sng].
PHYSFS: * We've got [descent.txb].
PHYSFS: * We've got [descentd.pcx].
PHYSFS: * We've got [digitest.raw].
PHYSFS: * We've got [drum.bnk].
PHYSFS: * We've got [drum32.dig].
PHYSFS: * We've got [endgame.hmp].
PHYSFS: * We've got [endgame.hmq].
PHYSFS: * We've got [ending2.txb].
PHYSFS: * We've got [endlevel.hmp].
PHYSFS: * We've got [endlevel.hmq].
PHYSFS: * We've got [endlevel.ogg].
PHYSFS: * We've got [flare.pof].
PHYSFS: * We've got [font1-1.fnt].
PHYSFS: * We've got [font2-1.fnt].
PHYSFS: * We've got [font2-2.fnt].
PHYSFS: * We've got [font2-3.fnt].
PHYSFS: * We've got [font3-1.fnt].
PHYSFS: * We've got [game01.hmp].
PHYSFS: * We've got [game01.hmq].
PHYSFS: * We've got [game01.ogg].
PHYSFS: * We've got [game02.hmp].
PHYSFS: * We've got [game02.hmq].
PHYSFS: * We've got [game02.ogg].
PHYSFS: * We've got [game03.hmp].
PHYSFS: * We've got [game03.hmq].
PHYSFS: * We've got [game03.ogg].
PHYSFS: * We've got [game04.ogg].
PHYSFS: * We've got [gamelog.txt].
PHYSFS: * We've got [groupa.256].
PHYSFS: * We've got [help.txb].
PHYSFS: * We've got [intdrum.bnk].
PHYSFS: * We've got [intmelo.bnk].
PHYSFS: * We've got [iplogo1.pcx].
PHYSFS: * We've got [johnhead.pcx].
PHYSFS: * We've got [laser1-1.pof].
PHYSFS: * We've got [laser1-2.pof].
PHYSFS: * We've got [laser11s.pof].
PHYSFS: * We've got [laser12s.pof].
PHYSFS: * We've got [laser2-1.pof].
PHYSFS: * We've got [laser2-2.pof].
PHYSFS: * We've got [laser21s.pof].
PHYSFS: * We've got [laser22s.pof].
PHYSFS: * We've got [laser3-1.pof].
PHYSFS: * We've got [laser3-2.pof].
PHYSFS: * We've got [laser31s.pof].
PHYSFS: * We've got [laser32s.pof].
PHYSFS: * We've got [laser4-1.pof].
PHYSFS: * We've got [laser4-2.pof].
PHYSFS: * We've got [laser41s.pof].
PHYSFS: * We've got [laser42s.pof].
PHYSFS: * We've got [laser5-1.pof].
PHYSFS: * We've got [laser5-2.pof].
PHYSFS: * We've got [laser51s.pof].
PHYSFS: * We've got [laser52s.pof].
PHYSFS: * We've got [laser6-1.pof].
PHYSFS: * We've got [laser6-2.pof].
PHYSFS: * We've got [laser61s.pof].
PHYSFS: * We've got [laser62s.pof].
PHYSFS: * We've got [lev01ter.bbm].
PHYSFS: * We've got [logo.pcx].
PHYSFS: * We've got [map.pcx].
PHYSFS: * We've got [marker.pof].
PHYSFS: * We've got [melodic.bnk].
PHYSFS: * We've got [menud.pcx].
PHYSFS: * We've got [moon01.bbm].
PHYSFS: * We've got [moonsky1.bbm].
PHYSFS: * We've got [moonsky2.bbm].
PHYSFS: * We've got [newreac1.pof].
PHYSFS: * We've got [newreac2.pof].
PHYSFS: * We've got [orderd2.pcx].
PHYSFS: * We've got [pship1.pof].
PHYSFS: * We've got [pship1b.pof].
PHYSFS: * We've got [pship1s.pof].
PHYSFS: * We've got [robot41.pof].
PHYSFS: * We've got [robot49.pof].
PHYSFS: * We've got [robot50.pof].
PHYSFS: * We've got [robot53.pof].
PHYSFS: * We've got [robot54.pof].
PHYSFS: * We've got [robot55.pof].
PHYSFS: * We've got [robot56.pof].
PHYSFS: * We've got [robot58.pof].
PHYSFS: * We've got [robot65.pof].
PHYSFS: * We've got [scores.pcx].
PHYSFS: * We've got [smissile.pof].
PHYSFS: * We've got [stars.pcx].
PHYSFS: * We've got [statback.pcx].
Using SDL_mixer library
sdl-joystick: found 2 joysticks
sdl-joystick 0: HuiJia  USB GamePad
sdl-joystick: 4 axes
sdl-joystick: 16 buttons
sdl-joystick: 1 hats
sdl-joystick: 4 axes (total)
sdl-joystick: 20 buttons (total)
sdl-joystick 1: HuiJia  USB GamePad
sdl-joystick: 4 axes
sdl-joystick: 16 buttons
sdl-joystick: 1 hats
sdl-joystick: 8 axes (total)
sdl-joystick: 40 buttons (total)
gr_remap_mono_fonts ()
Going into graphics mode...
Display: 0x19a72d0, Window: 41943052 ===
EGL: Initialized, version: major 1 minor 4
RPi: display resolution 1360x768, game resolution: 640x480 (fullscreen)
RPi: opening display: 0
RPi: creating display manager element
EGL: config chosen
EGL: Created window surface
EGL: Created context
EGL: made context current
gr_remap_mono_fonts ()
Initializing palette system...
Initializing font system...
Initializing movie libraries...
PHYSFS: set canonical directory "/home/ktb/.d2x-rebirth/intro-h.mvl" to search path from relative name "intro-h.mvl"
Can't open movielib <intro-h.mvl>: File not found
PHYSFS: set canonical directory "/home/ktb/.d2x-rebirth/intro-l.mvl" to search path from relative name "intro-l.mvl"
Can't open movielib <intro-l.mvl>: File not found
PHYSFS: set canonical directory "/home/ktb/.d2x-rebirth/other-h.mvl" to search path from relative name "other-h.mvl"
Can't open movielib <other-h.mvl>: File not found
PHYSFS: set canonical directory "/home/ktb/.d2x-rebirth/other-l.mvl" to search path from relative name "other-l.mvl"
Can't open movielib <other-l.mvl>: File not found
PHYSFS: set canonical directory "/home/ktb/.d2x-rebirth/robots-h.mvl" to search path from relative name "robots-h.mvl"
Can't open movielib <robots-h.mvl>: File not found
PHYSFS: set canonical directory "/home/ktb/.d2x-rebirth/robots-l.mvl" to search path from relative name "robots-l.mvl"
Can't open movielib <robots-l.mvl>: File not found
common/arch/sdl/window.cpp:60: sending event EVENT_WINDOW_CREATED to window of dimensions 640x480
common/arch/sdl/window.cpp:61: sending event EVENT_WINDOW_ACTIVATED to window of dimensions 640x480
common/arch/sdl/window.cpp:73: sending event EVENT_WINDOW_DEACTIVATED to window of dimensions 640x480
common/arch/sdl/window.cpp:75: sending event EVENT_WINDOW_CLOSE to window of dimensions 640x480
common/arch/sdl/window.cpp:60: sending event EVENT_WINDOW_CREATED to window of dimensions 640x480
common/arch/sdl/window.cpp:61: sending event EVENT_WINDOW_ACTIVATED to window of dimensions 640x480
Can't open movie <intro.mve>: (null)
common/arch/sdl/window.cpp:73: sending event EVENT_WINDOW_DEACTIVATED to window of dimensions 640x480
common/arch/sdl/window.cpp:75: sending event EVENT_WINDOW_CLOSE to window of dimensions 640x480
common/arch/sdl/window.cpp:60: sending event EVENT_WINDOW_CREATED to window of dimensions 640x480
common/arch/sdl/window.cpp:61: sending event EVENT_WINDOW_ACTIVATED to window of dimensions 640x480
Can't open movie <titles.mve>: (null)
common/arch/sdl/window.cpp:73: sending event EVENT_WINDOW_DEACTIVATED to window of dimensions 640x480
common/arch/sdl/window.cpp:75: sending event EVENT_WINDOW_CLOSE to window of dimensions 640x480

Playing title song...

Showing logo screens...
common/arch/sdl/window.cpp:60: sending event EVENT_WINDOW_CREATED to window of dimensions 640x480
common/arch/sdl/window.cpp:61: sending event EVENT_WINDOW_ACTIVATED to window of dimensions 640x480

User avatar
derhass
Posts: 32
Joined: Thu Aug 09, 2012 4:33 pm
Location: Germany
Contact: Website

Re: Prepare for Descent

Sun Mar 22, 2015 8:41 pm

ktb wrote:Has anybody gotten this to work on the Pi2B? I'm running Jessie.
Well, there is a report of this running on the Pi2 already in this thread. Dunno about the Jessie part. THis was built for raspbian wheezy.
ktb wrote:Has anybody gotten this to work on the Pi2B? I'm running Jessie.
All these attempts have resulted in a black screen when I try to run either d1x-rebirth or d2x-rebirth. Sometimes along with the black screen a mouse cursor is present and I can move it around a 640x480 rectangle in the middle of the 1360x768 screen. Sometimes the cursor is frozen and sometimes it isn't visible at all. Sometimes I hear the music (it seems to work well when i do hear it, and also seems to work better on the newer beta packages) and some start attempts remain completely silent.

Is anyone else seeing the same behavior?
I've never heard of such a behavior before. Did you try this on the console, or on X? Can you try it with the other method?

The log looks OK so far. The VC overlay should be visible.

Have you tried if other GLES applications on your system?
"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove." -- Antoine de Saint Exupéry

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: Prepare for Descent

Tue Mar 24, 2015 1:59 am

Thank you for the reply.

It does appear that anything GLES dependent is not working on my Raspbian Jessie. I don't think I've been able to use it at all. I was originally using the VC4 kernel and driver during my previous attempts and thought that might be causing problems. However, I've switched back to the 3.18.9 RPF kernel and am using the standard /opt/vc EGL and GLES libs (symlinked from /usr/lib/arm-linux-gnueabihf/) and still nothing really works.

Does minecraft-pi depend on GLES? Minecraft Pi just opens a blank window and I have to kill the processes. I've been trying different versions of Quake as well without any success.

/opt/vc/src/hello_pi/hello_video/hello_video.bin test.h264 - seems to work fine.
/opt/vc/src/hello_pi/hello_videocube/hello_videocube.bin - a message displays about ensuring sufficient gpu memory and nothing else happens (I have gpu_mem=512)
/opt/vc/src/hello_pi/hello_teapot/hello_teapot.bin - a message displays about ensuring sufficient gpu memory and nothing else happens (I have gpu_mem=512)
/opt/vc/src/hello_pi/hello_tiger/hello_tiger.bin - nothing happens
/opt/vc/src/hello_pi/hello_triangle/hello_triangle.bin - nothing happens
/opt/vc/src/hello_pi/hello_triangle2/hello_triangle2.bin - nothing happens
/opt/vc/src/hello_pi/hello_dispmanx/hello_dispmanx.bin - works fine
/opt/vc/src/hello_pi/hello_world/hello_world.bin - works fine
/opt/vc/src/hello_pi/hello_audio/hello_audio.bin - works fine

Whatever is going wrong, the problem is likely on my end or specific to my system.

FYI - When I would start it from the console, I'd usually get a black screen along with a frozen mouse cursor and no audio. When I would launch it from X, I would get the completely black screen with audio and the small 640x480 rectangular area in the center of the screen where I could move a visible mouse cursor around. The same holds true whether using the official kernel with fbdev/fbturbo or the VC4 kernel and VC4 driver. I think I give up on Raspbian Jessie for now.

User avatar
derhass
Posts: 32
Joined: Thu Aug 09, 2012 4:33 pm
Location: Germany
Contact: Website

Re: Prepare for Descent

Tue Mar 24, 2015 8:13 pm

Well, it is hard to tell what exactly is going on in your case. But since none of the GLES applications seem to work, I think it is fair to say that this is not a descent-specific issue. When even the basic "hello_triangle" examples don't run, there must be something fundamentally wrong.

I've never tried jessie on the Pi. I also don't own a Pi 2 (but I ordered one yesterday :D ). So I really can't give any good suggestion. If you want to go on debugging this, you should probably open up another forum thread specific to your issue, so that non only people interestend in descent will see this.
"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove." -- Antoine de Saint Exupéry

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: Prepare for Descent

Wed Mar 25, 2015 12:27 am

No problem. Thank you for taking a look at my issues anyway. If I had known my system was as dysfunctional as it was at the time I first posted, I never would have bothered you.

I just finished a very long, messy downgrade from Jessie to Wheezy. I'm happy to be systemd free. I'll make sure my system is generally working and then give it another shot.

Enjoy your new Pi2B. Keep Raspbian Jessie away from it :).

Update: After all that, it appears I was wrong about there being something screwed up with my system/Pi2B. Well, it was only as screwed up as I had configured it. I forgot I still had the following line in my config.txt for using the VC4 kernel and driver.

Code: Select all

# Prevent VideoCore from registering the v3d interrupt.  Our GL stack
# causes the interrupt to be triggered, but it sends the VC off into
# the weeds and it stops responding to some RPCs.
mask_gpu_interrupt0=0x400
I'm an idiot. Just to confirm, both of the recent sets of packages work great for me. Thanks again.

User avatar
derhass
Posts: 32
Joined: Thu Aug 09, 2012 4:33 pm
Location: Germany
Contact: Website

Re: Prepare for Descent

Sun Apr 05, 2015 10:21 pm

OK, I've created a new set of beta binary packages:
  1. https://www-user.tu-chemnitz.de/~heinm/ ... _armhf.deb
  2. https://www-user.tu-chemnitz.de/~heinm/ ... _armhf.deb
These builds are built on my unification/rpi branch at https://github.com/derhass/dxx-rebirth/ ... cation/rpi. However, all of the RPi-specific changes have been incorporated into the official dxx repository (at least at this point in time), so the sources for these are identical to this tree: https://github.com/dxx-rebirth/dxx-rebi ... c4490172ab

I also made some builds with some more extreme CFLAGS (including link time optimization). These builds might be a little bit faster on the Pi (or maybe not):
  1. https://www-user.tu-chemnitz.de/~heinm/ ... _armhf.deb
  2. https://www-user.tu-chemnitz.de/~heinm/ ... _armhf.deb
Interestingly, I had some issues with these CFLAGS in the past, the game would sometimes crash with SIGBUS, hinting at some unaligned memory access. However, I was unable to reproduce this with the current builds. But consider these builds still experimental. If you encounter any SIGBUS crashs, please let me know.
"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove." -- Antoine de Saint Exupéry

User avatar
ulysess
Posts: 305
Joined: Thu Aug 02, 2012 6:35 am
Location: Spain
Contact: Website

Re: Prepare for Descent

Fri Apr 17, 2015 12:32 pm

Thank you so much!. I’ll test both version.
derhass wrote:OK, I've created a new set of beta binary packages:
  1. https://www-user.tu-chemnitz.de/~heinm/ ... _armhf.deb
  2. https://www-user.tu-chemnitz.de/~heinm/ ... _armhf.deb
These builds are built on my unification/rpi branch at https://github.com/derhass/dxx-rebirth/ ... cation/rpi. However, all of the RPi-specific changes have been incorporated into the official dxx repository (at least at this point in time), so the sources for these are identical to this tree: https://github.com/dxx-rebirth/dxx-rebi ... c4490172ab

I also made some builds with some more extreme CFLAGS (including link time optimization). These builds might be a little bit faster on the Pi (or maybe not):
  1. https://www-user.tu-chemnitz.de/~heinm/ ... _armhf.deb
  2. https://www-user.tu-chemnitz.de/~heinm/ ... _armhf.deb
Interestingly, I had some issues with these CFLAGS in the past, the game would sometimes crash with SIGBUS, hinting at some unaligned memory access. However, I was unable to reproduce this with the current builds. But consider these builds still experimental. If you encounter any SIGBUS crashs, please let me know.
Mis apuntes de...Raspberry Pi: http://misapuntesde.com
Google Docs RPi: http://goo.gl/Iwhbq

Wolfiesden
Posts: 4
Joined: Sun Jun 28, 2015 5:31 pm

Re: Prepare for Descent

Sun Jun 28, 2015 6:45 pm

Hey guys! I really appreciate the effort to get Descent back and running again!

I am new to the Pi so I got a lot of learning to do. Could someone congeal down whats needed to get Descent and Descent2 running on on a RasPi 2? I do run into problems when trying to run Pi-1 binaries (different ARM) so I presume its gotta be compiled on the RPi2.

I have my old Descent 1/2/3 CDs still. I would also like to know how to get the full game data off and into the Pi. Obviously the Pi doesn't have a CD so I presume a USB stick copy. What do I need from the CDs and how?

david1024
Posts: 2
Joined: Sat Jul 05, 2014 5:26 pm

Re: Prepare for Descent

Sat May 12, 2018 4:18 pm

I know this is an older post, but it comes to the top of the list when you search for descent, so just to close it up completely....

https://www.dxx-rebirth.com/game-content/ <-- has links to where to find the information on how to install the original (licensed) content for use with d1x/d2x rebirth.
www.gog.com is where you can purchase d1/d2 to get the content if you don't have your original cd's. They also provide some of the internet favorite levels like minerva!! (The good ole days of DOS multiplayer on the internet--with kali)

GL and HF.

:)

Return to “Gaming”