SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.63k stars 1.11k forks source link

I am using Arch Linux and the game doesn't work when running it as root #116

Closed behind1231 closed 9 years ago

behind1231 commented 9 years ago

[root@localhost openage]# ./openage MSG launching engine with data directory './assets' Invalid MIT-MAGIC-COOKIE-1 keyxcb_connection_has_error() returned true MSG initialized SDL audio subsystems. Invalid MIT-MAGIC-COOKIE-1 keyxcb_connection_has_error() returned true MSG Using audio device 'default' [freq=48000,format=32784,channels=2,samples=4096] Invalid MIT-MAGIC-COOKIE-1 keyMSG ERROR: SDL video initialization: No available video device FATAL Exception: SDL video initialization: No available video device

franciscod commented 9 years ago

install lib32 sdl libraries

behind1231 commented 9 years ago

[root@localhost openage]# pacman -S lib32 错误:未找到目标:lib32

franciscod commented 9 years ago

ok, enough for me. since you ignore my help, i will ignore you

behind1231 commented 9 years ago

[root@localhost openage]# pacman -S lib32-sdl 正在解决依赖关系... 正在查找相互冲突...

软件包 (1): lib32-sdl-1.2.15-6

下载大小: 0.17 MiB 全部安装大小: 0.47 MiB

:: 进行安装吗? [Y/n] y :: 正在获取软件包...... lib32-sdl-1.2.15-6-... 172.3 KiB 103K/s 00:02 [######################] 100% (1/1) 正在检查密钥环里的密钥 [######################] 100% (1/1) 正在检查软件包完整性 [######################] 100% (1/1) 正在加载软件包文件 [######################] 100% (1/1) 正在检查文件冲突 [######################] 100% (1/1) 正在检查可用硬盘空间 [######################] 100% (1/1) 正在安装 lib32-sdl [######################] 100% lib32-sdl 的可选依赖 lib32-alsa-lib: ALSA audio driver[已安装] lib32-libpulse: PulseAudio audio driver [root@localhost openage]# ./openage MSG launching engine with data directory './assets' Invalid MIT-MAGIC-COOKIE-1 keyxcb_connection_has_error() returned true MSG initialized SDL audio subsystems. Invalid MIT-MAGIC-COOKIE-1 keyxcb_connection_has_error() returned true MSG Using audio device 'default' [freq=48000,format=32784,channels=2,samples=4096] Invalid MIT-MAGIC-COOKIE-1 keyMSG ERROR: SDL video initialization: No available video device FATAL Exception: SDL video initialization: No available video device

Mandelbug commented 9 years ago

Do not run openage as root.

behind1231 commented 9 years ago

DBG0 Opus channels=1, pcm_length=10447 DBG0 Opus channels=1, pcm_length=100868 DBG0 Opus channels=1, pcm_length=16016 DBG0 Opus channels=1, pcm_length=59072 MSG ERROR: Program linking failed

Fragment info

0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable FATAL Exception: Program linking failed

Fragment info

0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable 0(65) : error C6013: Only arrays of texcoords may be indexed in this profile, and only with a loop index variable