Bug 8103 - Warsow-gui not does not appear because there are no shaders
Summary: Warsow-gui not does not appear because there are no shaders
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Juan Luis Baptiste
QA Contact:
URL:
Whiteboard: MGA4TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-17 07:58 CET by Jean Michel Varvou
Modified: 2015-03-31 16:06 CEST (History)
6 users (show)

See Also:
Source RPM: warsow
CVE:
Status comment:


Attachments
Error one (6.87 KB, text/x-log)
2012-11-17 07:59 CET, Jean Michel Varvou
Details
error 2 (17.85 KB, text/x-log)
2012-11-17 07:59 CET, Jean Michel Varvou
Details
Here's full output from terminal (4.73 KB, application/octet-stream)
2013-07-14 04:24 CEST, Kristoffer Grundström
Details

Description Jean Michel Varvou 2012-11-17 07:58:08 CET
warsow not work due to problems in the rpm of this application.

1) warsow not find the textures of the game because the game launch options does not show the folder where it is located. (cf warsow_error-1.log ). Adding "+ set fs_basepath / usr / share / warsow /", this error is bypassed.

2) Then there is a new error launching the game. We get the message "Init UI: UI: Failed to initialize AngelScript" (cf warsow_error-2.log ) . 

By comparing the available files in the rpm and those that are produced after compiling the source file warsow_1.02_sdk.tar.gz, there are many files missing.

a) /usr/lib/warsow 
with the rpm: /usr/lib/warsow 
[root@localhost warsow]# ls -l
total 272
-rwxr-xr-x 1 root root 98424 nov.  11 15:30 irc_i386.so*
-rwxr-xr-x 1 root root 79224 nov.  11 15:30 snd_openal_i386.so*
-rwxr-xr-x 1 root root 90328 nov.  11 15:30 snd_qf_i386.so*

binary generated from sdk "warsow_1.02_sdk.tar.gz" :
/home/vouf/warsow_1.02_sdk/source/release/libs
[vouf@localhost libs]$ ls -l
total 1692
-rwxr-xr-x 1 vouf vouf 1380704 nov.  11 19:42 angelwrap_i386.so*
-rwxr-xr-x 1 vouf vouf   65804 nov.  11 19:42 cin_i386.so*
-rwxr-xr-x 1 vouf vouf   98424 nov.  11 19:42 irc_i386.so*
-rwxr-xr-x 1 vouf vouf   79224 nov.  11 19:39 snd_openal_i386.so*
-rwxr-xr-x 1 vouf vouf   90328 nov.  11 19:39 snd_qf_i386.so*

angelwrap_i386.so, irc_i386.so, cin_i386.so are absent from rpm

b)  /usr/share/warsow/basewsw
binary generated from sdk "warsow_1.02_sdk.tar.gz" :
/home/vouf/warsow_1.02_sdk/source/release/basewsw/
vouf@localhost basewsw]$ ls -l
total 3376
-rwxr-xr-x 1 vouf vouf  416700 nov.  11 19:39 cgame_i386.so*
-rwxr-xr-x 1 vouf vouf  625084 nov.  11 19:40 game_i386.so*
-rwxr-xr-x 1 vouf vouf 2408684 nov.  11 19:42 ui_i386.so*
These three files are not present in the rpm ( /usr/share/warsow/basewsw ) .

c) /usr/bin
with the rpm: /usr/bin
[root@localhost bin]# ls -l wars*
-rwxr-xr-x 1 root root 1172320 nov.  11 15:30 warsow*
-rwxr-xr-x 1 root root  398016 nov.  11 15:30 warsow-server*
-rwxr-xr-x 1 root root  390212 nov.  11 15:30 warsow-tv-server*

Synhesys of binary generated from sdk "warsow_1.02_sdk.tar.gz" :
/home/vouf/warsow_1.02_sdk/source/release
[vouf@localhost release]$ ls -l
total 1944
drwxr-xr-x 2 vouf vouf    4096 nov.  11 19:42 basewsw/
drwxr-xr-x 2 vouf vouf    4096 nov.  11 19:42 libs/
-rwxr-xr-x 1 vouf vouf    1078 nov.  11 19:39 warsow*
-rwxr-xr-x 1 vouf vouf 1172288 nov.  11 19:39 warsow.i386*
-rwxr-xr-x 1 vouf vouf    1078 nov.  11 19:39 wsw_server*
-rwxr-xr-x 1 vouf vouf  398016 nov.  11 19:39 wsw_server.i386*
-rwxr-xr-x 1 vouf vouf    1078 nov.  11 19:42 wswtv_server*
-rwxr-xr-x 1 vouf vouf  390212 nov.  11 19:42 wswtv_server.i386*


