Urban Terror Forums: UrbanTerror Server for armv61 (raspberry pi) - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

UrbanTerror Server for armv61 (raspberry pi) Rate Topic: -----

#1 User is offline   realloc Icon

  • Account: realloc
  • Joined: 31-August 13
  • Posts: 7

Posted 15 September 2013 - 01:25 PM

EDIT: Everything seems to work now. Instructions to run an UrbanTerror 42 Server on your Raspberry Pi can be found in my last post in this topic

---------------------------------------------------------------------------


Hi, i hope, my post is right placed here...

A few days ago, i got a raspberry pi "pocket computer" and now i'm thinking about using it as UrbanTerror server.
Unfortunately it has got an "exotic" processor, so that it needs armv61 binaries, but for UrbanTerror i get only i386 and x86_64 binaries, so that i tried to compile myself a fitting binary using ioquake3 sources following this guide. It compiled fine and i got a binary, but the raspi hasn't enough memory (512 MB RAM), so i created a bigger swapfile. Then it seemed to work but after a few seconds it crashed again....

Does anyone have an idea about that? Thanks very much!

sorry for my bad english

EDIT: It's of course armv6l/armhf, not armv61^^

p.s. found also this source, but after running "make" i'm getting these errors (comments in []):

make: sdl-config: Kommando nicht gefunden [translated to english -> "command not found" ...do i need SDL??]
make[1]: Entering directory `/home/[myusername]/ioq3-for-UrbanTerror-4-master'

Building Quake3-UrT in build/release-linux-armv6l:
  PLATFORM: linux
  ARCH: armv6l
  COMPILE_PLATFORM: linux
  COMPILE_ARCH: armv6l
  CC: cc

  CFLAGS:
    -Wall
    -Wimplicit
    -Wstrict-prototypes
    -pipe
    -DUSE_CURL=1
    -DUSE_CURL_DLOPEN=1
    -DUSE_SDL_VIDEO=1
    -DUSE_SDL_SOUND=1
    -DNO_VM_COMPILED
    -DUSE_AUTH=1
    -DUSE_DEMO_FORMAT_42=1
    -DUSE_LOCAL_HEADERS=1
    -MMD
    -DNDEBUG
    -O2
    -mmmx
    -msse
    -msse2
    -msse3

  Output:
    build/release-linux-armv6l/Quake3-UrT-Ded.armv6l
    build/release-linux-armv6l/Quake3-UrT.armv6l

make[2]: Entering directory `/home/[myusername]/ioq3-for-UrbanTerror-4-master'
DED_CC code/server/sv_bot.c
cc1: error: unrecognized command line option â-mmmxâ
cc1: error: unrecognized command line option â-msseâ
cc1: error: unrecognized command line option â-msse2â
cc1: error: unrecognized command line option â-msse3â
make[2]: *** [build/release-linux-armv6l/ded/sv_bot.o] Fehler 1 ["Fehler" translated to english -> "error"]
make[2]: Leaving directory `/home/[myusername]/ioq3-for-UrbanTerror-4-master'
make[1]: *** [targets] Fehler 2 ["Fehler" translated to english -> "error"]
make[1]: Leaving directory `/home/[myusername]/ioq3-for-UrbanTerror-4-master'
make: *** [release] Fehler 2 ["Fehler" translated to english -> "error"]


p.p.s.: i'm getting this output over ssh in putty, the operating system on the raspberry pi is raspbian (kind of debian)

EDIT: Fixed the sdl-config error by setting USE_SDL = 0. Also set BUILD_CLIENT = 0, but it still doesn't compile....

EDIT-2: Tried it with the first guide again and used this command after building:

./ioq3ded.armv6l +set fs_game q3ut4 +set dedicated 1 +set net_IP [IP of the raspberry in our LAN] +map ut4_elgin > log.txt


The content of the log.txt is total nonsense, but on the screen i'm getting this (very weird):


iofoo3 1.36_SVN1757M linux-arm Sep 15 2013
----- FS_Startup -----
Current search path:
/root/.q3a/q3ut4
./q3ut4/zUrT42_qvm.pk3 (3 files)
./q3ut4/zUrT42_0022.pk3 (88 files)
./q3ut4/zUrT42_0021.pk3 (12 files)
./q3ut4/zUrT42_0020.pk3 (348 files)
./q3ut4/zUrT42_0019.pk3 (472 files)
./q3ut4/zUrT42_0018.pk3 (141 files)
./q3ut4/zUrT42_0017.pk3 (109 files)
./q3ut4/zUrT42_0016.pk3 (12 files)
./q3ut4/zUrT42_0015.pk3 (34 files)
./q3ut4/zUrT42_0014.pk3 (25 files)
./q3ut4/zUrT42_0013.pk3 (6 files)
./q3ut4/zUrT42_0012.pk3 (173 files)
./q3ut4/zUrT42_0011.pk3 (48 files)
./q3ut4/zUrT42_0010.pk3 (26 files)
./q3ut4/zUrT42_0009.pk3 (139 files)
./q3ut4/zUrT42_0008.pk3 (377 files)
./q3ut4/zUrT42_0007.pk3 (2097 files)
./q3ut4/zUrT42_0006.pk3 (1136 files)
./q3ut4/zUrT42_0005.pk3 (557 files)
./q3ut4/zUrT42_0004.pk3 (1707 files)
./q3ut4/zUrT42_0003.pk3 (1168 files)
./q3ut4/zUrT42_0002.pk3 (1547 files)
./q3ut4/zUrT42_0001.pk3 (2122 files)
./q3ut4/ut4_jumpents.pk3 (8 files)
./q3ut4/ut4_commune.pk3 (150 files)
./q3ut4
/root/.q3a/foobar
./foobar

----------------------
12505 files in pk3 files
execing default.cfg
execing q3config_server.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 192.168.2.12
Opening IP socket: 192.168.2.12:27960
------ Server Initialization ------
Server: ut4_elgin
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/root/.q3a/q3ut4
./q3ut4/zUrT42_qvm.pk3 (3 files)
./q3ut4/zUrT42_0022.pk3 (88 files)
./q3ut4/zUrT42_0021.pk3 (12 files)
./q3ut4/zUrT42_0020.pk3 (348 files)
./q3ut4/zUrT42_0019.pk3 (472 files)
./q3ut4/zUrT42_0018.pk3 (141 files)
./q3ut4/zUrT42_0017.pk3 (109 files)
./q3ut4/zUrT42_0016.pk3 (12 files)
./q3ut4/zUrT42_0015.pk3 (34 files)
./q3ut4/zUrT42_0014.pk3 (25 files)
./q3ut4/zUrT42_0013.pk3 (6 files)
./q3ut4/zUrT42_0012.pk3 (173 files)
./q3ut4/zUrT42_0011.pk3 (48 files)
./q3ut4/zUrT42_0010.pk3 (26 files)
./q3ut4/zUrT42_0009.pk3 (139 files)
./q3ut4/zUrT42_0008.pk3 (377 files)
./q3ut4/zUrT42_0007.pk3 (2097 files)
./q3ut4/zUrT42_0006.pk3 (1136 files)
./q3ut4/zUrT42_0005.pk3 (557 files)
./q3ut4/zUrT42_0004.pk3 (1707 files)
./q3ut4/zUrT42_0003.pk3 (1168 files)
./q3ut4/zUrT42_0002.pk3 (1547 files)
./q3ut4/zUrT42_0001.pk3 (2122 files)
./q3ut4/ut4_jumpents.pk3 (8 files)
./q3ut4/ut4_commune.pk3 (150 files)
./q3ut4
/root/.q3a/foobar
./foobar

----------------------
12505 files in pk3 files
Loading vm file vm/qagame.qvm...
Architecture doesn't have a bytecode compiler, using interpreter
qagame loaded in 71961120 bytes on the hunk
---- Game Initialization -------
name: q3urt4°¦Ûΰõ\ñîÿJò#°mâÁSHt_4ÎVÏÙ!´náósADê­f["tÔD©EÆx
                                                         XLÖ.g«6ÑÌâÔÉáµk1ÈògüWoål&K³¤Zinvalid cvar name string: £n©#s³ùsÏ
