LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices



Reply
 
Search this Thread
Old 03-01-2004, 07:48 AM   #1
Peter@20ghz
LQ Newbie
 
Registered: Mar 2004
Location: Stockholm
Distribution: XandrOS 2.0
Posts: 18

Rep: Reputation: 0
Sound and graphic triuble in AAO


First of all, im a neewbie at Linux (last time i used it was redhat -98 )
And i have allmost no skills att all, therefor i choosed XandrOS as my new start to the Kernel, for the simplicity of it. Have installed some software, but havent really got the grip yet of all the tips and tricks u need to do to get most out of ur system and games. Im not a neewbie to PC. Built them for 10 years soon now, so i can handle the machine, i know the basics, and i know what power u need to get software to work as u like it to. But in the field of Linux im like a litle baby again.

Second, i have googled and tried many other forums, but i cant find help. Google did point me here thogh :-) so now i turn my self to you guys.

I installed Americas Army 2.0a a few days ago, It works, but not as i want it to do.
The sound is slow. sound comes 1 second after i actually fired my gun.
That ive tried to fix within the games setup menu for sound, tried all settings, but no difference.

Problem 2 is that im stuck with 800x600 screen resolution for fullscren play, there is no option to change. In windowed game i can choose btween 800x600 or 640x480 both suck to play with ofcourse.

I use this machine with dualboot, and my other OS WinXP, can play this game without any trouble, sound works perfect, and i use 1280x1024 resolution with all extras on full effect. So i know that the hardware is powerfull enough for it.

I can allso tell that i installed Enemy Teritory and that worked perfect.. can use 1280x1024 screen, and sound is flawless.

Does any1 know what im doing wrong?
Or what file should i maybe edit to fix this?

Specs.
Xandros 2.0
Amd XP1900
geforce FX5600
256mb pc2700
Soltek SL 75drv with the onboard sound chip AC-97

As i said, all games works fine in WinXP so hardware is not the problem here.
Drivers for mainboard and grahic card are they that came with the installation, dont know if there is never out there or how to change them.

Any tips on this topic is most appriciated, and u can even scream at me for missing something realy basic.

Best regards
Peter Lindberg (trying to learn)
 
Old 03-01-2004, 10:24 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
With such a new GeForceFX, your problem most likely is that you need to install the proprietary (closed-source) nVidia graphics card drivers, to enable 3D hardware acceleration. You can find instructions on how to do that here. You can get the current nVidia drivers here.

Hope this helps.
 
Old 03-01-2004, 12:22 PM   #3
Peter@20ghz
LQ Newbie
 
Registered: Mar 2004
Location: Stockholm
Distribution: XandrOS 2.0
Posts: 18

Original Poster
Rep: Reputation: 0
Thank you for your reply.

Seems like i have som steps to go trough.
The steps mentioned in your link to the XandrOS forum made me thinking that ill have to wait untill the weekend, for a newbie it seems like i need to go by "trial and error"

Anyway, if thats what you think can be the problem with my videoresolution, well then thats what ill have to do. weird though that the drivers that came with the OS dated november 2003 wont have good performance for a card that has been on the market for much longer time than that.

But i will give it a shot.

Thanks again.

And if any one have any other ideas please bring it on here.

//Peter
 
Old 03-01-2004, 12:32 PM   #4
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Well, what drivers are you actually using? As you see, I don't use Xandros, but having Googled a bit, I see that the nVidia drivers are supposed to be set up for you automatically. So supposedly you should already have them, rather than needing to install them like the rest of us . But, are you actually using them? And are your monitor settings correct, so that you can get the resolutions that you expect? You might want to check the /etc/X11/XF86Config file (or /etc/X11/XF86Config-4, or the Xandros Hardware Utility, whatever it may be called) to see what your setings actually are.
 
Old 03-01-2004, 02:21 PM   #5
Peter@20ghz
LQ Newbie
 
Registered: Mar 2004
Location: Stockholm
Distribution: XandrOS 2.0
Posts: 18

Original Poster
Rep: Reputation: 0
Well. i dont know what this file tells me, but it looks like this.

I was gonna put it on the web to view as a txt file, but somehow i couldnt locate my ftp software (newbie i know) So im sorry if its get to be a very long post.
As i can see it looks like i use 1280x1024, and thats what i see when i look at properties for my desktop aswell. But other than that i dont realy know what to look for here. But if you see anything fishy in this file please let me know.

// Peter

################################################################################
## Automatically generated file by buildxconf
## part of the Xandros hardware detection system
##
## See Also:
## 'man devices-overview' for information about the detection system
## 'man setxconf' a utility for interacting with the detection system
## to modify the X configuration
## 'man XF86Config' for the format of this file
##
## Warning:
## If this file is edited manually, then buildxconf will no longer
## modify this file. It must be removed to be regenerated.
################################################################################


Section "Files"
ModulePath "/usr/X11R6/lib/modules/override"
ModulePath "/usr/X11R6/lib/modules/altdrivers"
ModulePath "/usr/X11R6/lib/modules"