Note that warsow works on my environment if I use the site files www.warsow.net "warsow_1.02_unified.tar.gz" adding binaries generated from compiling warsow_1.02_sdk.
Comment 1 Jean Michel Varvou 2012-11-17 07:59:04 CET
Created attachment 3106 [details]
Error one
Comment 2 Jean Michel Varvou 2012-11-17 07:59:23 CET
Created attachment 3107 [details]
error 2
Comment 3 Manuel Hiebel 2012-11-17 14:06:59 CET
(setting the official maintainer beside the commiter of most rebuild)

CC: (none) => juan.baptiste
Assignee: bugsquad => mageia
Source RPM: (none) => warsow

Juan Luis Baptiste 2012-11-26 07:11:43 CET

Status: NEW => ASSIGNED

Comment 4 Damien Lallement 2012-12-11 00:10:58 CET
WIP. Thanks for the report.
Comment 5 Juan Luis Baptiste 2013-01-02 06:31:10 CET
Fixed, I pushed warsow-1.02-3.mga3 to cauldron, please test and report back.

Assignee: mageia => juan.baptiste

Comment 6 Jean Michel Varvou 2013-01-02 17:54:42 CET
Hello

Thanks for the new package. When I launch warsow, i have again the error message :

"********************
ERROR: Could not find any shaders!
********************
Error: Error during initialization: Could not find any shaders!é

Then, to bypass this problem, if I launch manually the game with "warsow +set fs_basepath /usr/share/warsow/", I have a pink screen and then I must kill the process to retrieve my desktop. I have the message :

"UI Init: UI: Failed to initialize AngelScript
Unknown command "menu_force"
Checking for Warsow update."

Perhaps, It's because the three files cgame_i386.so*, game_i386.so* and ui_i386.so* are not present in /usr/share/warsow/basewsw ?
Comment 7 Juan Luis Baptiste 2013-01-02 18:17:45 CET
Just to be sure, please delete the .warsow-1.0 folder and make sure that you have warsow-1.02-3 installed.

