Jump to content

All characters are garbled on Arch linux -- svn trunk


Li Chen
 Share

Recommended Posts

Garbled show as attachment picture

[firstlove@chenli 0ad]$ git log -2
commit e7502263af98137ec20ceae7e1cef0f8ca12dae1 (HEAD -> master, origin/master, origin/HEAD)
Merge: 5a79de800c 95226f6354
Author: na-Itms <na.itms76@gmail.com>
Date:   Sat Mar 19 05:01:47 2022 +0100

   Merge 'remotes/trunk'

commit 95226f63548106401720ac4f1a7fb09da32748a1
Author: autobuild <autobuild@3db68df2-c116-0410-a063-a993310a9797>
Date:   Fri Mar 18 08:14:55 2022 +0000

   [i18n] Updated POT and PO files.
    
   git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@26668 3db68df2-c116-0410-a063-a993310a9797

 

[firstlove@chenli 0ad]$ locales
bash: locales: command not found
[firstlove@chenli 0ad]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


terminal output:

[firstlove@chenli 0ad]$ 0ad
TIMER| InitVfs: 680.129 us
FILES| Main log written to '/home/firstlove/.config/0ad/logs/mainlog.html'
FILES| Interesting log written to '/home/firstlove/.config/0ad/logs/interestinglog.html'
TIMER| CONFIG_Init: 3.27359 ms
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Sound: AlcInit success, using OpenAL Soft
FILES| UserReport written to '/home/firstlove/.config/0ad/logs/userreport_hwdetect.txt'
TIMER| RunHardwareDetection: 11.5352 ms
FILES| Hardware details written to '/home/firstlove/.config/0ad/logs/system_info.txt'
TIMER| write_sys_info: 16.4936 ms
TIMER| InitRenderer: 2.19705 ms
TIMER| ps_console: 1.66453 ms
TIMER| ps_lang_hotkeys: 1.08587 ms
TIMER| common/modern/setup.xml: 276.764 us
TIMER| common/modern/styles.xml: 67.711 us
TIMER| common/modern/sprites.xml: 690.909 us
TIMER| common/global.xml: 215.113 us
TIMER| common/setup.xml: 108.291 us
TIMER| common/sprites.xml: 242.334 us
TIMER| common/styles.xml: 41.08 us
TIMER| pregame/backgrounds/: 423.706 us
TIMER| pregame/sprites.xml: 88.831 us
TIMER| pregame/styles.xml: 19.431 us
TIMER| pregame/mainmenu.xml: 17.3521 ms
TIMER| common/modern/setup.xml: 68.211 us
TIMER| common/modern/styles.xml: 65.681 us
TIMER| common/modern/sprites.xml: 913.913 us
TIMER| common/global.xml: 152.112 us
TIMER| common/sprites.xml: 254.784 us
TIMER| splashscreen/setup.xml: 117.731 us
TIMER| splashscreen/splashscreen.xml: 6.67107 ms


 

OS: arch linux

 

How to build: use arch's 0ad-git: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=0ad-git

 

Screenshot_20220319_185207.jpg

Link to comment
Share on other sites

Posted (edited)
13 minutes ago, Langbart said:

Isn't the problem that he uses a language for which he needs a mod?

 

15 minutes ago, Stan` said:

@Li Chen You need to disable Delenda Est, the default mod is not made to play with such a recent version :)

 

13 minutes ago, Langbart said:

Isn't the problem that he uses a language for which he needs a mod?

 

15 minutes ago, Stan` said:

@Li Chen You need to disable Delenda Est, the default mod is not made to play with such a recent version :)

 

Thanks for you all, I disable Delenda Est and switch my language to English, this issue goes away.

 

 

Then I try to play Han chinese, but get segment fault when loading map, all other dynasty have this issue too(sorry I reach my replay count in this forum today, so I have to update here)

 

> What map is that? Can you upload the replay?

 

 

 