¿               e: Jul 09 2013  +Oÿ
 ü_Q>Én0Z]ëM¥åmi;­¢HZ
íW {QËzEü+`çrþÈÍà
invalid cvar name string: ÝtÆ9ê7è2ÖGÚwZ^ÒTp]P«A®O¶ ³\JÀó¤Âå³¹å1ß̼x­J¸"z÷ò¡;¾û¨ô¼\M =Ël]Býü®(¾;¤ìaôIv+e/*y
                          pµ_YKQãÏ øöÔ`ì#2jf^h«ÁgÛYj
áº10ÀTÛâ§
         7U·¨Y_±ã4qt¤=ÐÖ¤e¤ÆDGMÖGɪ±¸J_¨ÌK÷ü,rÅôF|+¶ÎýòضQ=O¹¡¹(>ä1%-@.£÷
|Ç$|bá¢p'¤NPJ\áç
                            OávîpM|÷RÂí
           S­D¬ÍfgÒyd¢ÅZ8á|í           bÅ^u_ ý¯Õ
µJ;Ää}¼mÙ,Î
invalid cvar name string: gameGp*È;ñ
Ï"~²`ß©-
¯m'aí¶»<%òís.3'¹Ä,FÊHøb
invalid cvar name string: gamedateÂDÃø
                                      cxS5yi8ÇxÌyÛ?¤|vØÄÙ¶Ú~©Ú  *èdC+ØÍ©²úq]o¬þ³³GO¥ÕýN¢þ%ÍÁ_¹EY¨
                 ؾ'tªÉPÓ¯î©'wâÜ
$|é+ñ¬C8A.-¿Ü¦B¶:ºe¥ÚÙþê
°Y}
   ÛåÃyÙ?û
