[GAMES] DOOM 3 sci-fi horror shooter

Moderators: odroid, meveric, mdrjr

[GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Tue Jun 24, 2014 6:59 am

Image
Now this is a very interesting release, let's start ! :)


The Story

You are send out to Mars City to investigate multiple incidents, UAC board member Elliott Swann and his bodyguard Jack Campbell arriving at Mars City, the main access to the UAC's Mars base, disembarking from an Earth transport with the anonymous marine ( you ) just behind them. Your order is to find a scientist from the Delta Labs who has gone missing. The hell will break out on teleportation experiments done deep in the basement of Mars City, an unnatural shockwave transforming most of the base's personnel into zombies, you have to fight your way out ....

Image

Image

ImageImage

Image

Befor you will start you need the game data files from an original doom3 dvd or buy it from here http://store.steampowered.com/app/9050/ or http://store.steampowered.com/app/9070/ ( Resurrection of Evil )


Code: Select all
CD 1   /Setup/Data/base/pak002.pk4

CD 2   /Setup/Data/base/pak000.pk4
       /Setup/Data/base/pak001.pk4

CD 3   /Setup/Data/base/pak003.pk4
       /Setup/Data/base/pak004.pk4

DVD    /Setup/Data/base/pak*.pk4


if you have all these files from original CD or DVD or any other source mentioned, it has to go into ~/.doom3/base folder

Doom 3 Resurrection of Evil files has to go into ~/.doom3/d3xp folder

after this you need the latest updates for doom3, you can get it here:

ftp://ftp.idsoftware.com/idstuff/doom3/linux/

extract files and copy them over to doom3 base folder

Code: Select all
mkdir update
cd update
wget ftp://ftp.idsoftware.com/idstuff/doom3/linux/doom3-linux-1.3.1.1304.x86.run
sudo chmod 755 doom3-linux-1.3.1.1304.x86.run
./doom3-linux-1.3.1.1304.x86.run --target .
mv *.pk4 ~/.doom3/base


ok that was the theory but first let's install OR build doom3 from source ;)

install from package X2/U2/U3/XU3/C1 :

you need the meveric repro viewtopic.php?f=52&t=5908

Code: Select all
apt-get install doom3-odroid
// start from console or within the desktop manager menu
doom3


importand:

  1. the game runs fine on 720p/60 resolution, the smaller the faster, only on XU3 1080p is possible
  2. do not try to change screen resolution inside the game, change it with desktop setting Preferences->Monitor Settings ( doom3 from meveric repo does it automatic )
  3. if you run doom3 and expiring some audio crackling please make sure to disable pulseaudio 'echo "autospawn = no" >> /home/odroid/.config/pulse/client.conf'
  4. do not manualy edit DoomConfig.cfg except on XU3, for this board you can enhance graphic details


building from source:


Code: Select all
sudo apt-get install scons git libjpeg-turbo8-dev libvorbis-dev libva-dev libbz2-dev liblzma-dev libopenal-dev libz-dev libasound2-dev libx11-dev


run the shell script which does build, create and install all directories and files needed, you can chose if you want to use ffmpeg for video playback or internal video decoder

U2/X2/U3/XU3/C2/C1
Code: Select all
git clone https://github.com/AreaScout/dante-doom3-odroid.git
cd dante-doom3-odroid/neo
 
./odroid.sh


disable pulseaudio, you can do it via odroid-ultility.sh or manually

Code: Select all
echo "autospawn = no" >> /home/odroid/.config/pulse/client.conf


You have to start the game from console if you want to play Resurrection of Evil, to process default doom3 skip the command line parameters

Code: Select all
./doom.arm +set fs_game_base d3xp


Have Fun

Area
Last edited by AreaScout on Sun Aug 14, 2016 7:21 pm, edited 26 times in total.
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Carl » Tue Jun 24, 2014 2:01 pm

thanks sounds like fun
so i dug out the old cd's

will this work on the u3 ?
is there an image that it will run better on ?

when you say : if you have all these files from original CD or DVD or any other source mentioned, it has to go into ~/.doom3/base folder

do you just copy them into a directory you create called /.doom3/base or do you need to extract them there?

i'm sure this sounds stupid to you but i'm still learning linux slowly ( learning curve gets longer as i get older)
Carl
 
Posts: 26
Joined: Mon Feb 24, 2014 12:16 pm
languages_spoken: francais / anglais
ODROIDs: odroid-u3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Tue Jun 24, 2014 2:59 pm

in the home folder of your user (normally /home/odroid/) there should be a folder named .doom3 in this folder there should be a folder called base and in that folder there should be all the .pk4 files from your CDs. As well as the config from AreaScout
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Tue Jun 24, 2014 4:02 pm

Hi Carl

thanks sounds like fun
so i dug out the old cd's

will this work on the u3 ?


yes it will work on U3

is there an image that it will run better on ?


all official 13.10 and 14.04 images ( 13.10 with latest dsd armsoc driver ) and not to forget the great GameStation image from Meveric viewtopic.php?f=11&t=2684

when you say : if you have all these files from original CD or DVD or any other source mentioned, it has to go into ~/.doom3/base folder

do you just copy them into a directory you create called /.doom3/base or do you need to extract them there?

i'm sure this sounds stupid to you but i'm still learning linux slowly ( learning curve gets longer as i get older)


thank you for pointing this out, i forgot to mention that you need the pkg files with latest updates 1.3.1 you can find it everywhere on the internet, extract it and copy the new files over to ~/.doom3/base they are:

Code: Select all
game01.pk4
game02.pk4
game03.pk4

pak005.pk4
pak006.pk4
pak007.pk4
pak008.pk4


RG

Area
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Carl » Wed Jun 25, 2014 1:37 am

Thanks you both

will look the update files up and give this a try
should be fun for a rainy day here :)

thanks again
Carl
 
Posts: 26
Joined: Mon Feb 24, 2014 12:16 pm
languages_spoken: francais / anglais
ODROIDs: odroid-u3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Wed Jun 25, 2014 3:59 am