Also please check that in /usr/lib{64}/games/warsow you have a directory called basewsw which is full of symbolic links pointing to files in /usr/share/warsow/basewsw/*.
Comment 8 Jean Michel Varvou 2013-01-02 19:09:49 CET
Hello Juan

The install was done with a new install of mageia 3 32 bit. So it was the first install of warsow.

My rpm :
[vouf@localhost ~]$ rpm -qa |grep warsow
warsow-1.02-3.mga3.nonfree
warsow-data-1.02-2.mga3.nonfree

then :
[root@localhost basewsw]# pwd
/usr/lib/games/warsow/basewsw
[root@localhost basewsw]# ls -l
total 0
lrwxrwxrwx 1 root root 41 janv.  2 17:23 * -> ../../../../../usr/share/warsow/basewsw/*

or 

[root@localhost warsow]# pwd
/usr/lib/games/warsow
[root@localhost warsow]# ls -l
total 8
drwxr-xr-x 2 root root 4096 janv.  2 17:23 basewsw/
drwxr-xr-x 2 root root 4096 janv.  2 17:23 libs/

I think the symbolink is not correctly created by the rpm.

Then I have tried the next operations :

[root@localhost warsow]# mv basewsw/ basewsw_old
[root@localhost warsow]# ln -s ../../../../../usr/share/warsow/basewsw/ basewsw
[root@localhost warsow]# ls -l
total 8
lrwxrwxrwx 1 root root   40 janv.  2 19:00 basewsw -> ../../../../../usr/share/warsow/basewsw

The game launch correctly with this manipulation !! No error message and directly with the command warsow.
Comment 9 Juan Luis Baptiste 2013-01-03 02:31:41 CET
That's weird, with my local build symbolic links are correcly created:

[root@cauldron-laptop cauldron]# ll /usr/lib64/games/warsow/basewsw/
total 28
lrwxrwxrwx 1 root root 47 Jan  2 20:28 configs -> ../../../../../usr/share/warsow/basewsw/configs/
lrwxrwxrwx 1 root root 52 Jan  2 20:28 data0_10.pk3 -> ../../../../../usr/share/warsow/basewsw/data0_10.pk3
lrwxrwxrwx 1 root root 56 Jan  2 20:28 data0_10pure.pk3 -> ../../../../../usr/share/warsow/basewsw/data0_10pure.pk3
lrwxrwxrwx 1 root root 52 Jan  2 20:28 data1_10.pk3 -> ../../../../../usr/share/warsow/basewsw/data1_10.pk3
lrwxrwxrwx 1 root root 56 Jan  2 20:28 data1_10pure.pk3 -> ../../../../../usr/share/warsow/basewsw/data1_10pure.pk3
[...]

but the version built in the BS didn't do the same... I'll have to check.
Comment 10 Jean Michel Varvou 2013-01-03 08:35:49 CET
Hello

Today, I have a new rpm : warsow-1.02-4.mga3.nonfree . The problem is still present. Symbolic are not correctly created.

[root@localhost basewsw]# pwd
/usr/lib/games/warsow/basewsw
[root@localhost basewsw]# ls -ltra
total 8
lrwxrwxrwx 1 root root   41 janv.  3 08:30 * -> ../../../../../usr/share/warsow/basewsw/*
drwxr-xr-x 4 root root 4096 janv.  3 08:30 ../
drwxr-xr-x 2 root root 4096 janv.  3 08:30 ./
Comment 11 Juan Luis Baptiste 2013-01-03 22:46:08 CET
Yes I know, I changed the way those symlinks are created but it still happens the same thing when the package is built on the BS... still looking.
Comment 12 Juan Luis Baptiste 2013-01-05 00:48:32 CET
Ok I think I got it, please install warsow-1.02-5 and warsow-data-1.02-3 and test.
Comment 13 Jean Michel Varvou 2013-01-05 08:42:00 CET
Hello Juan Luis

Sorry for you, but it's not good :

"Initializing Shaders:
********************
ERROR: Could not find any shaders!
********************
Error: Error during initialization: Could not find any shaders"

There is not the symbolic link.

[vouf@localhost warsow]$ pwd
/usr/lib/games/warsow
[vouf@localhost warsow]$ ls -l
total 8
drwxr-xr-x 2 root root 4096 janv.  5 00:35 basewsw/
drwxr-xr-x 2 root root 4096 janv.  5 08:34 libs/"

[vouf@localhost basewsw]$ pwd
/usr/lib/games/warsow/basewsw
[vouf@localhost basewsw]$ ls -l
total 0
Comment 14 Juan Luis Baptiste 2013-01-07 00:00:14 CET
Please double check you are installing the correct version, I have tested in three different cauldron x86_64 boxes and the symlinks are created ok and the game launches fine:

[root@cauldron juancho]# urpmi warsow
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch
(medium "Nonfree Release")
  warsow                         1.02         5.mga3.nonfr> x86_64
  warsow-data                    1.02         3.mga3.nonfr> noarch
505MB of additional disk space will be used.
493MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y

[...]

[root@cauldron juancho]# ll /usr/lib64/games/warsow/basewsw/
total 0
lrwxrwxrwx 1 root root 33 Jan  6 17:39 configs -> /usr/share/warsow/basewsw/configs/
lrwxrwxrwx 1 root root 38 Jan  6 17:39 data0_10.pk3 -> /usr/share/warsow/basewsw/data0_10.pk3
lrwxrwxrwx 1 root root 42 Jan  6 17:39 data0_10pure.pk3 -> /usr/share/warsow/basewsw/data0_10pure.pk3
lrwxrwxrwx 1 root root 38 Jan  6 17:39 data1_10.pk3 -> /usr/share/warsow/basewsw/data1_10.pk3
lrwxrwxrwx 1 root root 42 Jan  6 17:39 data1_10pure.pk3 -> /usr/share/warsow/basewsw/data1_10pure.pk3
lrwxrwxrwx 1 root root 48 Jan  6 17:39 dedicated_autoexec.cfg -> /usr/share/warsow/basewsw/dedicated_autoexec.cfg
[...]

Can anyone else test please ?
Comment 15 Juan Luis Baptiste 2013-01-07 09:00:18 CET
Installed a i586 VM and the symlinks are created but under /usr/lib64/games/warsow/basewsw instead of /usr/lib/games/warsow/basewsw but I don't understand why, it seems the %{_libdir} macro is expanding to /usr/lib64 on the BS... strange...
Comment 16 Jean Michel Varvou 2013-01-25 18:00:23 CET
Hello Juan

With the rpm warsow-1.02-7.mga3.nonfree, the problem is solved. 

Thanks !! I close the bug

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 17 Kristoffer Grundström 2013-07-14 04:24:31 CEST
Created attachment 4205 [details]
Here's full output from terminal

CC: (none) => kristoffer.grundstrom1983

Kristoffer Grundström 2013-07-14 04:24:47 CEST

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 18 Kristoffer Grundström 2013-07-14 04:29:00 CEST
I have x11-driver-video-nouveau as a driver for my Graphicscard.

I'm not using any other medias but the Core ones, see here:

[kristoffer@localhost ~]$ urpmq --list-media
Core Release
Core Release Debug
Nonfree Release
Nonfree Release Debug
Tainted Release
Tainted Release Debug
Core 32bit Release
Nonfree 32bit Release
Tainted 32bit Release
Kristoffer Grundström 2013-07-14 04:32:00 CEST

Hardware: i586 => All
Version: Cauldron => 3
Summary: warsow not work due to problems in the rpm of this application. => Warsow-gui not does not appear because there are no shaders

Kristoffer Grundström 2013-07-14 04:32:24 CEST

Severity: major => normal

Comment 19 Kristoffer Grundström 2013-07-14 04:33:09 CEST
(In reply to Kristoffer Grundström from comment #18)
> I have x11-driver-video-nouveau as a driver for my Graphicscard.
> 
> I'm not using any other medias but the Core ones, see here:
> 
> [kristoffer@localhost ~]$ urpmq --list-media
> Core Release
> Core Release Debug
> Nonfree Release
> Nonfree Release Debug
> Tainted Release
> Tainted Release Debug
> Core 32bit Release
> Nonfree 32bit Release
> Tainted 32bit Release

My bad. Correction: I'm not using any unstable medias,
Comment 20 Dave Hodgins 2013-07-14 05:36:11 CEST
(In reply to Kristoffer Grundström from comment #18)
> I have x11-driver-video-nouveau as a driver for my Graphicscard.
> 
> I'm not using any other medias but the Core ones, see here:
> 
> [kristoffer@localhost ~]$ urpmq --list-media
> Core Release
> Core Release Debug
> Nonfree Release
> Nonfree Release Debug
> Tainted Release
> Tainted Release Debug
> Core 32bit Release
> Nonfree 32bit Release
> Tainted 32bit Release

You should also have the updates media enabled for each of the above.

CC: (none) => davidwhodgins

Comment 21 Kristoffer Grundström 2013-07-14 06:15:01 CEST
(In reply to Dave Hodgins from comment #20)
> (In reply to Kristoffer Grundström from comment #18)
> > I have x11-driver-video-nouveau as a driver for my Graphicscard.
> > 
> > I'm not using any other medias but the Core ones, see here:
> > 
> > [kristoffer@localhost ~]$ urpmq --list-media
> > Core Release
> > Core Release Debug
> > Nonfree Release
> > Nonfree Release Debug
> > Tainted Release
> > Tainted Release Debug
> > Core 32bit Release
> > Nonfree 32bit Release
> > Tainted 32bit Release
> 
> You should also have the updates media enabled for each of the above.

I did that & still no gui.
Comment 22 Jean Michel Varvou 2013-07-14 07:43:54 CEST
Hello

Curious, it worked before. I just reinstalled warsow and I actually found the problem on 64-bit mga.

A workaround is to execute the following command on a mga 64 bits:
cd /usr/lib64/games/warsow/
mv basewsw basewsw.old
ln -s ../../../../../usr/share/warsow/basewsw/ basewsw
Comment 23 Kristoffer Grundström 2013-07-14 09:27:45 CEST
(In reply to Jean Michel Varvou from comment #22)
> Hello
> 
> Curious, it worked before. I just reinstalled warsow and I actually found
> the problem on 64-bit mga.
> 
> A workaround is to execute the following command on a mga 64 bits:
> cd /usr/lib64/games/warsow/
> mv basewsw basewsw.old
> ln -s ../../../../../usr/share/warsow/basewsw/ basewsw

That fixed it, but maaaaaaaaaaaan it's one CPU-consuming game. It lags all the time.
Damien Lallement 2013-12-24 05:14:48 CET

CC: (none) => mageia

Comment 24 Arnaud Vacquier 2014-05-21 16:55:11 CEST
Hi,

Same error Mageia 4 64bits :

# urpmi warsow
Le paquetage warsow-1.03-3.mga4.nonfree.x86_64 est déjà installé


Video memory information:
total memory free in the pool: (VBO:845, Tex:845, RBuf:845) MB
largest available free block in the pool: (V:629, Tex:845, RBuf:629) MB
total auxiliary memory free: (VBO:1774, Tex:1774, RBuf:1774) MB
largest auxiliary free block: (VBO:8, Tex:8, RBuf:8) MB
Initializing Shaders:
********************
ERROR: Could not find any shaders!
********************
Error: Error during initialization: Could not find any shaders!

CC: (none) => aranud
Whiteboard: (none) => MGA4TOO

Alfonso Vera 2014-07-27 21:29:07 CEST

CC: (none) => bersuit.vera

Comment 25 Juan Luis Baptiste 2014-08-05 17:41:13 CEST
I updated the game to 1.51, please test it in cauldron, I don't have one at hand right now to do it my self (but it runs fine locally built on mga 4).
Comment 26 Marja Van Waes 2015-03-31 16:06:42 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: REOPENED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.