7è16"7!ô$L3Gª/3ó}">d@%´îÄ´þ8ÒÒl°ábêsèCïÄ£ÏD{èç6ßöOCäHË­!('úä0;ßÏrjj®5ÐÜp¬nv?â¶aU·«
invalid cvar name string: g_gametyGè>¦nÿö OCe·Ã7Ô½}Á9á...ë³ß
µ¿*
   N-{±úÁ`ò¼õñÛ         w>
invalid cvar name string: sv_maxclientÊ°
                                        O;ÓÇ7ÛíÜN
                                                 ü&õyó<4êèD|,
!oF
   ßT¡Ç:HBåy¥
ãà                                                                    B34ñÁáklÎö¿ñ&XAbÿÉöA cvar name string: g_maxGameClientsP=Ì!­a¢ØG=Ñûm¬»(p"$áÎäI~*
invalid cvar name string: timelimi,( ¶oègSh8ª¼ó-*PvFñì
                                                      ùÅáµg©¹©_¨£g¨F,¤0µ6ê¼äa.ÅJCÓÆ?3±Æ5`­QR§óÊn2±vÍS=8ënÆö2*ºÐÓ ªr==q
%Ë+a«
     ®ö«xg
          {PTÜDÈ®Là(âÖðÖ6di¾¾ïÛô´
invalid cvar name string: riendlyFir0+í>I®Éͼ,VȺê;{oÈ+çoâv¯Ë?çÅɳÁ¢ýèæÐ
                       Î|apì?£Ã¼dl                                      ¶/%@.'°z®#ôÔå¥ýOUÎùþ·vº5OðR¾S;Ç           invalid cvar name string: g_warmup¤¶¬ÈÏm¥*`:ÇÏÃ3tØ?Ì)÷2²~}ÓÁD»øÔáê5x»Ê=òb·dýV¥§IA
>£¬F*¨|5Ûe5[
õ¶YÍ;GýÉö9C¼cËÕp`ü§ýë¯ôkZü4^æA#±%+b¹2W¢Ð6ãbúØ|  6

ÉÒ3"Â6D¸FI «+ä_ãÜïyQÐ)9ßÞêêÓ'ÝØgi¨Î\UïÍÞ± äͱ»Ë}-æaÙK¹7ãÂÏUN\¨
tÚ3ÜP©
JÁK£                       ¿uzJÈõâÚüÁ\̵Ör&)(l{W,¢ÕÙi"%¸$Y~#½~c\UûR9µöø
    ³x¤ÕÔï®RäúR-îbB=NÃÆñÝnÀ                                            æTÑM² þ®Î²í_ú²kY¾T£Ôeùí5Ùú­î     d³ÛúܵKÓäbÞ.k?uVÖ>³QN#[ÜëÜaÑÚ°|ÍYÆ
Xôzë/ÆÔÎ%65ngÉtBÃ  ±y¾½×
î Ù<_í£#R ¨Máð
­õ~ !
)i»óùOÂÅîo¬Çg´òÉQh«Þ÷Ö\R´©ÕàYù0qr¹?hZF
øÚôã¥7ÄØÉIçgÌ-WáéÀæ¶Xg©ÅùÞ+¯Í6­:DW²T±ÿæ>xT;¾(GÇ­)Èý·Æ½ÍÌçgõâtÒ~p>Ô?VÌ©@±Üx Ë&P®L)oAðûëX-)]v
!ª
ê *H
ûÂo÷h£`z¡kMsUjôâQ[û$ÿiûKDäT¢KNH§÷'8Öû7Rã%X~´åÃÉ %ÁW&Ûÿ>@N°
´ÑÅÃæ¶B­¡è;*¯QD+tV6Ó#Õ@5°í9¯dí#)õQõ¢q¡ï´
r²tièjÜ? §×]:UÍ%xbà"¾¯Å1+³CnÀS-Õi¿«æ)Ôk6¡Á1o;Ù¼jç÷`-öôf;±<
invalid cvar name string: g_logroloqÃê
3u!èëié<F´ïiÔh(®6£¿-³¬¦a~áÒ ¿©«K= ¾1NÈâw)~Ö¨ªAgÔbÅb}xeÞywB61ßò$HoíÌn;76á,íüÜ"ÙÖ\®ÑR×Ú<½àÃ55¹>nN®2$·ìßï  nð/wÐÇy
fLlÊ.tJEZVþÖ=N×
pI"5Íl ¨ òmú¢î>T_ÿCP7dYr_¡NÜè
¡ÞEpüF2}"ÉD±½jdN
invalid cvar name string: ²ÕK
+Àíu'³ZÒ¿¿3(ä×ú¥ `h "ðãÓ     Çw£`
Äß(rË(s
È`Üðܸaþ_Bsª'øÝÿatEúÏsnÄĵ|IQh6ûöËö²¸Õ}³eZÍ{i§ÞÜpêmZ¾/÷ñ*
æEÊ|RiBK|©°ö!hm£.ÕæÓ±:9C¿Uiö>{:7°d

B÷ôalid cvar name string: g_logSynÛ
  £\Aõ q¹ï¼s¿"zP®×g«Õo_¼4ÕÕàê
Ǹ߯xVÁ\EÏ      ·c4^*àã®ÿîÑdãoå³W¼
********************
ERROR: Cvar_Update: src `CµÊÑ|ɺSÝ]ÎW{Å
¶o«ÙAQWNµ
Õ³g0lsÏöà«RV¬à$ÍfßWûß½¨yXäÁüñÁ^´þȤÜøäða³ï[·pÀ«î¨z8x#<,É#õ'uÃe¶ªüÙ§L5ó.ë-}eÉÆ/
                                                                              R[¨b·nÓ ÃÚý^º®]ú:ËOµ»¡ñ&ð;c±þùVl{Ñ(§-àýóÎî2d©ïD^Ð{3xløoáêmÄ«Lnº¯Æ§¶OÁ½Ç~ÌC ×£b,ù&µ48°âf,E
,Þ{`ÞwzÕë«Ì|    gÂí!è
                     ê¥2Àëé
Syó{=¬h2
    ¥OoÒªEز
õÃ length 347 exceeds MAX_CVAR_VALUE_STRING
********************
----- Server Shutdown (Server crashed: Cvar_Update: src `CµÊÑ|ɺSÝ]ÎW{Å
¶o«ÙAQWNµ
Õ³g0lsÏöà«RV¬à$ÍfßWûß½¨yXäÁüñÁ^´þȤÜøäða³ï[·pÀ«î¨z8x#<,É#õ'uÃe¶ªüÙ§L5ó.ë-}eÉÆ/
                                                                              R[¨b·nÓ ÃÚý^º®]ú:ËOµ»¡ñ&ð;c±þùVl{Ñ(§-àýóÎî2d©ïD^Ð{3xløoáêmÄ«Lnº¯Æ§¶OÁ½Ç~ÌC ×£b,ù&µ48°âf,E
,Þ{`ÞwzÕë«Ì|    gÂí!è
                     ê¥2Àëé
Syó{=¬h2
    ¥OoÒªEز
õÃ length 347 exceeds MAX_CVAR_VALUE_STRING) -----
==== ShutdownGame ====
recursive error after: Cvar_Update: src `CµÊÑ|ɺSÝ]ÎW{Å
¶o«ÙAQWNµ
Õ³g0lsÏöà«RV¬à$ÍfßWûß½¨yXäÁüñÁ^´þȤÜøäða³ï[·pÀ«î¨z8x#<,É#õ'uÃe¶ªüÙ§L5ó.ë-}eÉÆ/
                                                                              R[¨b·nÓ ÃÚý^º®]ú:ËOµ»¡ñ&ð;c±þùVl{Ñ(§-àýóÎî2d©ïD^Ð{3xløoáêmÄ«Lnº¯Æ§¶OÁ½Ç~ÌC ×£b,ù&µ48°âf,E
,Þ{`ÞwzÕë«Ì|    gÂí!è
                     ê¥2Àëé
Syó{=¬h2
    ¥OoÒªEز
õÃ length 347 exceeds MAX_CVAR_VALUE_STRING



These weird characters aren't only in the output, they stay after the program crashes, so even the commands i'm typing after this aren't really readable anymore, but they work, so, if i type "reboot" the raspi reboots and then everything is ok again... i've no idea what this means....

EDIT-3: Tried a few other commands and everything works, but if i try to load a map, it crashes again

This post has been edited by realloc: 24 February 2014 - 11:39 PM



#3 User is offline   realloc Icon

  • Account: realloc
  • Joined: 31-August 13
  • Posts: 7

Posted 19 September 2013 - 03:41 PM

Thanks very much for the answer!

View Postv3nd3tta, on 19 September 2013 - 01:26 PM, said:

the error you are getting are invalid cvars


I'll try to fix this cvars thing... in case of success i'll inform you

View Postv3nd3tta, on 19 September 2013 - 01:26 PM, said:

i'd say the QVM doesn't get properly loaded.
Architecture doesn't have a bytecode compiler, using interpreter



[I'm not sure if i'm understanding this right.... but do i need to compile bytecode like described here, or should this interpreter thing work somehow? (...and where do i get the linux versions (sources in my case ^^) of lcc.exe and qasm.exe?)] <- EDIT: ok, forget this crap^^

View Postv3nd3tta, on 19 September 2013 - 01:26 PM, said:

i had that character bug with my ssh aswell, no way around restarting sshd


I tested it on a normal screen again, so no ssh, but the command line still gets totally messed up....

This post has been edited by realloc: 06 November 2013 - 05:19 PM


#4 User is offline   realloc Icon

  • Account: realloc
  • Joined: 31-August 13
  • Posts: 7

Posted 07 October 2013 - 03:29 PM

First of all sorry for not replying the last time, i'm currently a bit busy...

This on raspbian.org, that i found today, gives me hope, i'll try to build it and to get Urban to work with it... (Is there anybody with experiences on running UrbanTerror 4.2 with plain ioquake?)

I will report again if it works.

EDIT/Quick-Update:
Got UrbanTerror4.1 perfectly working with ioquake3 from the openarena-server package (apt-get install openarena-server). So this, openarena and tremulous, i compiled a few days ago, work perfectly, although it always says
Architecture doesn't have a bytecode compiler, using interpreter
, so this can't be the problem.
If i try the same with UrbanTerror4.2.014/4.2.015 it always says that the Client QVM "doesn't support unaligned access" ....any ideas?

EDIT2:
Ok... seems like "unaligned access" is a special cpu feature, the pi doesn't support by default, but in a "RISC OS" forum there's a thread about enabling it: link

And here a manual about "setting bit 22 on CP15 register c1" to activate this feature.

Unfortunately I have currently not enough knowledge or time to learn how to set this bit.

Does anybody here know enough about Assembler/"Microcontroller C" to do that or is there a simpler solution? THANKS!

This post has been edited by realloc: 06 November 2013 - 05:34 PM


#5 User is offline   realloc Icon

  • Account: realloc
  • Joined: 31-August 13
  • Posts: 7

Posted 14 February 2014 - 08:50 PM

It took a long time and a lot of research, but now i got it working! :biggrin: :biggrin: :biggrin: :biggrin:

The problem was indeed the "unaligned access", so i had to change some lines of the engine.

Steps to get UrbanTerror 4.2.018 (!) Server working on your Raspberry Pi:


THE FOLLOWING INSTRUCTIONS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED. IN NO EVENT SHALL THE
AUTHOR (me) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE INSTRUCTIONS OR THE USE OR OTHER DEALINGS IN
THE INSTRUCTIONS.

... because some changes (swap) can be dangerous for example for some sd cards...

1. Download the ioquake3 Engine for Raspberry Pi (https://github.com/raspberrypi/quake3)
2. Download UrbanTerror (FULL.zip) and extract it to a different folder
3. Execute the following commands to get the necessary compilation tools and to increase your swapfile (engine needs lots of space):

sudo apt-get install build-essential libsdl1.2-dev

sudo echo "CONF_SWAPSIZE=1024" > /etc/dphys-swapfile
sudo dphys-swapfile setup
sudo dphys-swapfile swapon

4. Edit build.sh of the downloaded engine and make the following changes:

ARM_LIBS=/opt/bcm-rootfs/opt/vc/lib

To
ARM_LIBS=/opt/vc/lib


INCLUDES="-I/opt/bcm-rootfs/opt/vc/include -I/opt/bcm-rootfs/opt/vc/include/interface/vcos/pthreads"

To
INCLUDES="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads"


CROSS_COMPILE=bcm2708-

To
#CROSS_COMPILE=bcm2708-


5. Edit "Makefile"

Change

ifndef BUILD_CLIENT
  BUILD_CLIENT     =
endif
ifndef BUILD_CLIENT_SMP
  BUILD_CLIENT_SMP =
endif
ifndef BUILD_SERVER
  BUILD_SERVER     =
endif


To

ifndef BUILD_CLIENT
  BUILD_CLIENT     = 0
endif
ifndef BUILD_CLIENT_SMP
  BUILD_CLIENT_SMP =
endif
ifndef BUILD_SERVER
  BUILD_SERVER     = 1
endif



6. "cd" to the following subdirectory:
code/qcommon/

7. Edit "vm_interpreted.c" (a bit more complex):

Change

		case OP_STORE4:
			*(int *)&image[ r1&(dataMask & ~3) ] = r0;
			opStack -= 2;
			goto nextInstruction;
		case OP_STORE2:
			*(short *)&image[ r1&(dataMask & ~1) ] = r0;
			opStack -= 2;
			goto nextInstruction;


To

		case OP_STORE4:
			*(int *)&image[ r1&(dataMask) ] = r0;
			opStack -= 2;
			goto nextInstruction;
		case OP_STORE2:
			*(short *)&image[ r1&(dataMask) ] = r0;
			opStack -= 2;
			goto nextInstruction;



8. Change back to the main directory of the downloaded engine
9. type "./build.sh"
10. Wait until the process finishes
11. copy "build/release-linux-arm/ioq3ded.arm" into the extracted game folder, it has to be in the same folder as the "q3ut4" folder
12. "cd" to the extracted game folder

13. Finished!!

Now you can try the server with the following example command:

 ./ioq3ded.arm +set fs_game q3ut4 +map ut4_company



Remember always to add "+set fs_game q3ut4" if you didn't hardcode it into the engine!

And now have fun!

P.S. Of course sry for the bad english again....

This post has been edited by realloc: 19 April 2015 - 09:39 AM


bullet_loaderAdvertisement

#6 User is offline   cobalt60 Icon

  • Account: cobalt60
  • Joined: 15-January 11
  • Posts: 56

Posted 07 June 2014 - 05:46 PM

Concerning your low RAM, I highly recommend using ZRAM. It compresses your RAM. However, having to compress and decompress your memory may take CPU time you dont want to give up, but I still think its worth trying. I use it on my Toshiba AC100 (ARM netbook with only 512MB RAM) running a stripped down Lubuntu.

You may also see if you have any RAM dedicated as VRAM. On my AC100, 80MB of main system RAM is dedicated as VRAM, but it has been found that if using 2D only and not using the external display port, 16MB is enough, and it can be changed.

Also, not sure what you are using as swap, but using cheap solid state memory (like a USB thumb drive or SD card) is NOT recommended. A high quality SSD would be best for performance, followed by a standard mechanical drive.

Most of my systems only use 45MB RAM after first starting the GUI. I use startx instead of a login manager, and my window manager is IceWM-Lite, and panel is Tint2

#7 Guest_apmarek

Posted 22 August 2014 - 01:46 AM

View Postcobalt60, on 07 June 2014 - 05:46 PM, said:

Concerning your low RAM, I highly recommend using ZRAM. It compresses your RAM. However, having to compress and decompress your memory may take CPU time you dont want to give up, but I still think its worth trying. I use it on my Toshiba AC100 (ARM netbook with only 512MB RAM) running a stripped down Lubuntu.

You may also see if you have any RAM dedicated as VRAM. On my AC100, 80MB of main system RAM is dedicated as VRAM, but it has been found that if using 2D only and not using the external display port, 16MB is enough, and it can be changed.

Also, not sure what you are using as swap, but using cheap solid state memory (like a USB thumb drive or SD card) is NOT recommended. A high quality SSD would be best for performance, followed by a standard mechanical drive.

Most of my systems only use 45MB RAM after first starting the GUI. I use startx instead of a login manager, and my window manager is IceWM-Lite, and panel is Tint2




ummmm.... you can't really boot off of a SSD other than a sd or micro sd on a raspberry pi. that's what this thread is talking about and dedicated to right now. :smile:

by the way, does this work w/ UrT 4.2- it uses the unreal engine (i think).

#8 User is offline   cobalt60 Icon

  • Account: cobalt60
  • Joined: 15-January 11
  • Posts: 56

Posted 15 March 2015 - 12:50 AM

View Postapmarek, on 22 August 2014 - 01:46 AM, said:

ummmm.... you can't really boot off of a SSD other than a sd or micro sd on a raspberry pi. that's what this thread is talking about and dedicated to right now. :smile:


Well, I wasnt talking about booting off an SSD, I was talking about using one as swap. On my AC100 I used to connect an external USB hard-drive as needed for no use other than to use it as swap space when compiling large programs. An external SSD could be attached via USB. Even a mechanical HD would probably be faster than using an SD card or thumb-drive, and performance wont degrade

#9 User is offline   realloc Icon

  • Account: realloc
  • Joined: 31-August 13
  • Posts: 7

Posted 19 April 2015 - 09:36 AM

View Postapmarek, on 22 August 2014 - 01:46 AM, said:

ummmm.... you can't really boot off of a SSD other than a sd or micro sd on a raspberry pi. that's what this thread is talking about and dedicated to right now. :smile:

by the way, does this work w/ UrT 4.2- it uses the unreal engine (i think).


UrT 4.2 uses still the idtech3 engine, UrbanTerror HD will be Unreal Engine

#10 User is offline   Frankthetank1974 Icon

Posted 05 May 2016 - 08:20 AM

I guess it might work better on a raspberry pi 2 or 3 as they have 1 GB of memory and probably dont need to swap. I have both and will try it out soon.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942