just created a .deb file for quick install :)

Code: Select all
wget http://oph.mdrjr.net/meveric/repository/all/doom3-odroid_1.3.1-1_armhf.deb
dpkg -i doom3-odroid_1.3.1-1_armhf.deb
apt-get install -f

the game still requires the original game data folder base with the .pk4 files which can either be put in:

/usr/local/games/doom3/
or
/home/<USER>/.doom3/
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Wed Jun 25, 2014 4:31 am

@meveric

thx for packing things together :)

@Carl

no problem ! over here it's not raining but regardless of that i did play 3 hour today :D

RG
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Carl » Wed Jun 25, 2014 8:40 am

I've hunted around and found almost every update

i got game00-03.pk4 ( from orig cds)

found the rest in torrent

pak000-pak007.pk4

can't find the pak008.pk4 (which is 1.3.1 update)

would it work with up to 1.3 ?

the 1.3.1 i find are all exe

hopefully last q : you only mention game01.pak thru 03, you don't need 00 in there ?
and what about pak000 thru 0004 ?


thanks for the assistance
Carl
 
Posts: 26
Joined: Mon Feb 24, 2014 12:16 pm
languages_spoken: francais / anglais
ODROIDs: odroid-u3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Wed Jun 25, 2014 3:53 pm

would it work with up to 1.3 ?


In the readme of dante-doom3 source under general they state: You must patch the game to the latest version

I've got a link for you ftp://ftp.idsoftware.com/idstuff/doom3/ ... 04.x86.run or http://www.filewatcher.com/_/?q=doom3-l ... 04.x86.run

basically a 'run' file is only a script so it 'should' let you extract the contains also on arm

Code: Select all
wget ftp://ftp.idsoftware.com/idstuff/doom3/linux/doom3-linux-1.3.1.1304.x86.run
sudo chmod 755 doom3-linux-1.3.1.1304.x86.run
./doom3-linux-1.3.1.1304.x86.run


if not please have it extracted on Linux/PC

hopefully last q : you only mention game01.pak thru 03, you don't need 00 in there ?
and what about pak000 thru 0004 ?


I took the information what files are needed from the official ubuntu wiki site, but on my setup i do have the game00.pk4 file ( old winxp harddisk backup ) , i have tried it without that file by starting a savegame and it works

RG
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Cartridge » Fri Jun 27, 2014 12:49 am

Thanks meveric for the deb package, I have Doom 3 on CD but I lost the third disc. It's somewhere in a box in another jewel case but I still have my key on the original jewel case :D
Image
http://cartridgeports.cf/
ODROID's DO what WinDON'T "That's Blast Processing!"
User avatar
Cartridge
 
Posts: 591
Joined: Fri Sep 27, 2013 9:06 pm
languages_spoken: english, french natively
ODROIDs: The Perfect ODROID-U2, ODROID-U3+, C1, XU3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Cartridge » Fri Jun 27, 2014 10:31 pm

I've installed all pak files in the base folder but when I boot it up, choose the skill type and enter the game, I get a black screen with a slighty noticable blue bar at the bottom. At first I thought it was the console bugging up and taking all of the screen but it wasn't working. I'm running 13.10DM with r4p0-4.
Image
http://cartridgeports.cf/
ODROID's DO what WinDON'T "That's Blast Processing!"
User avatar
Cartridge
 
Posts: 591
Joined: Fri Sep 27, 2013 9:06 pm
languages_spoken: english, french natively
ODROIDs: The Perfect ODROID-U2, ODROID-U3+, C1, XU3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Fri Jun 27, 2014 11:11 pm

open a console and type doom3 and check on the output the game gives lot of debug statistics.
Did you change any settings?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Cartridge » Fri Jun 27, 2014 11:19 pm

Here, http://pastebin.com/uTE7k8PV it seems to say no base files but then loads my files, if you see the audio is not loading, I was using the port just now.
No changes were made.
Image
http://cartridgeports.cf/
ODROID's DO what WinDON'T "That's Blast Processing!"
User avatar
Cartridge
 
Posts: 591
Joined: Fri Sep 27, 2013 9:06 pm
languages_spoken: english, french natively
ODROIDs: The Perfect ODROID-U2, ODROID-U3+, C1, XU3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Fri Jun 27, 2014 11:34 pm

hi Cartridge

as i can see, you only have one file in your base folder, but you need pak000.pk5 - pak008.pk4

Code: Select all
/home/odroid/.doom3/base
/home/odroid/.doom3/base/pak000.pk4 (2698 files)
/usr/local/games/doom3/base
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Cartridge » Fri Jun 27, 2014 11:40 pm

I guess the copy 'n' paste job didin't go well. There are orphaned folders named weirdly with the right packages in the same .doom3 folder, I've never experienced orphaned files :P

--Edit--
It's working, good Doom 3 in HD! There is no end to the awesomeness of our odroids. Other than the very barely, ever appearing tearing, it's nothing that I mind about. What I really love is it's in HD! the jittering is just a detail.
Last edited by Cartridge on Sat Jun 28, 2014 12:00 am, edited 1 time in total.
Image
http://cartridgeports.cf/
ODROID's DO what WinDON'T "That's Blast Processing!"
User avatar
Cartridge
 
Posts: 591
Joined: Fri Sep 27, 2013 9:06 pm
languages_spoken: english, french natively
ODROIDs: The Perfect ODROID-U2, ODROID-U3+, C1, XU3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Fri Jun 27, 2014 11:54 pm

strange, let me know if it was working
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Sun Jun 29, 2014 9:31 pm

Update

I added gamma and brightness correction which was not working, i forked the shader tree and did some changes there so you have to use the new once, please also pull changes for dante-doom3 and recompile it

you can change the brightness via options menu inside the game

gamma changes which are only affect the menu can be done in DoomDonfig.cfg ( seta r_gamma "x" ) value from float 0.5 to 3.0 are valid

Image


have fun
Last edited by AreaScout on Mon Jun 30, 2014 2:30 am, edited 1 time in total.
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby marlemion » Sun Jun 29, 2014 10:00 pm

Hey AreaScout,

did you compile it yourself? Which flags did you use?

Thx!

Edit: Ah, shit, never mind, now I reckoned the git source. Thx!
marlemion
 
Posts: 232
Joined: Sun Mar 31, 2013 7:33 pm
languages_spoken: english
ODROIDs: Odroid U2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby marlemion » Mon Jun 30, 2014 12:44 am

Gave it a quick try, does not compile:

Code: Select all
g++ -o build/release/core/renderer/draw_glsl.o -c -I/usr/include/GLES2/ -I/usr/include/arm-linux-gnueabihf -I/usr/include -pipe -Wall -Wno-sign-compare -Wno-unknown-pragmas -Wno-psabi -fmessage-length=0 -fpermissive -D__ODROID__ -fvisibility=hidden -O3 -marm -march=armv7-a -mfpu=neon -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fvisibility=hidden -DGL_ES_VERSION_2_0 -DXTHREADS -fno-strict-aliasing -D__DOOM_DLL__ -DID_ENABLE_CURL=0 renderer/draw_glsl.cpp
renderer/draw_glsl.cpp: In function 'void RB_GLSL_DrawInteractions()':
renderer/draw_glsl.cpp:247:20: warning: variable 'lightShader' set but not used [-Wunused-but-set-variable]
  const idMaterial *lightShader;
                    ^
renderer/draw_glsl.cpp: In function 'void R_LoadGLSLShader(const char*, shaderProgram_t*, GLenum)':
renderer/draw_glsl.cpp:366:58: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
    glShaderSource(shaderProgram->vertexShader, 1, (const GLchar **)&buffer, 0);
                                                          ^
renderer/draw_glsl.cpp:366:58: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
renderer/draw_glsl.cpp:366:52: error: expected primary-expression before 'const'
    glShaderSource(shaderProgram->vertexShader, 1, (const GLchar **)&buffer, 0);
                                                    ^
renderer/draw_glsl.cpp:366:52: error: expected ')' before 'const'
renderer/draw_glsl.cpp:372:60: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
    glShaderSource(shaderProgram->fragmentShader, 1, (const GLchar **)&buffer, 0);
                                                            ^
renderer/draw_glsl.cpp:372:60: warning: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
renderer/draw_glsl.cpp:372:54: error: expected primary-expression before 'const'
    glShaderSource(shaderProgram->fragmentShader, 1, (const GLchar **)&buffer, 0);
                                                      ^
renderer/draw_glsl.cpp:372:54: error: expected ')' before 'const'
renderer/draw_glsl.cpp: In function 'bool R_LinkGLSLShader(shaderProgram_t*, bool)':
renderer/draw_glsl.cpp:394:8: warning: unused variable 'status' [-Wunused-variable]
  GLint status;
        ^
renderer/draw_glsl.cpp: In function 'void R_ReloadGLSLPrograms_f(const idCmdArgs&)':
renderer/draw_glsl.cpp:575:7: warning: unused variable 'i' [-Wunused-variable]
  int  i;
       ^


I had a quick look. GLchar appears only in draw_glsl.cpp and nowhere else:

Code: Select all
static void R_LoadGLSLShader(const char *name, shaderProgram_t *shaderProgram, GLenum type)
{
        idStr   fullPath = "gl2progs/";
        fullPath += name;
        char    *fileBuffer;
        char    *buffer;

        common->Printf("%s", fullPath.c_str());

        // load the program even if we don't support it, so
        // fs_copyfiles can generate cross-platform data dumps
        fileSystem->ReadFile(fullPath.c_str(), (void **)&fileBuffer, NULL);

        if (!fileBuffer) {
                common->Printf(": File not found\n");
                return;
        }

        // copy to stack memory and free
        buffer = (char *)_alloca(strlen(fileBuffer) + 1);
        strcpy(buffer, fileBuffer);
        fileSystem->FreeFile(fileBuffer);

        if (!glConfig.isInitialized) {
                return;
        }

        switch (type) {
                case GL_VERTEX_SHADER:
                        // create vertex shader
                        shaderProgram->vertexShader = glCreateShader(GL_VERTEX_SHADER);
                        glShaderSource(shaderProgram->vertexShader, 1, (const GLchar **)&buffer, 0);
                        glCompileShader(shaderProgram->vertexShader);
                        break;
                case GL_FRAGMENT_SHADER:
                        // create fragment shader
                        shaderProgram->fragmentShader = glCreateShader(GL_FRAGMENT_SHADER);
                        glShaderSource(shaderProgram->fragmentShader, 1, (const GLchar **)&buffer, 0);
                        glCompileShader(shaderProgram->fragmentShader);
                        break;
                default:
                        common->Printf("R_LoadGLSLShader: no type\n");
                        return;
        }

        common->Printf("\n");
}


Any idea?
marlemion
 
Posts: 232
Joined: Sun Mar 31, 2013 7:33 pm
languages_spoken: english
ODROIDs: Odroid U2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Mon Jun 30, 2014 2:21 am

hi marlemion

yes, it's a gles header problem, your gles headers ( /usr/include/gl2.h ) does not name this type, but they should, which image you are using ?

here is the newest revision of that file, right from the makers of gles2 http://www.khronos.org/registry/gles/api/GLES2/gl2.h

RG
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby marlemion » Mon Jun 30, 2014 11:12 pm

Hey! Thanks. I am on gentoo and as there was no official package of the new Mali driver yet, I still used the old header files. Adopted my ebuild to use the deb file from your link above. Now everything works. Thank you!
marlemion
 
Posts: 232
Joined: Sun Mar 31, 2013 7:33 pm
languages_spoken: english
ODROIDs: Odroid U2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Tue Jul 01, 2014 4:44 am

@marlemion

no problem :)

Update

I did modify the odroid.sh file to automate the install, copy and directory creation for you

have fun
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Prophet1231 » Wed Jul 02, 2014 3:26 pm

Hi there,
something went wrong getting Doom 3 to work.
I was not able to find the files, so i installed Doom3 on my Windows engine and updated it.
From there i copied the files to my odroid u3.
Well, i got sound but no picture on my monitor.
Is anyone here with the same problem?

THX
Prophet1231
 
Posts: 6
Joined: Wed Feb 26, 2014 10:11 pm
languages_spoken: english
ODROIDs: Odroid U3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Wed Jul 02, 2014 6:59 pm

Hi, just try this:

delete your DoomConfig.cfg in /home/odroid/.doom3/base and re-run the odroid.sh script, it will download a new 'untouched' config, if this was the problem then it could be that you messed around with the Video Quality Settings under Options, don't touch it, only sound settings and brightness are good to play arround with.

If you didn't build doom3 from source, just take this one https://github.com/AreaScout/dante-doom ... Config.cfg

let me know if it was working or not

RG
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Cartridge » Sun Jul 06, 2014 11:05 pm

Do you think I could run this on Android? Without the debootstrap and linux on top.
Image
http://cartridgeports.cf/
ODROID's DO what WinDON'T "That's Blast Processing!"
User avatar
Cartridge
 
Posts: 591
Joined: Fri Sep 27, 2013 9:06 pm
languages_spoken: english, french natively
ODROIDs: The Perfect ODROID-U2, ODROID-U3+, C1, XU3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Mon Jul 07, 2014 2:07 am

Hi Cartridge

Sure, the dante port of doom3 is initally made for android, that port would work, but not my fork anymore, because it depends on xserver now ( but i could #ifdef it )

RG
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Mon Jul 28, 2014 5:23 pm

Update


  1. Added the ability to choose FFmpeg as Video decoder
  2. Change build script to download and build FFmpeg
  3. Add new package with latest changes ( thx meveric )
  4. Add new preview picture on github/forum
  5. Remove the gamma correction for ingame menu

Have Fun
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Sun Aug 17, 2014 11:09 pm

Update

Add simple videofile player ( RoQPlayer ), used for testing

build:
Code: Select all
cd dante-doom3-odroid/neo/tools/RoQPlayer
./build.sh


Doom 3 has to build with ffmpeg support, extract one of the video files from pk4 archive and play it with './RoQPlayer somevideo.RoQ'

or use samples from mplayerhq

Code: Select all
wget http://samples.mplayerhq.hu/game-formats/idroq/jk02.roq
./RoQPlayer jk02.roq


RG
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby monstercamf » Thu Sep 04, 2014 10:50 pm

Thanks for your excellent work AreaScout. Going to try it on my U3.

Keep up the good work!
monstercamf
 
Posts: 37
Joined: Tue Apr 22, 2014 8:26 pm
Location: Spain
languages_spoken: english, spanish, german?
ODROIDs: U3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Sat Sep 06, 2014 4:07 pm

Thank you monstercamf !

it is not very often to hear this, but that's the reason it felt so good :D

RG
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby monstercamf » Sat Sep 20, 2014 10:14 pm

You are very welcome.

Well, the odroid community is a little bit small yet, but with work like yours it will get bigger for sure ;)

Cheers!
monstercamf
 
Posts: 37
Joined: Tue Apr 22, 2014 8:26 pm
Location: Spain
languages_spoken: english, spanish, german?
ODROIDs: U3

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Hansg91 » Tue Sep 30, 2014 9:08 pm

Tried it just now, works great :) doesn't seem entirely lag-free (playable, but noticing some slight frame drop) for me though, running at 720p with lowest video settings. Are you experiencing the same thing?
Hansg91
 
Posts: 71
Joined: Tue Oct 22, 2013 9:25 pm
languages_spoken: english
ODROIDs: ODROID U2
ODROID U3
ODROID C1

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby AreaScout » Sat Oct 04, 2014 3:12 am

Good to hear, yes it's same for me too ( frame drops's + tearing ), but playable :)

RG
User avatar
AreaScout
 
Posts: 369
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: english, german
ODROIDs: X2, U3, XU3, C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Seismograf » Mon Jan 12, 2015 2:50 am

will this work on xu3? :)
Seismograf
 
Posts: 58
Joined: Wed Dec 17, 2014 9:40 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Mon Jan 12, 2015 5:13 am

yes and no...
it basicly works but has some tearing issues when you turn the camera.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Seismograf » Mon Jan 12, 2015 7:22 am

hmmm cant get this to work.. since the original deb from first post doesn't exist anymore, i got the one from meverics repo (apt-get install doom3-odroid). I only get a black screen and a fast spinning fan. Any ideas? Also, where is the odroid.sh located that everybody speaks of?
Seismograf
 
Posts: 58
Joined: Wed Dec 17, 2014 9:40 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Mon Jan 12, 2015 7:33 am

well i moved the file from the original post, since i was no longer working out for me the way it was original placed, anyway you found the right way to install it.
Not sure though why it wouldn't work it should i tried it already on an XU3 just a little time ago.
The odroid.sh is only when you download the sources and compile it yourself, as described by AreaScout.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby timli » Mon Jan 12, 2015 7:05 pm

Seismograf wrote: I only get a black screen and a fast spinning fan.

Same, also on a XU3-Lite :cry:

edit: Think it might have to do with me having integrated the wrong repository file, it shows C1 in Synaptic, checking this now...
edit2: Nah, the package is in the all/main list, I reinstalled and get the same error. Stock Ubuntu 14.04 image btw. Here's the console output, I killed the process after a minute:

Code: Select all
odroid@odroid:~$ doom3
/usr/local/bin/doom3: line 4: 1280: No such file or directory
xrandr: cannot find mode 1280x720
DOOM 1.3.1.1304 linux-arm Jul 27 2014 16:33:07
found interface lo - loopback
found interface eth0 - 172.27.7.186/255.255.255.0
no 'base' directory in exe path /usr/local/bin, skipping
no 'base' directory in cwd path /home/odroid, skipping
WARNING: using hardcoded default base path
------ Initializing File System ------
Loaded pk4 /home/odroid/.doom3/base/game00.pk4 with checksum 0x29cdb978
Loaded pk4 /home/odroid/.doom3/base/game01.pk4 with checksum 0xe9d5adcf
Loaded pk4 /home/odroid/.doom3/base/game02.pk4 with checksum 0x80401dd2
Loaded pk4 /home/odroid/.doom3/base/game03.pk4 with checksum 0x351c23e8
Loaded pk4 /home/odroid/.doom3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /home/odroid/.doom3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /home/odroid/.doom3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /home/odroid/.doom3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /home/odroid/.doom3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /home/odroid/.doom3/base/pak005.pk4 with checksum 0x8ffc3621
Loaded pk4 /home/odroid/.doom3/base/pak006.pk4 with checksum 0x95b65ab
Loaded pk4 /home/odroid/.doom3/base/pak007.pk4 with checksum 0x666bdb3c
Current search path:
/home/odroid/.doom3/base
/home/odroid/.doom3/base/pak007.pk4 (38 files)
/home/odroid/.doom3/base/pak006.pk4 (48 files)
/home/odroid/.doom3/base/pak005.pk4 (63 files)
/home/odroid/.doom3/base/pak004.pk4 (5137 files)
/home/odroid/.doom3/base/pak003.pk4 (4676 files)
/home/odroid/.doom3/base/pak002.pk4 (6120 files)
/home/odroid/.doom3/base/pak001.pk4 (8972 files)
/home/odroid/.doom3/base/pak000.pk4 (2698 files)
/home/odroid/.doom3/base/game03.pk4 (2 files)
/home/odroid/.doom3/base/game02.pk4 (2 files)
/home/odroid/.doom3/base/game01.pk4 (2 files)
/home/odroid/.doom3/base/game00.pk4 (2 files)
/usr/local/games/doom3/base
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
renderSystem initialized.
--------------------------------------
5206 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
execing DoomConfig.cfg
couldn't exec autoexec.cfg
5206 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
libEGL warning: Could not open driver /usr/lib/arm-linux-gnueabihf/egl/egl_gallium.so (libOpenVG.so.1: cannot open shared object file: No such file or directory)
libEGL warning: DRI2: failed to open armsoc (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
Initializing OpenGL display
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: Software Rasterizer
GL_EXTENSIONS: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_vertex_array_object GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_EXT_map_buffer_range GL_OES_surfaceless_context
XF86DGA not available, forcing DGA mouse off

------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
dlopen(libasound.so.2)
asoundlib version: 1.0.27.2
Alsa is available
------ Alsa Sound Initialization -----
opened Alsa PCM device default for playback
device buffer size: 5461 frames ( 21844 bytes )
allocated a mix buffer of 16384 bytes
--------------------------------------
X..GL_ARB_multitexture not found
X..GL_ARB_texture_env_combine not found
X..GL_ARB_texture_cube_map not found
X..GL_ARB_texture_env_dot3 not found
X..GL_ARB_texture_env_add not found
X..GL_ARB_texture_non_power_of_two not found
X..GL_EXT_texture_lod not found
X..GL_1.4_texture_lod_bias not found
X..GL_EXT_shared_texture_palette not found
X..GL_EXT_texture3D not found
X..GL_ARB_vertex_buffer_object not found
X..GL_ARB_vertex_program not found
X..GL_ARB_fragment_program not found
X..GL_ARB_shading_language_100 not found
---------- R_GLSL_Init ----------
Not available.
----- R_ReloadGLSLPrograms -----
gl2progs/interaction.vert
gl2progs/interaction.frag
gl2progs/shadow.vert
gl2progs/shadow.frag
gl2progs/default.vert
gl2progs/default.frag
gl2progs/zfill.vert
gl2progs/zfill.frag
-------------------------------
using GLSL renderSystem
--------- Initializing Game ----------
gamename: baseDOOM-1
gamedate: Jul 27 2014
Initializing event system
...473 event definitions
Initializing class hierarchy
...142 classes, 382184 bytes for event callbacks
Initializing scripts
/proc/cpuinfo CPU frequency: 1300 MHzCompiled 'weapon_shotgun::Lower': 0.0 ms
---------- Compile stats ----------

Memory usage:
     Strings: 79, 12592 bytes
  Statements: 67866, 1357320 bytes
   Functions: 2108, 250452 bytes
   Variables: 147244 bytes
    Mem used: 2478868 bytes
 Static data: 2277552 bytes
   Allocated: 3284304 bytes
 Thread size: 13212 bytes

...6 aas types
game initialized.
--------------------------------------
-------- Initializing Session --------
Input #0, roq, from 'video/idlogo.roq':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
    Stream #0:0: Audio: roq_dpcm, 22050 Hz, stereo, s16, 705 kb/s
    Stream #0:1: Video: roq (roqvideo), yuvj444p(pc), 512x512, 30 fps, 30 tbr, 30 tbn
Loaded FFMPEG file: 'video/idlogo.roq', looping=1 512x512, 30.000000 FPS, -9223372036854775808.000000 sec
session initialized
--------------------------------------
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 77
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 80
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 83
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 86
BadMatch (invalid parameter attributes)
--- Common Initialization Complete ---
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 5217
2000 MB System Memory
512 MB Video Memory
Async thread started
/usr/local/bin/doom3: line 60:  5217 Terminated              doom.arm


I think it has to do with the graphics driver, but I am too much of a noob to fix it myself...
Last edited by timli on Mon Jan 12, 2015 9:04 pm, edited 1 time in total.
timli
 
Posts: 10
Joined: Wed Dec 31, 2014 7:26 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Seismograf » Mon Jan 12, 2015 8:54 pm

hmm, still didn't get it to run, but you're missing pak008.pk4 (Update 1.3.1), that might be your problem.. also do you have to have a valid key in "doomkey"?
As you, I only get sound and a black screen..

edit: attached my log

Code: Select all
/usr/local/bin/doom3: line 4: 1280: No such file or directory
DOOM 1.3.1.1304 linux-arm Jul 27 2014 16:33:07
found interface lo - loopback
found interface wlan2 - 192.168.0.22/255.255.255.0
no 'base' directory in exe path /usr/local/bin, skipping
no 'base' directory in cwd path /home/odroid, skipping
WARNING: using hardcoded default base path
------ Initializing File System ------
Loaded pk4 /home/odroid/.doom3/base/game00.pk4 with checksum 0x29cdb978
Loaded pk4 /home/odroid/.doom3/base/game01.pk4 with checksum 0x51c6981f
Loaded pk4 /home/odroid/.doom3/base/game02.pk4 with checksum 0xf3ec6f7
Loaded pk4 /home/odroid/.doom3/base/game03.pk4 with checksum 0x5d4230ea
Loaded pk4 /home/odroid/.doom3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /home/odroid/.doom3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /home/odroid/.doom3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /home/odroid/.doom3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /home/odroid/.doom3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /home/odroid/.doom3/base/pak005.pk4 with checksum 0x8ffc3621
Loaded pk4 /home/odroid/.doom3/base/pak006.pk4 with checksum 0x95b65ab
Loaded pk4 /home/odroid/.doom3/base/pak007.pk4 with checksum 0x666bdb3c
Loaded pk4 /home/odroid/.doom3/base/pak008.pk4 with checksum 0x23ae5993
Current search path:
/home/odroid/.doom3/base
/home/odroid/.doom3/base/pak008.pk4 (3 files)
/home/odroid/.doom3/base/pak007.pk4 (38 files)
/home/odroid/.doom3/base/pak006.pk4 (48 files)
/home/odroid/.doom3/base/pak005.pk4 (63 files)
/home/odroid/.doom3/base/pak004.pk4 (5137 files)
/home/odroid/.doom3/base/pak003.pk4 (4676 files)
/home/odroid/.doom3/base/pak002.pk4 (6120 files)
/home/odroid/.doom3/base/pak001.pk4 (8972 files)
/home/odroid/.doom3/base/pak000.pk4 (2698 files)
/home/odroid/.doom3/base/game03.pk4 (2 files)
/home/odroid/.doom3/base/game02.pk4 (2 files)
/home/odroid/.doom3/base/game01.pk4 (2 files)
/home/odroid/.doom3/base/game00.pk4 (2 files)
/usr/local/games/doom3/base
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
renderSystem initialized.
--------------------------------------
5206 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
execing DoomConfig.cfg
couldn't exec autoexec.cfg
5206 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
libEGL warning: Could not open driver /usr/lib/arm-linux-gnueabihf/egl/egl_gallium.so (libOpenVG.so.1: cannot open shared object file: No such file or directory)/usr/local/bin/doom3: line 4: 1280: No such file or directory
DOOM 1.3.1.1304 linux-arm Jul 27 2014 16:33:07
found interface lo - loopback
found interface wlan2 - 192.168.0.22/255.255.255.0
no 'base' directory in exe path /usr/local/bin, skipping
no 'base' directory in cwd path /home/odroid, skipping
WARNING: using hardcoded default base path
------ Initializing File System ------
Loaded pk4 /home/odroid/.doom3/base/game00.pk4 with checksum 0x29cdb978
Loaded pk4 /home/odroid/.doom3/base/game01.pk4 with checksum 0x51c6981f
Loaded pk4 /home/odroid/.doom3/base/game02.pk4 with checksum 0xf3ec6f7
Loaded pk4 /home/odroid/.doom3/base/game03.pk4 with checksum 0x5d4230ea
Loaded pk4 /home/odroid/.doom3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /home/odroid/.doom3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /home/odroid/.doom3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /home/odroid/.doom3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /home/odroid/.doom3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /home/odroid/.doom3/base/pak005.pk4 with checksum 0x8ffc3621
Loaded pk4 /home/odroid/.doom3/base/pak006.pk4 with checksum 0x95b65ab
Loaded pk4 /home/odroid/.doom3/base/pak007.pk4 with checksum 0x666bdb3c
Loaded pk4 /home/odroid/.doom3/base/pak008.pk4 with checksum 0x23ae5993
Current search path:
/home/odroid/.doom3/base
/home/odroid/.doom3/base/pak008.pk4 (3 files)
/home/odroid/.doom3/base/pak007.pk4 (38 files)
/home/odroid/.doom3/base/pak006.pk4 (48 files)
/home/odroid/.doom3/base/pak005.pk4 (63 files)
/home/odroid/.doom3/base/pak004.pk4 (5137 files)
/home/odroid/.doom3/base/pak003.pk4 (4676 files)
/home/odroid/.doom3/base/pak002.pk4 (6120 files)
/home/odroid/.doom3/base/pak001.pk4 (8972 files)
/home/odroid/.doom3/base/pak000.pk4 (2698 files)
/home/odroid/.doom3/base/game03.pk4 (2 files)
/home/odroid/.doom3/base/game02.pk4 (2 files)
/home/odroid/.doom3/base/game01.pk4 (2 files)
/home/odroid/.doom3/base/game00.pk4 (2 files)
/usr/local/games/doom3/base
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
renderSystem initialized.
--------------------------------------
5206 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
execing DoomConfig.cfg
couldn't exec autoexec.cfg
5206 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
libEGL warning: Could not open driver /usr/lib/arm-linux-gnueabihf/egl/egl_gallium.so (libOpenVG.so.1: cannot open shared object file: No such file or directory)
libEGL warning: DRI2: failed to open armsoc (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
Initializing OpenGL display
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: Software Rasterizer
GL_EXTENSIONS: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_vertex_array_object GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_EXT_map_buffer_range GL_OES_surfaceless_context

------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
dlopen(libasound.so.2)
asoundlib version: 1.0.27.2
Alsa is available
------ Alsa Sound Initialization -----
opened Alsa PCM device default for playback
device buffer size: 5461 frames ( 21844 bytes )
allocated a mix buffer of 16384 bytes
--------------------------------------
X..GL_ARB_multitexture not found
X..GL_ARB_texture_env_combine not found
X..GL_ARB_texture_cube_map not found
X..GL_ARB_texture_env_dot3 not found
X..GL_ARB_texture_env_add not found
X..GL_ARB_texture_non_power_of_two not found
X..GL_EXT_texture_lod not found
X..GL_1.4_texture_lod_bias not found
X..GL_EXT_shared_texture_palette not found
X..GL_EXT_texture3D not found
X..GL_ARB_vertex_buffer_object not found
X..GL_ARB_vertex_program not found
X..GL_ARB_fragment_program not found
X..GL_ARB_shading_language_100 not found
---------- R_GLSL_Init ----------
Not available.
----- R_ReloadGLSLPrograms -----
gl2progs/interaction.vert
gl2progs/interaction.frag
gl2progs/shadow.vert
gl2progs/shadow.frag
gl2progs/default.vert
gl2progs/default.frag
gl2progs/zfill.vert
gl2progs/zfill.frag
-------------------------------
using GLSL renderSystem
--------- Initializing Game ----------
gamename: baseDOOM-1
gamedate: Jul 27 2014
Initializing event system
...473 event definitions
Initializing class hierarchy
...142 classes, 382184 bytes for event callbacks
Initializing scripts
/proc/cpuinfo CPU frequency: 1300 MHzCompiled 'weapon_shotgun::Lower': 0.0 ms
---------- Compile stats ----------

Memory usage:
     Strings: 79, 12592 bytes
  Statements: 67875, 1357500 bytes
   Functions: 2109, 250532 bytes
   Variables: 147376 bytes
    Mem used: 2479384 bytes
 Static data: 2277552 bytes
   Allocated: 3284640 bytes
 Thread size: 13212 bytes

...6 aas types
game initialized.
--------------------------------------
-------- Initializing Session --------
Input #0, roq, from 'video/idlogo.roq':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
    Stream #0:0: Audio: roq_dpcm, 22050 Hz, stereo, s16, 705 kb/s
    Stream #0:1: Video: roq (roqvideo), yuvj444p(pc), 512x512, 30 fps, 30 tbr, 30 tbn
Loaded FFMPEG file: 'video/idlogo.roq', looping=1 512x512, 30.000000 FPS, -9223372036854775808.000000 sec
session initialized
--------------------------------------
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 55
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 58
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 61
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 64
BadMatch (invalid parameter attributes)
--- Common Initialization Complete ---
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 3320
2000 MB System Memory
512 MB Video Memory
Async thread started
XF86DGA not available, forcing DGA mouse off
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 161
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 242
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 249
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 256
BadMatch (invalid parameter attributes)
/usr/local/bin/doom3: line 60:  3320 Terminated              doom.arm
libEGL warning: DRI2: failed to open armsoc (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
Initializing OpenGL display
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: Software Rasterizer
GL_EXTENSIONS: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_vertex_array_object GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_EXT_map_buffer_range GL_OES_surfaceless_context

------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
dlopen(libasound.so.2)
asoundlib version: 1.0.27.2
Alsa is available
------ Alsa Sound Initialization -----
opened Alsa PCM device default for playback
device buffer size: 5461 frames ( 21844 bytes )
allocated a mix buffer of 16384 bytes
--------------------------------------
X..GL_ARB_multitexture not found
X..GL_ARB_texture_env_combine not found
X..GL_ARB_texture_cube_map not found
X..GL_ARB_texture_env_dot3 not found
X..GL_ARB_texture_env_add not found
X..GL_ARB_texture_non_power_of_two not found
X..GL_EXT_texture_lod not found
X..GL_1.4_texture_lod_bias not found
X..GL_EXT_shared_texture_palette not found
X..GL_EXT_texture3D not found
X..GL_ARB_vertex_buffer_object not found
X..GL_ARB_vertex_program not found
X..GL_ARB_fragment_program not found
X..GL_ARB_shading_language_100 not found
---------- R_GLSL_Init ----------
Not available.
----- R_ReloadGLSLPrograms -----
gl2progs/interaction.vert
gl2progs/interaction.frag
gl2progs/shadow.vert
gl2progs/shadow.frag
gl2progs/default.vert
gl2progs/default.frag
gl2progs/zfill.vert
gl2progs/zfill.frag
-------------------------------
using GLSL renderSystem
--------- Initializing Game ----------
gamename: baseDOOM-1
gamedate: Jul 27 2014
Initializing event system
...473 event definitions
Initializing class hierarchy
...142 classes, 382184 bytes for event callbacks
Initializing scripts
/proc/cpuinfo CPU frequency: 1300 MHzCompiled 'weapon_shotgun::Lower': 0.0 ms
---------- Compile stats ----------

Memory usage:
     Strings: 79, 12592 bytes
  Statements: 67875, 1357500 bytes
   Functions: 2109, 250532 bytes
   Variables: 147376 bytes
    Mem used: 2479384 bytes
 Static data: 2277552 bytes
   Allocated: 3284640 bytes
 Thread size: 13212 bytes

...6 aas types
game initialized.
--------------------------------------
-------- Initializing Session --------
Input #0, roq, from 'video/idlogo.roq':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
    Stream #0:0: Audio: roq_dpcm, 22050 Hz, stereo, s16, 705 kb/s
    Stream #0:1: Video: roq (roqvideo), yuvj444p(pc), 512x512, 30 fps, 30 tbr, 30 tbn
Loaded FFMPEG file: 'video/idlogo.roq', looping=1 512x512, 30.000000 FPS, -9223372036854775808.000000 sec
session initialized
--------------------------------------
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 55
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 58
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 61
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 64
BadMatch (invalid parameter attributes)
--- Common Initialization Complete ---
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 3320
2000 MB System Memory
512 MB Video Memory
Async thread started
XF86DGA not available, forcing DGA mouse off
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 161
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 242
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 249
BadMatch (invalid parameter attributes)
Fatal X Error:
  Major opcode of failed request: 72
  Minor opcode of failed request: 0
  Serial number of failed request: 256
BadMatch (invalid parameter attributes)
/usr/local/bin/doom3: line 60:  3320 Terminated              doom.arm
Seismograf
 
Posts: 58
Joined: Wed Dec 17, 2014 9:40 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby timli » Mon Jan 12, 2015 9:23 pm

I think it has to do with this:

Code: Select all
----- R_InitOpenGL -----
Setup X display connection
libEGL warning: Could not open driver /usr/lib/arm-linux-gnueabihf/egl/egl_gallium.so (libOpenVG.so.1: cannot open shared object file: No such file or directory)
libEGL warning: DRI2: failed to open armsoc (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)


No graphics driver, no screen output. :lol:
timli
 
Posts: 10
Joined: Wed Dec 31, 2014 7:26 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Seismograf » Mon Jan 12, 2015 9:52 pm

sounds plausible ;)
Seismograf
 
Posts: 58
Joined: Wed Dec 17, 2014 9:40 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Mon Jan 12, 2015 10:05 pm

Code: Select all
doom3
/usr/local/bin/doom3: line 4: 1280: No such file or directory
xrandr: cannot find mode 1280x720

haven't checked for the files for a while, but you should check for /usr/local/bin/doom3
See what it's complaining about in line 4
also saying that it can't find mode 1280x720 is generally bad.. that means you have a monitor connected that can not do 1280x720 resolution.. which might be troublesome.. i wrote a script which switches to 720p resolution before starting to play.
That also means this won't work on the C1 since the C1 does not support switching of resolutions without reboot.

But it seems about right, that it can't find the right drivers... HardKernel is sorting the drivers differently then i do on my images.. (they changed it with Ubuntu 14.04)
If you create links in /usr/lib/arm-linux-gnueabihf/ for GLES GLESv2 and EGL it should work looking like this:
Code: Select all
/usr/lib/arm-linux-gnueabihf/libEGL.so -> libEGL.so.1
/usr/lib/arm-linux-gnueabihf/libEGL.so.1 -> libEGL.so.1.0
/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0 -> libEGL.so.1.4
/usr/lib/arm-linux-gnueabihf/libEGL.so.1.4 -> ../libmali.so
/usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so -> libGLESv1_CM.so.1
/usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1
/usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1 -> ../libmali.so
/usr/lib/arm-linux-gnueabihf/libGLESv2.so -> libGLESv2.so.2
/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 -> libGLESv2.so.2.0
/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0 -> ../libmali.so
/usr/lib/arm-linux-gnueabihf/libmali.so

You can keep libmali.so as it is in /usr/lib/arm-linux-gnueabihf/mali-egl/ but then you have th change the links that point to libmali.so to that directory/file.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Seismograf » Tue Jan 13, 2015 1:26 am

please explain like I'm 5, i don't have any idea where and how to make the links and where to point them at :)
thanks a lot in advance!
Seismograf
 
Posts: 58
Joined: Wed Dec 17, 2014 9:40 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby timli » Tue Jan 13, 2015 1:37 am

LOL I feel similar. I tried to do it with some hardlinks, forced it if I got an error about the file existing, which probably was stupid but who cares, I can just reflash the image. Anyways, now doom3 segfaults because it cannot open some pulseaudio config file and the GL_Renderer and GL_Extensions both show (null)... :lol:

Time to reflash the emmc anyways, if I understood right doom3 should work out of the box on Gamestation Turbo, right? I like Debian more anyways. :)
timli
 
Posts: 10
Joined: Wed Dec 31, 2014 7:26 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Tue Jan 13, 2015 1:42 am

yes it should work out of the box with GameStation Turbo.. with the named issues above.

@Seismograf i'll add a howto for the links later.. right now i don't have the time for it.. give me a couple hours :)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Seismograf » Tue Jan 13, 2015 2:29 am

thanks meveric, I appreciate it very much :)
Seismograf
 
Posts: 58
Joined: Wed Dec 17, 2014 9:40 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Tue Jan 13, 2015 3:37 am

first you type
Code: Select all
sudo -s
to make you root for the time of these steps.
Then this should fix the links:
Code: Select all
ln -sf /usr/lib/arm-linux-gnueabihf/mali-egl/libmali.so /usr/lib/arm-linux-gnueabihf/libEGL.so.1.4
ln -sf /usr/lib/arm-linux-gnueabihf/libEGL.so.1.4 /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0
ln -sf /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0 /usr/lib/arm-linux-gnueabihf/libEGL.so.1
ln -sf /usr/lib/arm-linux-gnueabihf/libEGL.so.1 /usr/lib/arm-linux-gnueabihf/libEGL.so
ln -sf /usr/lib/arm-linux-gnueabihf/mali-egl/libmali.so /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1
ln -sf /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1 /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1
ln -sf /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1 /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so
ln -sf /usr/lib/arm-linux-gnueabihf/mali-egl/libmali.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0
ln -sf /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0 /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
ln -sf /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/arm-linux-gnueabihf/libGLESv2.so

That should fix the links.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Seismograf » Tue Jan 13, 2015 6:25 pm

thank you so much, will try out later today!
Seismograf
 
Posts: 58
Joined: Wed Dec 17, 2014 9:40 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby meveric » Tue Jan 13, 2015 6:46 pm

Please report back how it's working.. i wasn't able to test this on Ubuntu yet.. especially if it has the tearing issue while moving the camera as well.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6801
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [GAMES] DOOM 3 sci-fi horror shooter

Unread postby Seismograf » Wed Jan 14, 2015 8:59 pm

thank you sooo much meveric, it's working beautifully!
screen tearing is still very noticeable but bearable!
again thank you so much, also for your patience with the n00b's ;)
Seismograf
 
Posts: 58
Joined: Wed Dec 17, 2014 9:40 pm
languages_spoken: english, german
ODROIDs: XU3-Lite

Next

Return to Games and Emulators

Who is online

Users browsing this forum: No registered users and 1 guest