AAO25.com

Assist => Support => Topic started by: Kuschizzza on Sunday, April 24, 2016, 17:15:35 PM

Title: Linux - Assist 2.5 - No Acceleration
Post by: Kuschizzza on Sunday, April 24, 2016, 17:15:35 PM
Hey guys,

I have a question. In my "INSTALL" Option in Assist I can't fix the Linux OpenGL Acceleration. How can I do this?

I have installed the original Nvidia driver on my system. My Steam games works perfectly.

Here a picture of my problem.
(https://aao25.com/forum/proxy.php?request=http%3A%2F%2Fimg5.fotos-hochladen.net%2Fuploads%2Famericasarmyc1mdlw3q0i.png&hash=63b4fd251c8e0d3e9e949c47b8230fd6)

I can run Americas Army but I have no sound. It doesnt have any effect if I switch to ALSA or PULSE Audio. I think its cause of the Acceleration. I appreciate your help.


Thanks !!!
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: Kuschizzza on Sunday, April 24, 2016, 17:26:15 PM
OK I fixed it but I still have no sound.

The code to fix the acceleration problem.
Code: [Select]
sudo apt install mesa-utils
does anyone have an idea?
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: Koden on Sunday, April 24, 2016, 17:41:36 PM
OK I fixed it but I still have no sound.

The code to fix the acceleration problem.
Code: [Select]
sudo apt install mesa-utils
does anyone have an idea?
I don't use Linux to play the game, but I remember I tried to a long ago and I had issues with the Pulse Audio service which needed to be restarted.
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: [SWISS]Merlin on Monday, April 25, 2016, 16:16:29 PM
what do you try to install there - not a part of aa2
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: Kuschizzza on Monday, April 25, 2016, 16:21:51 PM

To

what do you try to install there - not a part of aa2
I've installed the mesa packet it is needed for the OpenGL Acceleration.
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: teddy_grizzly_bear on Monday, April 25, 2016, 16:33:06 PM
what do you try to install there - not a part of aa2

Doesn't mean it's not necessary to play AA.

The time I got AA to work on Ubuntu I just followed the error messages and installed the necessary packages. A lot of them needed the 32bit versions (most likely you run 64bit OS so those will be default).
Other than I'm afraid I can't help much more.
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: [SWISS]Merlin on Tuesday, April 26, 2016, 12:36:11 PM
i did configure the HT servers with linux and - just do the install package, nothing more.
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: Kuschizzza on Thursday, April 28, 2016, 13:10:42 PM
I finally fixed it.

I think I found a solution for all who have sound issues on Linux. I will post it soon.
Title: Linux - Assist 2.5 - No Acceleration / No Sound - Solved
Post by: Kuschizzza on Monday, May 02, 2016, 08:15:06 AM

Solution to fix all sound problems in Linux 64 bit.

You need to install all 32 bit engines cause all 64 bit engines are already installed.

Code: [Select]
sudo apt-get install libcanberra-gtk-module:i386
sudo apt-get install gtk2-engines-murrine:i386
sudo apt-get install overlay-scrollbar-gtk2:i386
sudo apt-get install unity-gtk2-module:i386

Last but not least for acceleration you need to install mesa if its not installed.

Code: [Select]
sudo apt install mesa-utils

 :style: Have Fun

Info @ All : This Solution works on all Ubuntu Versions
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: Spanky on Monday, May 02, 2016, 13:45:42 PM
Thank you for sharing this info, hopefully it helps others :)
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: teddy_grizzly_bear on Monday, May 02, 2016, 16:11:37 PM
Additionally, I also did (because for each I got a separate error prior to doing them, in this order).
Code: [Select]
sudo apt-get install lib32stdc++6
sudo apt-get install libstdc++5:i386
sudo apt-get install libcanberra-gtk-module:i386
sudo apt-get install libcanberra-gtk3-module:i386
sudo apt-get install libsdl1.2debian:i386
Yet the game still won't run.
Code: [Select]
$ sudo ./System/armyops-bin
./System/armyops-bin: error while loading shared libraries: ./libSDL-1.2.so.0: cannot open shared object file: No such file or directory
Code: [Select]
$ sudo ldd System/armyops-bin
linux-gate.so.1 =>  (0xf77bb000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7795000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7779000)
./libSDL-1.2.so.0 => not found
./libgmp.so => not found
libstdc++.so.5 => /usr/lib/i386-linux-gnu/libstdc++.so.5 (0xf76be000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7678000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf765b000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74ac000)
/lib/ld-linux.so.2 (0x565b9000)

Oh well, I guess it's not meant to be :)
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: PFrags on Tuesday, May 17, 2016, 16:56:29 PM
Sound Fixed: this is an OpenAL issue due to it defaulting to pulseaudio driver.
Nothing to do with OpenGL acceleration.

Edit the file .alsoftrc in your home directory (~/.alsoftrc) so that the first line reads :
Quote
drivers = alsa
:up:
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: teddy_grizzly_bear on Wednesday, September 07, 2016, 09:34:54 AM
I managed to actually get AA working with Assist for my Ubuntu installation.

I'm not sure what I did is wise (still a novice in Ubuntu) so I'd advice caution to anyone trying to do those steps to get to the same result.

I first installed all the i386 libraries previously mentioned.
Didn't help.

In most of the steps I was running only AA (~/25Assist/armyops/System/armyops-bin) not Assist.

I then tried around (after looking here (http://askubuntu.com/questions/226613/how-do-i-install-the-library-libsdl-image-1-2-so-0-required-to-run-dwarf-fortres)) to see why it's not finding the library.
I then just blatantly copied the library to armyops folder EDIT: I now realize I should probably have made a symbolic link here as well
Code: [Select]
sudo cp /usr/lib/i386-linux-gnu/libSDL-1.2.so.0 ~/25Assist/armyops/.I then ran into another problem:
Code: [Select]
System/armyops-bin: error while loading shared libraries: ./libgmp.so: cannot open shared object file: No such file or directoryI tried copying the lib again
Code: [Select]
cp /usr/lib/i386-linux-gnu/libgmp.so.10 ~/25Assist/armyops/.But seeing as it wasn't looking for the .10 it didn't help.
Following the example here (http://stackoverflow.com/questions/6360724/installing-ghc-binaries-on-linux-cant-find-libgmp-so), I made a symbolic link:
Code: [Select]
sudo ln -s /usr/lib/i386-linux-gnu/libgmp.so.10 ~/25Assist/armyops/libgmp.soRunning AA (with LD_DEBUG=libs) now said it's exiting due to an error and "Missing ini" right before that.

So I then ran 25Assist and joined a server. And it worked.
Title: Re: Linux - Assist 2.5 - No Acceleration
Post by: hitman on Wednesday, June 14, 2017, 07:31:30 AM
I get an error:

Code: [Select]
Could not load OpenGL library
History:
Exiting due to error

When I run /25Assist/armyops/System$ sudo ./armyops-bin