# Local Fontserver: Disabled by default.
#FontPath "unix/:7100"

# Unscaled Bitmap Fonts:
FontPath "/usr/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi:unscaled"

# Scalable TrueType and CID Fonts (via DeFoMa):
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

# Scalable TrueType Fonts (via std X path):
FontPath "/usr/lib/X11/fonts/TrueType"

# Scalable Speedo and Type1 Fonts:
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"

# Scaled Bitmap fonts (ugly) :
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"

# Misc. Fonts:
FontPath "/usr/share/fonts"
EndSection

Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "glx"
Load "record"
Load "bitmap"
Load "freetype"
Load "speedo"
Load "type1"
Load "vbe"
Load "int10"
Load "xandetect"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
EndSection

# extra options in [mouse.p1] ps2info = 0x3
Section "InputDevice"
Identifier "mouse.p1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "Auto"
Option "Emulate3Buttons" "YES"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "mouse.usb"
Driver "mouse"
Option "SendCoreEvents" "YES"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "YES"
Option "ZAxisMapping" "4 5"
EndSection

Section "DRI"
Mode 0666
EndSection

# pci info: 0x10DE, 0x312, 0x100
# extra options in [video.1] VideoRam = 131072k
# extra options in [video.1] Xmodules = -dri -GLcore
Section "Device"
Identifier "Device1"
Driver "nvidia"
Option "NoRenderAccel"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "IVM"
ModelName "1980"
VertRefresh 50-85.52
HorizSync 30-95
Option "DPMS"
EndSection

# res 1280 1024
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerFlags"
AllowMouseOpenFail
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen1"
InputDevice "Keyboard1"
InputDevice "mouse.p1"
InputDevice "mouse.usb"
EndSection
 
Old 03-01-2004, 04:09 PM   #6
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
What this file tells you is the configuration for each of the hardware elements needed to run the X server: monitor, keyboard, mouse and graphics card, and what settings the X server will use on start.

For example, I know you have a USB mouse with a wheel that works, and that your monitor is a IVM 1980 capable of displaying 1280x1024 resolution, and it is set to do so for all color depths.

Your video card is in fact using the proprietary nVidia driver, as shown here:
Quote:
Section "Device"
Identifier "Device1"
Driver "nvidia"
"nvidia" is the name of the nVidia driver module, the standard kernel module is called "nv".

However, what concerns me is the next line in this section:
Quote:
Option "NoRenderAccel"
I don't have an nVidia card, but that just doesn't seem to bode well for 3D hardware acceleration, since it appears to turn that very feature off.

Since I don't have an nVidia card, I don't know what the command to turn it on would be, but you could try commenting that option out with a "#", such as the one found in this line:
Quote:
# Local Fontserver: Disabled by default.
If you put an "#" at the beginning of the "Option" line, it will be considered a "comment" rather than a command, and will not be read by X when starting. If some serious problem occurs, simply remove the "#" and the line will again be read when X next starts.

Hope that helps.
 
Old 03-01-2004, 04:16 PM   #7
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
for the sound problem, try these commands, then start the game and see if anything has changed.
killall arts
killall artsd
killall esd
 
Old 03-01-2004, 04:41 PM   #8
Peter@20ghz
LQ Newbie
 
Registered: Mar 2004
Location: Stockholm
Distribution: XandrOS 2.0
Posts: 18

Original Poster
Rep: Reputation: 0
Guys, ill have to give it to you, you are realy great on giving help.
I have posted same problems and other q,s in other forums and have not even got one reply, here ive got a few in one day. thats realy great, and im happy that you dont hammer my head with RTFM etc. etc.

Anyway, as i see it, the "#" is like the "rem" in oldschool dos editing, so i can relate to how that works. But if i can add a new question here. From the top of my config file it says "Warning:
If this file is edited manually, then buildxconf will no longer
modify this file. It must be removed to be regenerated."
So if i ad the # in the file, will it then take effect, or do i have to regenerate it some how?

As for the sound problem that LavaDevil94 told me about, is that something i will need to do before everytime i start the game? or just ones and then its taken care of?

Once again, i very much appriciate the help guys.

//Peter
 
Old 03-01-2004, 04:50 PM   #9
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
did it fix your problem? what those commands did is kill a sound daemon that runs when your desktop inits. if you use kde, its arts. if you use gnome, its esd. in kde (dunno about gnome since i dont use it), you can go to the command center and make it so aRts doesnt init whyen kde does, so you wont have to issue that command. careful, though, since stuff like noatun and the built-in konquerer video player can turn it back on. if it does come back on, just use those commands again. as for the video, you really should install those drivers. if youre paranoid, just make a backup of your old config (rename it to something like XF86Config-4.bxc), where bxc is for BuildXConf .
 
Old 03-01-2004, 04:58 PM   #10
Peter@20ghz
LQ Newbie
 
Registered: Mar 2004
Location: Stockholm
Distribution: XandrOS 2.0
Posts: 18

