DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th July 2008
neurosis neurosis is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 69
Default linux-enemyterritory and no sound?

Ive had this problem for a while and have found plenty of fixes for linux machines but havent been able to get it working on my FreeBSD machine. I had this working just find back on freebsd 6.0 but it became a problem for me when I upgraded to 6.1 and is still a problem now that ive upgraded to 7. Im not sure how to going about tracking down the problem. Ive been using freebsd for quite some time but am still pretty much green at trouble shooting major issues. Any help would be appreciated.
Reply With Quote
  #2   (View Single Post)  
Old 24th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Did you set hw.snd.compat_linux_mmap to 1? i.e.

# sysctl hw.snd.compat_linux_mmap=1
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 24th July 2008
neurosis neurosis is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 69
Default

Here is what I have... Im posting it because I dont understand it fully.

Code:
# sysctl -a |grep linux
<118> linux
<118> linux
<118> linux
<118> linux
<118> linux
<118> linux
hw.snd.compat_linux_mmap: 0
compat.linux.oss_version: 198144
compat.linux.osrelease: 2.4.2
compat.linux.osname: Linux
so i'll change the hw.snd.compat_linux_mmap: 0 to a : 1 and see if it helps? I cant find much information on this setting so out of curiosity what does it change?

Last edited by neurosis; 24th July 2008 at 06:30 PM.
Reply With Quote
  #4   (View Single Post)  
Old 24th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
so i'll change the hw.snd.compat_linux_mmap: 0 to a : 1 and see if it helps?
Yes.

Quote:
so out of curiosity what does it change?
Linux mmap() behaviour is broken in some subtle way, I don't remember exactly what the issue is ... It's on the FreeBSD mail list somewhere, current@ IIRC.
Most apps work fine anyway, but the quake3 engine (And some other apps) expect this broken behaviour ... Setting this sysctl to 1 emulates the broken mmap() behaviour and allows these applications to work.

There should really be a pkg-message for this ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 25th July 2008
neurosis neurosis is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 69
Default

Thanks. That appeared to work but it seems that I have bigger fish to fry now. The game play was terrible and very choppy. Thats when i realized that my nvidia driver isnt working properly. This will be a question i'll post in to the main forum.

Thanks again.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recording sound with external sound card backrow OpenBSD General 5 21st August 2009 08:17 PM
sound in ALSA using linux apps TerryP FreeBSD General 1 29th May 2009 03:33 PM
linux compat and linux-only drivers fbsduser FreeBSD General 9 22nd January 2009 05:42 PM
Sound JimC FreeBSD General 9 15th August 2008 06:05 PM
USB Sound? FreeMan OpenBSD General 16 7th May 2008 06:09 AM


All times are GMT. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick