loki installers for linux gamers Board

 
 Back to LIFLG  FAQ   Search   Memberlist   Usergroups   Register 
 Profile   Log in to check your private messages   Log in 

Is there any chance to see new installer for SiN and Shogo?
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    loki installers for linux gamers Board Forum Index -> General
View previous topic :: View next topic  
Author Message
FTL



Joined: 02 Apr 2010
Posts: 11

PostPosted: Sat Jun 12, 2010 10:42 am    Post subject: Reply with quote

I'm not blaming PA for everything. But sound lags or no sound at all in non-PA native apps is still rather common problem. In my case, I just load oss modules with no PA and OSS apps behave perfectly. So, I'm not forcing you into anything of course, just putting my opinion on the table.
Back to top
View user's profile Send private message
Hamish



Joined: 22 May 2010
Posts: 10

PostPosted: Sun Jun 13, 2010 4:26 am    Post subject: Reply with quote

I know you were not trying to force me to do anything.

That was mainly a response to all these people on the Phoronix forum basically saying that "because PulseAudio exists, Linux can not play games". Which gets REALLY, really old...

I may experiment your suggestion at some point, not due to lags, but to see if it helps OSS programs behave any better. On Fedora 10 everything was fine. Every release before and after OSS has always been a thorn in my side.
_________________
Hamish Paul Wilson, VA6GNU
Back to top
View user's profile Send private message Send e-mail
Hamish



Joined: 22 May 2010
Posts: 10

PostPosted: Wed Jun 16, 2010 1:07 am    Post subject: Reply with quote

Well, I did as you suggested with no change, so the problem has to be with OSS and not PulseAudio.

This is on Fedora 13 by the way, it acts exactly the same as 12 did when it comes to the installers.
_________________
Hamish Paul Wilson, VA6GNU
Back to top
View user's profile Send private message Send e-mail
kingron



Joined: 03 Nov 2004
Posts: 175

PostPosted: Thu Jun 17, 2010 7:45 pm    Post subject: Reply with quote

well i don't know much about fedora but we can try to figure out why your sound isn't working... as root:
Code:

# lspci
00:00.0 Host bridge: Intel Corporation 82X38/X48 Express DRAM Controller (rev 01)
00:01.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Primary PCI Express Bridge (rev 01)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GTX] (rev a2)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
03:00.0 Audio device: Creative Labs X-Fi Titanium series [EMU20k2] (rev 03)

you should see something like "Audio device" ...
what gives your
Code:
# alsa-info

(save it as file ...)
Back to top
View user's profile Send private message
Hamish



Joined: 22 May 2010
Posts: 10

PostPosted: Fri Jun 18, 2010 5:44 am    Post subject: Reply with quote

Following several different guides, I changed the error message given by SiN.

To get OSS working at all, I put in these commands as root.
Code:
/sbin/modprobe snd_pcm_oss
chmod 777 /proc/asound/card0/pcm0p/oss


Then to try and get sounds working in SiN:
Code:
cd /media/External1/hamish/games/sin-demo
echo "sin-demo 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "sin-demo 0 0 direct" > /proc/asound/card0/pcm0p/oss
./sin-demo +set s_driver oss


I still do not get sound, but I do receive a different error:
Code:
------- sound initialization -------
Could not mmap sound device


These commands did manage to get lag-less sound in the Shogo demo:
Code:
cd /media/External1/hamish/games/shogo-demo
echo shogo 0 0 direct > /proc/asound/card0/pcm0p/oss
./shogo


However, I should point out that I do not have to do this to get Sound working when using Hyperion's default installer for the full-version. It works out of the box. And still no music. Sad

Ah well, I appreciate the effort that has gone into these already. Especially with SiN, even with no sound it is still running better than it ever did before on Fedora.
_________________
Hamish Paul Wilson, VA6GNU
Back to top
View user's profile Send private message Send e-mail
Jusko



Joined: 09 Aug 2008
Posts: 17

PostPosted: Sat Jun 19, 2010 3:31 pm    Post subject: Reply with quote

kingron wrote:
rettichschnidi wrote:
@sin:

- gilbc-2.1 <-- glibc-2.1
- Notes: usually we have a empty line between the points

@compiled scripts:
I would like to get an answer: Why compiled? There is no reason for this. It will bite us and others in the future.


all points fixed Twisted Evil

Thanks for testing!!!

Update 01.06.2010 :
http://home.coc-ag.de/dressler-ro/liflg/files/beta/sin-demo_1.10-english_x86.mojo.run
http://home.coc-ag.de/dressler-ro/liflg/files/beta/shogo-demo_2.1-english_x86.mojo.run


Yay - works out of the box Very Happy Do something like that for full version and it will be great Very Happy

Tests are made on Fedora 13.
Back to top
View user's profile Send private message
Hamish



Joined: 22 May 2010
Posts: 10

PostPosted: Tue Jun 22, 2010 1:02 am    Post subject: Reply with quote

Well, I finally got SiN's audio working.

Code:
[hamish@griffindor ~]$ cd /media/External1/hamish/games/sin-demo
[hamish@griffindor sin-demo]$ su
Password:
[root@griffindor sin-demo]# modprobe snd-pcm-oss
[root@griffindor sin-demo]# modprobe snd-mixer-oss
[root@griffindor sin-demo]# /sbin/modprobe snd_pcm_oss
[root@griffindor sin-demo]# chmod 777 /proc/asound/card0/pcm0p/oss
[root@griffindor sin-demo]# echo "sin-demo.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
[root@griffindor sin-demo]# echo "sin-demo.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
[root@griffindor sin-demo]# su hamish
[hamish@griffindor sin-demo]$ ./sin-demo.x86 +set s_driver oss


Now lets explain this shall we. First I had to cd to my SiN directory and gain root privileges:
Code:
[hamish@griffindor ~]$ cd /media/External1/hamish/games/sin-demo
[hamish@griffindor sin-demo]$ su
Password:
[root@griffindor sin-demo]#


Next I get OSS working system-wide (and thus also allow the Shogo demo to work):
Code:
[root@griffindor sin-demo]# modprobe snd-pcm-oss
[root@griffindor sin-demo]# modprobe snd-mixer-oss
[root@griffindor sin-demo]# /sbin/modprobe snd_pcm_oss
[root@griffindor sin-demo]# chmod 777 /proc/asound/card0/pcm0p/oss


Then I get SiN's sounds working:
Code:
[root@griffindor sin-demo]# echo "sin-demo.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
[root@griffindor sin-demo]# echo "sin-demo.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss


After that, I return to my account and run the game:
Code:
[root@griffindor sin-demo]# su hamish
[hamish@griffindor sin-demo]$ ./sin-demo.x86 +set s_driver oss


Well, that was easy... Rolling Eyes
_________________
Hamish Paul Wilson, VA6GNU
Back to top
View user's profile Send private message Send e-mail
kingron



Joined: 03 Nov 2004
Posts: 175

PostPosted: Mon Jul 05, 2010 2:12 pm    Post subject: Reply with quote

well done Cool
Back to top
View user's profile Send private message
Jusko



Joined: 09 Aug 2008
Posts: 17

PostPosted: Mon Jul 12, 2010 12:47 am    Post subject: Reply with quote

OK, but demo is only demo. Is there any chance for automated installer (like for demo) for full version? I've copied files from CD (yes, from native SiN, not Windows version) to installed demo, but game won't run.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    loki installers for linux gamers Board Forum Index -> General All times are GMT + 2 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Crisp by SkaidonDesigns
Powered by phpBB 2.0.23 © 2001, 2006 phpBB Group