TIMER| common/modern/sprites.xml: 1.36029 ms                                                                                                                                  
TIMER| common/global.xml: 251.034 us                                                                                                                                          
TIMER| common/setup.xml: 188.702 us                                                                                                                                           
TIMER| common/sprites.xml: 445.775 us                                                                                                                                         
TIMER| gamesetup_mp/gamesetup_mp.xml: 15.7552 ms                                                                                                                              
TIMER| common/modern/setup.xml: 121.291 us                                                                                                                                                                                                                                                                                                                 
TIMER| common/modern/styles.xml: 104.151 us                                                                                                                                                                                                                                                                                                                
TIMER| common/modern/sprites.xml: 1.31752 ms                                                                                                                                  
TIMER| common/global.xml: 241.753 us                                                                                                                                          
TIMER| common/setup.xml: 187.252 us                                                                                                                                           
TIMER| common/sprites.xml: 438.636 us                                                                                                                                         
TIMER| gamesetup_mp/gamesetup_mp.xml: 13.7056 ms                                                                                                                              
TIMER| common/modern/setup.xml: 122.111 us                                                                                                                                    
TIMER| common/modern/styles.xml: 102.151 us                                                                                                                                   
TIMER| common/modern/sprites.xml: 1.31874 ms                                                                                                                                  
TIMER| common/setup.xml: 181.163 us                                                                                                                                           
TIMER| common/sprites.xml: 440.335 us                                                                                                                                                                                                                                                                                                                      
TIMER| common/styles.xml: 55.98 us                                                                                                                                            
TIMER| gamesetup/setup.xml: 323.225 us                                                                                                                                        
TIMER| gamesetup/styles.xml: 145.862 us                                                                                                                                       
TIMER| gamesetup/gamesetup.xml: 70.2379 ms                                                                                                                                    
TIMER| common/global.xml: 118.512 us                                                                                                                                          
FILES| JSON data written to '/home/firstlove/.config/0ad/config/matchsettings.mp.json'                                                                                        
TIMER| common/modern/setup.xml: 74.401 us                                                                                                                                     
TIMER| common/modern/styles.xml: 65.431 us                                                                                                                                    
TIMER| common/modern/sprites.xml: 724.47 us                                                                                                                                   
TIMER| common/global.xml: 138.821 us                                                                                                                                          
TIMER| common/setup.xml: 106.771 us                                                                                                                                           
TIMER| common/sprites.xml: 241.733 us                                                                                                                                         
TIMER| common/styles.xml: 33.861 us                                                                                                                                           
TIMER| loading/styles.xml: 260.023 us                                                                                                                                         
TIMER| loading/sprites.xml: 607.068 us                                                                                                                                        
TIMER| loading/loading.xml: 7.67778 ms                                                                                                                                        
FILES| Replay written to '/home/firstlove/.local/share/0ad/replays/0.0.26/2022-03-19_0001'                                                                                    
TIMER| LoadDLL: 1.27536 ms                                                                                                                                                    
/usr/bin/0ad: line 9: 727390 Segmentation fault      (core dumped) "$pyrogenesis" "$@"

 

 

The coredump may not help because of missing debug info.

(gdb) bt
#0  0x00007f72b0e1cfdb in ?? () from /usr/lib/0ad/libCollada.so
#1  0x00007f72b0e1f860 in ?? () from /usr/lib/0ad/libCollada.so
#2  0x00007f72b0dcbe22 in ?? () from /usr/lib/0ad/libCollada.so
#3  0x00007f72b0e28dc4 in ?? () from /usr/lib/0ad/libCollada.so
#4  0x00007f72b0d94b7e in ?? () from /usr/lib/0ad/libCollada.so
#5  0x00007f72b0d7e64f in ?? () from /usr/lib/0ad/libCollada.so
#6  0x00007f72b0d7e6e9 in ?? () from /usr/lib/0ad/libCollada.so
#7  0x00007f72b0d8b818 in ?? () from /usr/lib/0ad/libCollada.so
#8  0x00007f72b0d803cb in ?? () from /usr/lib/0ad/libCollada.so
#9  0x00005563beb73063 in ?? ()
#10 0x00005563beb6e6fc in ?? ()
#11 0x00005563beb8bfa0 in ?? ()
#12 0x00005563bec73ac1 in ?? ()
#13 0x00005563beb9fce8 in ?? ()
#14 0x00005563beba03b7 in ?? ()
#15 0x00005563bebd70ad in ?? ()
#16 0x00005563bebd891f in ?? ()
#17 0x00005563bebda535 in ?? ()
#18 0x00005563be9bbf7e in ?? ()
#19 0x00005563be9c0820 in ?? ()
#20 0x00005563be900105 in ?? ()
#21 0x00005563be90b43c in ?? ()
#22 0x00005563beb87dd2 in ?? ()
#23 0x00005563beb892d4 in ?? ()
#24 0x00005563beb8937d in ?? ()
#25 0x00005563beabc529 in ?? ()
#26 0x00005563be872381 in ?? ()
#27 0x00005563be85e860 in ?? ()
#28 0x00007f73371c5310 in __libc_start_call_main () from /usr/lib/libc.so.6
#29 0x00007f73371c53c1 in __libc_start_main_impl () from /usr/lib/libc.so.6
#30 0x00005563be86ebd5 in ?? ()
(gdb) i threads  
 Id   Target Id                          Frame  
* 1    Thread 0x7f7334473d80 (LWP 727390) 0x00007f72b0e1cfdb in ?? () from /usr/lib/0ad/libCollada.so
 2    Thread 0x7f7332a81640 (LWP 727394) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 3    Thread 0x7f7331a7f640 (LWP 727396) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 4    Thread 0x7f731affd640 (LWP 727400) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 5    Thread 0x7f731a7fc640 (LWP 727401) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 6    Thread 0x7f731bfff640 (LWP 727398) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 7    Thread 0x7f7319ffb640 (LWP 727402) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 8    Thread 0x7f73197fa640 (LWP 727403) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 9    Thread 0x7f73183f7640 (LWP 727408) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 10   Thread 0x7f733027b640 (LWP 727407) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 11   Thread 0x7f72a4bfe640 (LWP 728071) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 12   Thread 0x7f7333a83640 (LWP 727392) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 13   Thread 0x7f72fc3f2640 (LWP 727409) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 14   Thread 0x7f72e8e39640 (LWP 727420) 0x00007f7337270a55 in clock_nanosleep@GLIBC_2.2.5 () from /usr/lib/libc.so.6
 15   Thread 0x7f72e963a640 (LWP 727419) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 16   Thread 0x7f72eb800640 (LWP 727412) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 17   Thread 0x7f7318ff9640 (LWP 727404) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 18   Thread 0x7f72eb601640 (LWP 727413) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 19   Thread 0x7f731b7fe640 (LWP 727399) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 20   Thread 0x7f7333282640 (LWP 727393) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 21   Thread 0x7f72ea63c640 (LWP 727417) 0x00007f733729e2af in poll () from /usr/lib/libc.so.6
 22   Thread 0x7f72957fa640 (LWP 728084) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 23   Thread 0x7f7293bf6640 (LWP 731392) 0x00007f733729e2af in poll () from /usr/lib/libc.so.6
 24   Thread 0x7f72eb402640 (LWP 727414) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 25   Thread 0x7f7332280640 (LWP 727395) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 26   Thread 0x7f7297fff640 (LWP 728079) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 27   Thread 0x7f729d7fa640 (LWP 728077) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 28   Thread 0x7f729f7fe640 (LWP 728073) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 29   Thread 0x7f729ffff640 (LWP 728072) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 30   Thread 0x7f72eb203640 (LWP 727415) 0x00007f73372a0b4d in select () from /usr/lib/libc.so.6
 31   Thread 0x7f729e7fc640 (LWP 728075) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 32   Thread 0x7f72b3fff640 (LWP 727421) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 33   Thread 0x7f7296ffd640 (LWP 728081) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 34   Thread 0x7f7330e7d640 (LWP 727397) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 35   Thread 0x7f72ff7fe640 (LWP 727406) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 36   Thread 0x7f72a53ff640 (LWP 728070) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 37   Thread 0x7f72fffff640 (LWP 727405) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 38   Thread 0x7f72933f5640 (LWP 731394) 0x00007f733729e2af in poll () from /usr/lib/libc.so.6
 39   Thread 0x7f729effd640 (LWP 728074) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 40   Thread 0x7f72ebbfe640 (LWP 727410) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 41   Thread 0x7f7294ff9640 (LWP 728085) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 42   Thread 0x7f72977fe640 (LWP 728080) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 43   Thread 0x7f72eb9ff640 (LWP 727411) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 44   Thread 0x7f729cff9640 (LWP 728078) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 45   Thread 0x7f729dffb640 (LWP 728076) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 46   Thread 0x7f72b33fd640 (LWP 727422) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 47   Thread 0x7f72967fc640 (LWP 728082) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 48   Thread 0x7f72b1eff640 (LWP 727423) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 49   Thread 0x7f72943f7640 (LWP 731391) 0x00007f733729e2af in poll () from /usr/lib/libc.so.6
 50   Thread 0x7f7295ffb640 (LWP 728083) 0x00007f733722215a in __futex_abstimed_wait_common () from /usr/lib/libc.so.6
 51   Thread 0x7f72e9e3b640 (LWP 727418) 0x00007f733729e2af in poll () from /usr/lib/libc.so.6


 

commands.txt

Edited by Li Chen
Link to comment
Share on other sites

The log shows that @tuxayo's PKGBUILD for AUR was last updated on 9/Jul/21

@Li Chen you could try bisecting between the HEAD (latest commit) and the commit for 9/Jul/21 in the 0ad git repository, which is ffdb9fc89654c30c49e3a1470fd776437a0a8452 (git-svn-id 25821).

git bisect start HEAD ffdb9fc89654c30c49e3a1470fd776437a0a8452

Build the game and test if it works:

git bisect good 

otherwise 

git bisect bad

keep on doing it, until you get the message "<hash> is the first bad commit".

 

PS: If you find that you have made a wrong biscet decision, run

git bisect log > ~/bisect.txt

EDIT the file and run

git bisect replay ~/bisect.txt

See: Git - git-bisect Documentation

Link to comment
Share on other sites

5 hours ago, Li Chen said:

/usr/bin/0ad: line 9: 727390 Segmentation fault      (core dumped) "$pyrogenesis" "$@"
The coredump may not help because of missing debug info.
#0  0x00007f72b0e1cfdb in ?? () from /usr/lib/0ad/libCollada.so

libCollada.so - third-party software
IMHO bisect will not help here - just build the game from git/svn - there may be no error in it

./build/workspaces/update-workspaces.sh
make -C build/workspaces/gcc config=release verbose=1 -j2
# Start game
LD_LIBRARY_PATH=binaries/system:$LD_LIBRARY_PATH ./binaries/system/pyrogenesis

Quote from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=0ad-git

  cd "$srcdir/${_pkgname}/libraries/source/fcollada/src"
  make # always keep uncommented

These lines reset all compilation options set by the developers of the game for libCollada

Edited by nwtour
  • Like 1
Link to comment
Share on other sites

On 20/03/2022 at 12:48 AM, nwtour said:

libCollada.so - third-party software
IMHO bisect will not help here - just build the game from git/svn - there may be no error in it

./build/workspaces/update-workspaces.sh
make -C build/workspaces/gcc config=release verbose=1 -j2
# Start game
LD_LIBRARY_PATH=binaries/system:$LD_LIBRARY_PATH ./binaries/system/pyrogenesis

Quote from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=0ad-git

  cd "$srcdir/${_pkgname}/libraries/source/fcollada/src"
  make # always keep uncommented

These lines reset all compilation options set by the developers of the game for libCollada

Thanks, I build from source with your command, and it works now.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...