Compiling in Ubuntu
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
LOL; I didn't know I could su foo. That's far better than switching users waiting 20 seconds for a login box...
Alright, thanks!, I'm all set now.
Alright, thanks!, I'm all set now.
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Elite Mercenary
- Posts: 1329
- Joined: Thu Mar 27, 2003 11:51 pm
- Location: Manchester, UK
- Contact:
Re: Compiling in Ubuntu
Yeah, the problem with acronyms is people's tendency to interpret them incorrectly. For a while I used to think 'su' meant 'super user' until I learnt it meant 'substitute user' (a synonym 'switch user').
The easy way to find out is: 'man su'. For any cryptic command, check the man page.
The easy way to find out is: 'man su'. For any cryptic command, check the man page.
Free Gamer - free software games compendium and commentary!
FreeGameDev forum - open source game development community
FreeGameDev forum - open source game development community
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
Speaking of which, haven't women complained about that, yet?charlieg wrote:The easy way to find out is: 'man su'.
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Hunter
- Posts: 85
- Joined: Sun Dec 13, 2009 9:28 pm
Re: Compiling in Ubuntu
No, no. The joke is:chuck_starchaser wrote:Speaking of which, haven't women complained about that, yet?charlieg wrote:The easy way to find out is: 'man su'.
Code: Select all
$ man woman
No manual entry for woman
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
ROTFLMAO
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
Have the Ubuntu build issues been sorted out? If not could you summarize them and what versions of Ubuntu their known to affect?
On the man/woman at the command line subject... emacs has a man command and a women command. They both view manual pages, but the woman command shows them in color. I guess man is color blind.
On the man/woman at the command line subject... emacs has a man command and a women command. They both view manual pages, but the woman command shows them in color. I guess man is color blind.
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
The Ubuntu issue remains, for me at least.
I had this problem with Jaunty; and now again with Karmic.
The problem is with sound. Not sure if all sound or just music.
The music comes through as like randomly timed, millisecond snippets;
like rain on a tin roof, or crumbling a sheet of aluminum wrap, or like
throwing wet twigs into a white hot chimney fire; or like two dozen mad
telegraphists on steroids, or as an illegal firecracker manufacturing plant
at the very moment it reveals away its location without intending it.
Once in a while you can hear a wee bit longer snippet, maybe 1/16th of
a second long, just barely enough to recognize which musical piece is
playing, provided you know them well enough that you can tell them
form the sound of a piece of a single note.
The problem is not new. Nphillips said to me, about a week ago, that he's
always had problems with Vegastrike on Ubuntu, and that whenever he
plays VS or PU he runs the Windows binary on Wine, precisely to avoid
sound issues.
Many months ago I compiled from svn to try PU on Ubuntu -Jaunty.
Same thing; it compiled okay, but the music could not be heard almost
at all. Well, once every 20 seconds maybe there was a tiny blip of music.
But I remember I flew to Serenity and was trying to park there, and my
left wing scratched the door frame, and suddenly it was BANG!, a loud
metal sound. The station managers though that I was a member of a
terrorist organization and immediately sent defenders on the attack,
and their firepower was deafening. So, only the music was not working.
Right now I don't know; haven't been looking for trouble.
Maybe I'll try it first thing tomorrow.
Klauss was telling me, months ago, that the current sound system is
extremely bad in its use of memory. To play a song it needs to uncompress
the entire track into ram, which may be 200 megs, easily. Not sure if that
would have something to do with the problem... I have 2 gigs installed.
But then again, maybe the sound chip could use an interrupt line, or a
spare dma, or both, but nasty Ubuntu likes to play mind games with it.
Another possibility is that Ubuntu may be configured in some weird
way by default. I look at the sound settings and it's all Greek to me.
I had this problem with Jaunty; and now again with Karmic.
The problem is with sound. Not sure if all sound or just music.
The music comes through as like randomly timed, millisecond snippets;
like rain on a tin roof, or crumbling a sheet of aluminum wrap, or like
throwing wet twigs into a white hot chimney fire; or like two dozen mad
telegraphists on steroids, or as an illegal firecracker manufacturing plant
at the very moment it reveals away its location without intending it.
Once in a while you can hear a wee bit longer snippet, maybe 1/16th of
a second long, just barely enough to recognize which musical piece is
playing, provided you know them well enough that you can tell them
form the sound of a piece of a single note.
The problem is not new. Nphillips said to me, about a week ago, that he's
always had problems with Vegastrike on Ubuntu, and that whenever he
plays VS or PU he runs the Windows binary on Wine, precisely to avoid
sound issues.
Many months ago I compiled from svn to try PU on Ubuntu -Jaunty.
Same thing; it compiled okay, but the music could not be heard almost
at all. Well, once every 20 seconds maybe there was a tiny blip of music.
But I remember I flew to Serenity and was trying to park there, and my
left wing scratched the door frame, and suddenly it was BANG!, a loud
metal sound. The station managers though that I was a member of a
terrorist organization and immediately sent defenders on the attack,
and their firepower was deafening. So, only the music was not working.
Right now I don't know; haven't been looking for trouble.
Maybe I'll try it first thing tomorrow.
Klauss was telling me, months ago, that the current sound system is
extremely bad in its use of memory. To play a song it needs to uncompress
the entire track into ram, which may be 200 megs, easily. Not sure if that
would have something to do with the problem... I have 2 gigs installed.
But then again, maybe the sound chip could use an interrupt line, or a
spare dma, or both, but nasty Ubuntu likes to play mind games with it.
Another possibility is that Ubuntu may be configured in some weird
way by default. I look at the sound settings and it's all Greek to me.
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
Your problem IMO is something I call Ubuntuness. I like that distro slightly more than SUSE, but not much. I've seen all kinds of random failings. It's like they wanted windows converts to feel at home or something.
We'll start with a basic vanilla install What is the version number your using? I don't keep up on the nicknames. Once it goes well on my test system and if it doesn't go well on yours, we'll need to look at what is and isn't installed as well has hardware.
We'll start with a basic vanilla install What is the version number your using? I don't keep up on the nicknames. Once it goes well on my test system and if it doesn't go well on yours, we'll need to look at what is and isn't installed as well has hardware.
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
Took me a while to find it...JsnMtth wrote:Your problem IMO is something I call Ubuntuness. I like that distro slightly more than SUSE, but not much. I've seen all kinds of random failings. It's like they wanted windows converts to feel at home or something.
We'll start with a basic vanilla install What is the version number your using? I don't keep up on the nicknames.
Not sure if I'm a human being, though; can't find an "About chuck_starchaser".About Ubuntu wrote:Ubuntu - Linux for Human Beings!
You are using Ubuntu 9.10 - the Karmic Koala - released in October 2009 and supported until April 2011.
Won't go well in your system; I bet. Many have tried...Once it goes well on my test system and if it doesn't go well on yours, we'll need to look at what is and isn't installed as well has hardware.
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Hunter
- Posts: 85
- Joined: Sun Dec 13, 2009 9:28 pm
Re: Compiling in Ubuntu
Sound is actually working pretty well for me...though I'm using KDE....previously, I was in Gnome, where the issues occurred. There's something with Gnome's sound server that screws with VS's audio.
FYI, you're using Gnome, chuck.
And Jsn: Ubuntu's goal could be vaguely described as making the transition from Windows an easy one. That's definitely an underlying value for them, even if unspoken. But frankly, if it hadn't been for the changes that Ubuntu has pushed in the last few years, Linux would, in all likelihood, remain a hardcore hacker's OS. Two years ago, I would have never subjected my non-technical wife to linux on her laptop. Now, she's running Karmic, with zero problems, and only a tiny learning curve (focused primarily on her iPod, but that's because of proprietary Apple garbage, not Ubuntu)
FYI, you're using Gnome, chuck.
And Jsn: Ubuntu's goal could be vaguely described as making the transition from Windows an easy one. That's definitely an underlying value for them, even if unspoken. But frankly, if it hadn't been for the changes that Ubuntu has pushed in the last few years, Linux would, in all likelihood, remain a hardcore hacker's OS. Two years ago, I would have never subjected my non-technical wife to linux on her laptop. Now, she's running Karmic, with zero problems, and only a tiny learning curve (focused primarily on her iPod, but that's because of proprietary Apple garbage, not Ubuntu)
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
I know, forgive my rant. I've tried really hard to like Ubuntu. We tried a couple different systems at the office, and I ran it on my laptop for a few months after Debian didn't work out well (the laptop has quirky hardware). My coworker loves it and runs it on his system at work and his laptop. They are doing good things with it.nphillips wrote: Ubuntu's goal could be vaguely described as making the transition from Windows an easy one. That's definitely an underlying value for them, even if unspoken. But frankly, if it hadn't been for the changes that Ubuntu has pushed in the last few years, Linux would, in all likelihood, remain a hardcore hacker's OS. Two years ago, I would have never subjected my non-technical wife to linux on her laptop. Now, she's running Karmic, with zero problems, and only a tiny learning curve (focused primarily on her iPod, but that's because of proprietary Apple garbage, not Ubuntu)
@chuck
Ubuntu 9.10 - the Karmic Koala, OK I'll install it and build vegastrike on it tonight. I think nphillips is right about the sound server. That version of Ubuntu had issues with it (so did earlier version of Fedora). It might have to do with some conflicting packages that have been installed.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
Chuck,
Are you using a 32 or 64 bit distro?
run:
It should tell me exactly what distro you have installed.
on my system:
Are you using a 32 or 64 bit distro?
run:
Code: Select all
lsb_release -a
on my system:
Code: Select all
[jason@jsnmtth ~]$ lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch
Distributor ID: Fedora
Description: Fedora release 11 (Leonidas)
Release: 11
Codename: Leonidas
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
64JsnMtth wrote:Chuck,
Are you using a 32 or 64 bit distro?
run:It should tell me exactly what distro you have installed.Code: Select all
lsb_release -a
on my system:Code: Select all
[jason@jsnmtth ~]$ lsb_release -a LSB Version: :core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch Distributor ID: Fedora Description: Fedora release 11 (Leonidas) Release: 11 Codename: Leonidas
Code: Select all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
Be right back...
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
Thats everything I needed. Thanks! I'll download and install it.
Going out with some family today, so I'll be getting at it this evening.
Going out with some family today, so I'll be getting at it this evening.
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
Here we go:
EDIT:
Cool.
Code: Select all
> lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
>
Posted at the same time.JsnMtth wrote:Thats everything I needed. Thanks! I'll download and install it.
Going out with some family today, so I'll be getting at it this evening.
Cool.
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
I've got Ubuntu 9.10 installed. So far I'm really impressed with it. I may just port over RedHat's Firewall system and Text-Mode run-level keep it. My Data is copying over, then I'll put up the build system and get to work.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
Sound works on a vanilla install without update. Running an update now.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
Sound works after update.
Chuck,
install apt-show-versions
Then run it at the command line redirecting it's output to a file.
Send me the file by post or email, whichever is better for you.
I'll install whatever you have installed, then I'll rebuild vegastrike and see if the sound breaks.
If it doesn't then we'll need to deal with the hardware issues on your system.
Chuck,
install apt-show-versions
Code: Select all
sudo apt-get install apt-show-versions
Code: Select all
apt-show-versions > chucks_ubuntu_packages.txt
I'll install whatever you have installed, then I'll rebuild vegastrike and see if the sound breaks.
If it doesn't then we'll need to deal with the hardware issues on your system.
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
It's in the mail.
(Just had a major crash while switching users.)
(Just had a major crash while switching users.)
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
After many emails and experiments, my system seems to be working perfectly now.
No problem at all anymore with Vegastrike's sound.
Thanks Jason!
I think it would be good to add a footnote to the installation instructions in the wiki
about Ubuntu sound blues, and how to fix them.
I think the first step, IIRC, was to
then running vegastrike again. That semi-fixed the problem temporarily, but at least
it's an experiment people can do to find out if pulseaudio is the culprit.
I'd do the Wiki edits myself, but
a) I don't know the subject, and
b) My log-in for the wiki got borked in the upgrade to phpBB3
No problem at all anymore with Vegastrike's sound.
Thanks Jason!
I think it would be good to add a footnote to the installation instructions in the wiki
about Ubuntu sound blues, and how to fix them.
I think the first step, IIRC, was to
Code: Select all
pulseaudio --kill
it's an experiment people can do to find out if pulseaudio is the culprit.
I'd do the Wiki edits myself, but
a) I don't know the subject, and
b) My log-in for the wiki got borked in the upgrade to phpBB3
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
Your welcome Chuck, I'm glad that worked!
Don't forget we made changes to your pulseaudio configuration, and that the issue was related to your previous install. Did you see the log entries that pointed to the issue?
Don't forget we made changes to your pulseaudio configuration, and that the issue was related to your previous install. Did you see the log entries that pointed to the issue?
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
I didn't; I merely sent you the files you asked me for. I noticed they were several K each, so I figured there was not a chance I'd know what to look at if I opened them. But in any case, there's been at least one other person in this forum, and at least another person at the PU forum, plus nphillips, that had problems with VS audio in Ubuntu; and I'd bet it's pulseaudio. I think the issue deserves a wiki entry. No?
If by that you mean that my previous install was borked; I agree; I had the same problem when I compiled VS in Jaunty, many months ago....and that the issue was related to your previous install
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
I'm not saying it doesn't deserve a wiki entry. I just wanted to make sure that the issue gets covered.
The Log Entry:
This entry makes clear that something is either trying to read or write to or from data that doesn't exist (probably a misconfiguration) Chuck's system was an "upgrade" from a previous ubuntu distribution, using the same version of pulseaudio as my working clean ubuntu distribution (both 9.10 Karmac). I googled the first log entry above excluding the time and PID and found: https://bugs.launchpad.net/ubuntu/+sour ... bug/329620
Although it's marked as a duplicate, Entry number eight proposed a working solution
This was in the /etc/pulse/default.pa files
This is the diff between your file and my file(my file is from Fedora 11)
So we replaced chucks default.pa with mine. The important part is probably that the hardware abstraction layer got the locations right where udev didn't. Probably the configuration was preserved from Jaunty. I'll check it on my system tonight and see if I can break it.
Back your original up first
My default.pa
Set it's permissions properly:
chown root:root /etc/pulse/default.pa
chmod 644 /etc/pulse/default.pa
Then restart your pulseaudio server as the logged in user:
pulseaudio --kill
The Log Entry:
Code: Select all
Jan 1 22:38:26 kar pulseaudio[2465]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jan 1 22:38:26 kar pulseaudio[2465]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Jan 1 22:38:26 kar pulseaudio[2465]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Although it's marked as a duplicate, Entry number eight proposed a working solution
I realized that the problem is with the software have been fixed, and that chuck was missing hal-detect from his configuration.Try adding "tsched = 0" to /etc/pulse/default.pa under the hal-detect module. More info at the end of this article:
http://fedoraproject.org/wiki/Features/GlitchFreeAudio
It fixed my audio problems and the messages. Clearly it's exposing a bug somewhere.
This was in the /etc/pulse/default.pa files
Code: Select all
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
Code: Select all
diff default.pa /etc/pulse/default.pa
29d28
< load-sample-dir-lazy /usr/share/sounds/ubuntu/stereo
53,54c52,53
< .ifexists module-udev-detect.so
< load-module module-udev-detect
---
> .ifexists module-hal-detect.so
> load-module module-hal-detect
57c56
< ### lack udev support)
---
> ### lack HAL support)
104,106d102
< ### Honour intended role device property
< load-module module-intended-roles
<
118c114
< #load-module module-cork-music-on-phone
---
> load-module module-cork-music-on-phone
Back your original up first
My default.pa
Code: Select all
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)
.nofail
### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav
.fail
### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
### Automatically load driver modules depending on the hardware available
.ifexists module-hal-detect.so
load-module module-hal-detect
.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
load-module module-detect
.endif
### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish
### Load the RTP reciever module (also configured via paprefs, see above)
#load-module module-rtp-recv
### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
#load-module module-rtp-send source=rtp.monitor
### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif
### Automatically restore the default sink/source when changed by the user during runtime
load-module module-default-device-restore
### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams
### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink
### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
load-module module-console-kit
### Enable positioned event sounds
load-module module-position-event-sounds
### Cork music streams when a phone stream is active
load-module module-cork-music-on-phone
# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.
### Load X11 bell module
#load-module module-x11-bell sample=bell-windowing-system
### Register ourselves in the X11 session manager
#load-module module-x11-xsmp
### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif
### Make some devices default
#set-default-sink output
#set-default-source input
chown root:root /etc/pulse/default.pa
chmod 644 /etc/pulse/default.pa
Then restart your pulseaudio server as the logged in user:
pulseaudio --kill
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: Compiling in Ubuntu
Actually, I tried pulseaudio --kill after the default.pa update and it didn't work.
It was after reboot that it worked (for the first time ever).
But now I tried vegastrike again and the problem was back.
I tried pulseaudio --kill, and it doesn't fix it.
Looks like it only works after a fresh reboot.
It was after reboot that it worked (for the first time ever).
But now I tried vegastrike again and the problem was back.
I tried pulseaudio --kill, and it doesn't fix it.
Looks like it only works after a fresh reboot.
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
-
- Bounty Hunter
- Posts: 174
- Joined: Wed May 27, 2009 6:38 am
- Location: Fresno, California - United States of America
- Contact:
Re: Compiling in Ubuntu
replace
with
and reboot. That doesn't fix it than we'll look at ALSA, The non-duplicate thread pointed to that (so did your error)
Code: Select all
load-module module-hal-detect
Code: Select all
load-module module-hal-detect
tsched = 0