Original Poster
Rep: Reputation: 0
This is how it looked like in the Console when i tried them all.
I guess its killall artsd thats the one for me? atleast thats the only one that didnt say it didnt do nothing :-)

I will now try to play and see whats happening.
Havent yet fixed the graphics, but hey, one step at the time huh,

:~$ killall arts
arts: no process killed
:~$ killall artsd
:~$ killall esd
esd: no process killed
 
Old 03-01-2004, 05:05 PM   #11
Peter@20ghz
LQ Newbie
 
Registered: Mar 2004
Location: Stockholm
Distribution: XandrOS 2.0
Posts: 18

Original Poster
Rep: Reputation: 0
Yupp.

The sound issue is no longer a problem. Thank you very much for that.
Will see if i can figure out how to have this fixed permanently, otherwise ill just do that command before any game.

Now i will go on to my graphic problem. try to put the # infront, save the file and then restart OS?
 
Old 03-01-2004, 05:14 PM   #12
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
if the server cant be turned off from the control center, just add it to a script. example:

# !/bin/sh
cd /where/the/game/is
killall artsd
./the_game_binary

and save it (as whatever name), put it in /usr/local/bin, chmod +x it, and run it!
 
Old 03-01-2004, 05:22 PM   #13
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Yes, I see what you mean:
Quote:
Automatically generated file by buildxconf
## part of the Xandros hardware detection system
##
## See Also:
## 'man devices-overview' for information about the detection system
## 'man setxconf' a utility for interacting with the detection system
## to modify the X configuration
## 'man XF86Config' for the format of this file
##
## Warning:
## If this file is edited manually, then buildxconf will no longer
## modify this file. It must be removed to be regenerated.
Well, you've got a couple of choices. You can try 'setxconfig' to modify the configuration file using buildxconf. Read the man page first, as suggested. I have no idea if this utility will allow you to turn HW acceleration on, but hopefully it will.

Or you can just modify the file, and in the case of problems move it to some unexpected location like your $HOME$ folder, which would apparently force buildxconf to rerun the setup and rebuild the file to its specifications.

I wouldn't worry about it too much, unless you expect to be changing video hardware a lot in the near future, which would need to be detected by the buildxconf detection system-- but then again, I'm not a Xandros user, so I could understand not wanting to risk borking the system.
 
Old 03-01-2004, 05:36 PM   #14
Peter@20ghz
LQ Newbie
 
Registered: Mar 2004
Location: Stockholm
Distribution: XandrOS 2.0
Posts: 18

Original Poster
Rep: Reputation: 0
LavaDevil94 : You men that the service that starts that sound daemon can be turned of in controll center? I have started to get a bit familiar with it but havent fount that option yet.
Do you know under what category/sub-category i should find it? would a screenshot help?

motub : Well i will try example no2, worst comes to worst, its just a one week old installation. i havent been gathering to much info here that i cant be without, so i can allways re-install everything and start over if it comes to that, but i wont worry to much about it.

Will try it tomorrow, now its to late (11.30 in the night here) and wiffy is screaming, wich means got to go or else..... :-)

Once again, thanks guys, and i will get back to u tomorrow with the results.
 
Old 03-02-2004, 05:53 PM   #15
Peter@20ghz
LQ Newbie
 
Registered: Mar 2004
Location: Stockholm
Distribution: XandrOS 2.0
Posts: 18

Original Poster
Rep: Reputation: 0
Well. i promissed u guys to get back to u today with results.
Weirdest thing happend though. i was gonna open admin filemanager to do some driver update, but when i started the manager the system froze? waited for 20-30 min but nothing, so i had to do reboot, (tried all sorts of inputs on keyboard, but nothing, like dead) and after reboot XandrOS wont start again. tried to do recovery console, rescue console and even reinstall, but it either hangs after "detecting hardware" or sinmply reboots depending on wich mode i was trying to start. I even tried with my knopix cd but it starts, but somehow the screen turns of just when desktop is gonna load. just blinking with the orange led from screen like no input signal or so. The Xandros dualboot menu works still so i can still log on to my WinXP (which im using now), but i dont know how to fix this, which means i cant fix my graphic problem either :-)
Anyways, as soon as i know how to fix my somehow crashed Xandros i will try again with my game troubles and post results here.

And would you somehow recognise my predicament here and know what i can do about it, feel free to let me know.

Best regards
Peter ( real newbie )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
demudi(debian) sound and graphic problem Maxa Linux - Newbie 0 11-24-2005 01:22 PM
AAO Voice Communication kris.kj.jacobs Linux - Games 2 07-28-2005 03:31 AM
Trying to install AAO... It's a .bin file-- helpme plz thx muypill Linux - Newbie 1 12-10-2004 10:40 PM
AAO with Suse 9 Fiasko Linux - Games 9 03-08-2004 10:54 AM
problems with graphic and sound in slackware 9.1 distro shams Linux - Software 4 02-15-2004 10:46 AM


All times are GMT -5. The time now is 01:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration