Archive

Archive for September 27th, 2009

How I solved my audio problems

September 27th, 2009 No comments

Short answer: IRC and #fedora

Long answer:

As you may recall I have been without sound for quite some time now. Finally getting sick and tired of it I ventured into the official Fedora IRC channel to try and get some help. Thankfully the people over there are very helpful. After about an hour of trying this, that and the other thing I finally found success by doing the following:

yum install pavucontrol padevchooser

This installed some very easy to use tools for PulseAudio, the component that I long thought was the cause of my problems.

PulseAudio made easy!

PulseAudio made easy!

After pulling this up I noticed that it was sending the master audio stream to my ATi HDMI port for some reason. A quick switch of this to the “Internal Audio” and everything seemed to work fine! Not sure what caused my default audio stream to be switched to the HDMI port that I’m not even using but I’m just glad that after all of this time I have finally solved the problem!

Programming on Linux

September 27th, 2009 No comments

Now that school as resumed I am getting to spend a lot of time with my Linux install doing day to day productive tasks. The most recent thing that I have had to deal with is programming on Linux. As part of my Computer Graphics class the professor recommended that we install Dev-C++ and GLUT (with related libraries) so that we can code some OpenGL goodness. Well seeing as Dev-C++ is a Windows only IDE that just won’t do.

Instead I opted to install the C and C++ development tools for Eclipse. This works perfectly and within minutes I had a simple “Hello, world!” program up and running. In the past I had only ever used Eclipse for Java programming, however that may be changing permanently in the future.

Next up I had to install GLUT. After a quick search in my Fedora repositories I only had the option to install freeglut listed. So I figured ‘what the heck’ and gave it a try anyway. To my surprise this worked perfectly, even when I still referenced #<GL/glut.h>. This means I can use all of this great open source software to develop the same C++ code that I can then submit to my professor to mark on his Window’s machine.

The only issue I have found is I cannot for the life of me get MinGW to compile the code to a Windows exe. Yet even barring this I must say that all in all I am very impressed!