Jump to content

Samuraijp

Community Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Samuraijp

  1. On 6/29/2020 at 2:32 PM, Stan` said:

    Well on some distributions like Arch Linux, the package managers fixed it. Maybe you could send an email to the package manager of your distribution to patch the game as well.

    Or play on windows with the fixed build

     

     

    I assume my explanations are not clear then maybe this is clearer

    • Step 1: Open a terminal
    • Step 2: clone the game to rP21946
    
    svn co -r21946 https://svn.wildfiregames.com/public/ps/trunk/ 0ad
    • Step 3: Install the dependencies (e.g. on Ubuntu)
    
    sudo apt-get install build-essential cmake libboost-dev libboost-filesystem-dev   \
        libcurl4-gnutls-dev libenet-dev libgloox-dev libicu-dev    \
        libminiupnpc-dev libnvtt-dev libogg-dev libopenal-dev   \
        libpng-dev libsdl2-dev libvorbis-dev libxcursor-dev  \
        libxml2-dev python subversion zlib1g-dev libenet-dev \
        libboost-system-dev libsodium-dev \ 
        wx3.0-headers libwxbase3.0-dev libwxgtk3.0-gtk3-dev libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5
    • Step 4: Patch the game
      • Open ~0ad/source/lib/sysdep/arch/x86_x64/cache.cpp with any text editor (e.g. nano):
    
    nano ~/0ad/source/lib/sysdep/arch/x86_x64/cache.cpp
    • Replace 16, 0, 32, 48, 64, 96, 128, x86_x64::Cache::fullyAssociative
    • by 16, 16, 32, 48, 64, 96, 128, x86_x64::Cache::fullyAssociative
    • Save the file.
    • Step 5: Build the game. Run the four commands
    
    cd ~/0ad/build/workspaces
    sh update-workspaces.sh -j3
    cd gcc
    make -j3
    • Step 6: Run the game
    
    ~/0ad/system/pyrogenesis

     

     

    Thanks a lot for your support, but it's doesn't works properly. Any suggestions were unsolvable for my AMD Ryzen 5 CPU, on Intel CPU works properly. I hope it will be solved asap. Thanks

  2. Last week I was playing with 0ad on my desktop with intel CPU, now I have changed pc and I have mounted an AMD Ryzen 3600 CPU. After installing the game on Ubuntu 20.04 LTS at startup I get an error window like the image that I posted above. Please, could you help me solve this problem? I just wanna play. Below I have answered your questions.

    davide@davide-OptiPlex-755:~$ gcc --version
    gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
    Copyright (C) 2019 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Are you trying to (re)build the 0 A.D. svn development version (A24) or the latest stable (A23b)?
    Build: March 3rd 2020 (21946 P. release);

    From where did you get it?
    I installed the game from the terminal with  
    sudo apt-get install 0ad command;

    If the former, did you check you have 
    all dependencies installed?
    I'm not sure, but I think so;

    You wrote you have a Ryzen processor. Did you try everything suggested at 
    https://wildfiregames.com/forum/index.php?/topic/28367-amd-ryzen-threadripper-user-read-before-posting/ ?
    Yes, but the same error window still occurred

    Thanks for your patience.

  3. I don't understand what's it the  D2745. As you know I got error when running the game 0ad. I sent the commands that you showed me, but still errors

     

    davide@davide-OptiPlex-755:~/0ad$ svn propset svn:eol-style native source/fcollada/*
    'source/fcollada/*' non è sotto controllo di versione
    svn: E155010: The node '/home/davide/0ad/source/fcollada' was not found.
    davide@davide-OptiPlex-755:~/0ad$ svn propset svn:eol-style native libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/*
    svn: E200009: Il file '/home/davide/0ad/libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/FArchiveXML.cpp' ha terminatori di riga inconsistenti
    svn: E135000: Terminazione linea inconsistente
    svn: E200042: Additional errors:

     

  4. I got this error

    davide@davide-OptiPlex-755:~/0ad$ svn propset svn:eol-style native source/collada/*
    proprietà 'svn:eol-style' impostata su 'source/collada/CommonConvert.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/CommonConvert.h'
    proprietà 'svn:eol-style' impostata su 'source/collada/Decompose.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/Decompose.h'
    proprietà 'svn:eol-style' impostata su 'source/collada/DLL.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/DLL.h'
    proprietà 'svn:eol-style' impostata su 'source/collada/GeomReindex.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/GeomReindex.h'
    proprietà 'svn:eol-style' impostata su 'source/collada/Maths.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/Maths.h'
    proprietà 'svn:eol-style' impostata su 'source/collada/PMDConvert.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/PMDConvert.h'
    proprietà 'svn:eol-style' impostata su 'source/collada/precompiled.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/precompiled.h'
    proprietà 'svn:eol-style' impostata su 'source/collada/PSAConvert.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/PSAConvert.h'
    proprietà 'svn:eol-style' impostata su 'source/collada/StdSkeletons.cpp'
    proprietà 'svn:eol-style' impostata su 'source/collada/StdSkeletons.h'
    svn: E200009: Non posso impostare 'svn:eol-style' su una directory (/home/davide/0ad/source/collada/tests)

     

  5. At the step $ patch -p0 <patch.diff I got the following error

     

    davide@davide-OptiPlex-755:~$ cd 0ad
    davide@davide-OptiPlex-755:~/0ad$ patch -p0 < patch.diff
    (Stripping trailing CRs from patch; use --binary to disable.)
    patching file source/lib/sysdep/arch/x86_x64/cache.cpp
    (Stripping trailing CRs from patch; use --binary to disable.)
    patching file libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/FAXPhysicsExport.cpp
    Hunk #1 FAILED at 329 (different line endings).
    1 out of 1 hunk FAILED -- saving rejects to file libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/FAXPhysicsExport.cpp.rej
    (Stripping trailing CRs from patch; use --binary to disable.)
    patching file libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/FArchiveXML.h
    Hunk #1 FAILED at 553 (different line endings).
    1 out of 1 hunk FAILED -- saving rejects to file libraries/source/fcollada/src/FColladaPlugins/FArchiveXML/FArchiveXML.h.rej
    (Stripping trailing CRs from patch; use --binary to disable.)
    patching file source/simulation2/helpers/HierarchicalPathfinder.h
    Hunk #1 FAILED at 198.
    1 out of 1 hunk FAILED -- saving rejects to file source/simulation2/helpers/HierarchicalPathfinder.h.rej
    (Stripping trailing CRs from patch; use --binary to disable.)
    patching file source/simulation2/helpers/HierarchicalPathfinder.cpp
    Hunk #1 FAILED at 749.
    1 out of 1 hunk FAILED -- saving rejects to file source/simulation2/helpers/HierarchicalPathfinder.cpp.rej
    davide@davide-OptiPlex-755:~/0ad$ 

     

  6. Dear all,
    I installed the 0ad game on ubuntu 20.04 LTS. When I start the game from the terminal an error window appears as below.
    0ad.png

    I debugged and copied the answer from the terminal.

     

    avide@davide-OptiPlex-755:~$ 0ad
    TIMER| InitVfs: 664.45 us
    Writing the mainlog at /home/davide/.config/0ad/logs/mainlog.html
    TIMER| CONFIG_Init: 768.184 us
    Sound: AlcInit success, using OpenAL Soft
    TIMER| shutdown ConfigDB: 0.32 us
    TIMER| resource modules: 2.36109 ms
    TIMER TOTALS (9 clients)
    -----------------------------------------------------
      tc_pool_alloc: 0 c (0x)
      tc_png_decode: 0 c (0x)
      tc_dds_transform: 0 c (0x)
      tc_transform: 0 c (0x)
      tc_plain_transform: 0 c (0x)
      tc_ShaderGLSLLink: 0 c (0x)
      tc_ShaderGLSLCompile: 0 c (0x)
      tc_ShaderValidation: 0 c (0x)
      xml_validation: 0 c (0x)
    -----------------------------------------------------
    TIMER| shutdown misc: 214.531 us
    TIMER| InitVfs: 59.0982 ms
    Writing the mainlog at /home/davide/.config/0ad/logs/mainlog.html
    TIMER| CONFIG_Init: 763.795 us
    Sound: AlcInit success, using OpenAL Soft
    cache.cpp(43): Assertion failed: "cache.Validate()"
    Assertion failed: "cache.Validate()"
    Location: cache.cpp:43 (AddCache)
    
    Call stack:
    
    (0x55b1cd5971a5) /usr/games/pyrogenesis(+0x5e81a5) [0x55b1cd5971a5]
    (0x55b1cd549cf1) /usr/games/pyrogenesis(+0x59acf1) [0x55b1cd549cf1]
    (0x55b1cd54b0b4) /usr/games/pyrogenesis(+0x59c0b4) [0x55b1cd54b0b4]
    (0x55b1cd54b7ab) /usr/games/pyrogenesis(+0x59c7ab) [0x55b1cd54b7ab]
    (0x55b1cd58ef6e) /usr/games/pyrogenesis(+0x5dff6e) [0x55b1cd58ef6e]
    (0x55b1cd58f578) /usr/games/pyrogenesis(+0x5e0578) [0x55b1cd58f578]
    (0x55b1cd58f91d) /usr/games/pyrogenesis(+0x5e091d) [0x55b1cd58f91d]
    (0x55b1cd5c5ce3) /usr/games/pyrogenesis(+0x616ce3) [0x55b1cd5c5ce3]
    (0x55b1cd58f672) /usr/games/pyrogenesis(+0x5e0672) [0x55b1cd58f672]
    (0x55b1cd5915ba) /usr/games/pyrogenesis(+0x5e25ba) [0x55b1cd5915ba]
    (0x55b1cd5c5ce3) /usr/games/pyrogenesis(+0x616ce3) [0x55b1cd5c5ce3]
    (0x55b1cd59119e) /usr/games/pyrogenesis(+0x5e219e) [0x55b1cd59119e]
    (0x55b1cd25653c) /usr/games/pyrogenesis(+0x2a753c) [0x55b1cd25653c]
    (0x55b1cd24bd88) /usr/games/pyrogenesis(+0x29cd88) [0x55b1cd24bd88]
    (0x55b1cd05ca73) /usr/games/pyrogenesis(+0xada73) [0x55b1cd05ca73]
    (0x55b1cd04937e) /usr/games/pyrogenesis(+0x9a37e) [0x55b1cd04937e]
    
    errno = 0 (Try again later)
    OS error = ?
    Sleeping until debugger attaches.
    Please wait.
    GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
    Copyright (C) 2020 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    Type "show copying" and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
        <http://www.gnu.org/software/gdb/documentation/>.
    
    For help, type "help".
    Type "apropos word" to search for commands related to "word".
    Attaching to process 18233
    Could not attach to process.  If your uid matches the uid of the target
    process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
    again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
    ptrace: Operazione non permessa.
    (gdb) Trace/breakpoint trap (core dumped)
    davide@davide-OptiPlex-755:~$ quit


    When I installed 0ad from the terminal I only started the sudo apt-get install 0ad command.
    Next, when I run the sudo add-apt-repository ppa: wfg / 0ad command

     

    davide@davide-OptiPlex-755:~$ sudo add-apt-repository ppa:wfg/0ad
    [sudo] password di davide: 
     0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform real-time strategy (RTS) game of ancient warfare. In short, it is a historically-based war/economy game that allows players to relive or rewrite the history of Western civilizations, focusing on the years between 500 B.C. and 500 A.D. The project is highly ambitious, involving state-of-the-art 3D graphics, detailed artwork, sound, and a flexible and powerful custom-built game engine.
     Maggiori informazioni: https://launchpad.net/~wfg/+archive/ubuntu/0ad
    Premere «Invio» per continuare o Ctrl-c per annullare l'aggiunta.
    
    Trovato:1 http://it.archive.ubuntu.com/ubuntu focal InRelease
    Trovato:2 http://it.archive.ubuntu.com/ubuntu focal-updates InRelease          
    Trovato:3 http://archive.canonical.com/ubuntu focal InRelease                  
    Trovato:4 http://it.archive.ubuntu.com/ubuntu focal-backports InRelease        
    Trovato:5 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease      
    Trovato:6 http://dl.google.com/linux/chrome/deb stable InRelease               
    Ignorato:7 http://ppa.launchpad.net/wfg/0ad/ubuntu focal InRelease          
    Trovato:8 http://security.ubuntu.com/ubuntu focal-security InRelease
    Errore:9 http://ppa.launchpad.net/wfg/0ad/ubuntu focal Release
      404  Not Found [IP: 91.189.95.83 80]
    Lettura elenco dei pacchetti... Fatto
    E: Il repository "http://ppa.launchpad.net/wfg/0ad/ubuntu focal Release" non ha un file Release.
    N: L'aggiornamento da tale repository non può essere eseguito in modo sicuro ed è quindi disabilitato come impostazione predefinita.
    N: Consultare la pagina man apt-secure(8) per la creazione di un repository e la configurazione utente.
    davide@davide-OptiPlex-755:~$ 

    thank you for your support

×
×
  • Create New...