Archive

Posts Tagged ‘Fedora 11’

XBMC Camelot

December 28th, 2009 3 comments

In my daily RSS feeds I read about the release of the newest version of XBMC, formally the Xbox Media Center, so I decided to check it out.

While the maintainers do not specifically support Fedora with pre-built RPMs, they do offer instructions on how to build it from source here. Even so, I did run into a couple of little problems along the way. For example on the step that says to enter

*sudo ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so
*sudo ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so

depending on if you are running the x86 or x64 version of Fedora, I needed to change this to say

sudo ln -s /usr/lib64/mysql/libmysqlclient.so.16.0.0 /usr/lib64/libmysqlclient.so

because that is the current version of my library. In addition running

./configure

failed due to an error with OpenSSL, specifically its lack of something called “openssl/ecdsa.h”. I managed to fix this by altering the source code according to the patch found here. Then before re-running ./configure I had to run

autoreconf –force –install

(that’s two dashes in front of force and install!) from within xbmc/cores/dvdplayer/Codecs/libbnav. Once that was done the ./configure ran smoothly. From then on I simply followed the rest of the instructions and I was in business!

There really is only one word to describe this version of XBMC: AWESOME!

It picked up my pictures, videos and music from all of my network shares and local drives without issue. The user interface is absolutely stunning as well. At one point I had Star Wars playing in the background (still in view) while navigating beautifully rendered and slightly transparent menus to adjust other system settings. It can even be configured to pull down information about the movies from the Internet, including who stars in it and what the plot is. The music playback is similar and offers a variety of visualizers for your viewing pleasure. The picture options allows for very neat slideshows, accompanied by your own music playing in the background, which would be great for atmosphere at a party.

From Wikipedia here are just some of the features supported by this release:

  • Physical media: CDs, DVDs, DVD-Video, Video CDs (including VCD/SVCD/XVCD), Audio-CD (CDDA), USB Flash Drives, and Hard Disk Drives
  • Network/Internet protocols: UPnP, SMB/SAMBA/CIFS, XBMSP, DAAP, HTTP, HTTPS, FTP, RTSP (RTSPU, RTSPT), MMS (MMSU, MMST), RTMP, Podcasting, TCP, UDP, SFTP, RTP
  • Container formats: AVI, MPEG, WMV, ASF, FLV, Matroska, QuickTime, MP4, M4A, AAC, NUT, Ogg, OGM, RealMedia RAM/RM/RV/RA/RMVB, 3gp, VIVO, PVA, NUV, NSV, NSA, FLI, FLC, and DVR-MS (beta support)
  • Video formats: MPEG-1, MPEG-2, H.263, MPEG-4 SP and ASP, MPEG-4 AVC (H.264), HuffYUV, Indeo, MJPEG, RealVideo, RMVB, Sorenson, WMV, Cinepak
  • Audio formats: MIDI, AIFF, WAV/WAVE, MP2, MP3, AAC, AACplus, AC3, DTS, ALAC, AMR, FLAC, Monkey’s Audio (APE), RealAudio, SHN, WavPack, MPC/Musepack/Mpeg+, Speex, Vorbis and WMA
  • Digital picture/image formats: RAW image formats, BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX and Targa/TGA
  • Subtitle formats: AQTitle, ASS/SSA, CC, JACOsub, MicroDVD, MPsub, OGM, PJS, RT, SMI, SRT, SUB, VOBsub, VPlayer
  • Metadata tags: APEv1, APEv2, ID3 (ID3v1 and ID3v2), ID666 and Vorbis comments for audio file formats, Exif and IPTC (including GeoTagging) for image file formats

For a sampling of the beautiful new interface check out their official wiki here. I apologize for this sounding a lot like an advertisement but in all honesty I am floored by how impressive this application is and would highly recommend it to anyone looking for a sweet home theater setup. Try it out now!

AQTitle, ASS/SSA, CC, JACOsub, MicroDVD, MPsub, OGM, PJS, RT, SMI, SRT, SUB, VOBsub, VPlayer



I am currently running a variety of distributions, primarily Linux Mint 17.
Previously I was running KDE 4.3.3 on top of Fedora 11 (for the first experiment) and KDE 4.6.5 on top of Gentoo (for the second experiment).
Check out my profile for more information.

Unstable & Not Ready – Uninstalling Fedora 12 24-Hours Later

November 20th, 2009 9 comments

Well it has been 24 hours since I first installed Fedora 12 and I am ready to uninstall it. Even after trying to enable 3D graphics with an experimental graphics driver, because the official ATI is not yet ready, I am still experiencing graphical abnormalities, application crashes, and sluggish performance all over. This is not the kind of experience that I can deal with day after day on my primary machine.

I believe most of these issues are just par for the course with Fedora. By that I mean, the Fedora developers love to live on the bleeding edge of technology and unfortunately this time around they didn’t wait for the basic foundation to be ready before shipping. I’m sure within the next couple of weeks, or months at the most, all of my issues will be ironed out. Until then I am reverting back to trusty “old” Fedora 11.




I am currently running a variety of distributions, primarily Linux Mint 17.
Previously I was running KDE 4.3.3 on top of Fedora 11 (for the first experiment) and KDE 4.6.5 on top of Gentoo (for the second experiment).
Check out my profile for more information.

Installing Fedora 12

November 19th, 2009 1 comment

With the recent release of Fedora 12 it is high time that I upgrade from my existing Fedora 11 install to the new wonders that surely await me. So I hopped over to google and did a quick search and came across the official documentation to upgrade Fedora. My plan was to try and upgrade to see how it works and then eventually do a full re-install just to clear out any cobwebs that have developed over the past couple of months. Without further ado here we go!

Attempt #1: Upgrade

Because the Fedora repositories now use LZMA as the compression algorithm for packages the first thing I needed to do was upgrade rpm

yum update rpm

Next I needed to add rawhide (the current software repository) to my list of repositories.

yum –enablerepo=rawhide –skip-broken upgrade

Once that was done I ran a simple update and was presented with literally thousands of updates.

That's a lot of updates!

That's a lot of updates!

Unfortunately this failed a dependency resolution. Doing some more reading I found out that the dependencies might in fact be OK, but that the older version of yum just can’t resolve them correctly. So I tried updating yum to see if that would make a difference.

yum upgrade yum

Trying once again I was met with utter failure. Still unresolved dependencies! Turning back to the Internet I found out that Fedora actually maintains a separate set of instructions which include the use of a graphical upgrader! Entering:

yum install preupgrade

preupgrade

and I had the upgrade wizard running on my screen. A couple of quick clicks and I was off to the races. I started the download phase and went to bed as I figured it could take a while to complete.

In the morning I was presented with a dialog telling me to restart, which I did. On the next boot a Fedora installer appeared and began to fully install the system. All was going well until disaster struck.

There was an error running your transaction for the following reason(s): insufficient disk space.

Clicking the details arrow gave me more information saying that

You need more space on the following file systems:

18 M on /mnt/sysimage/boot

With no other options I clicked Exit Installer and hopped for the best. Eventually I had to hit the power button on my computer to restart it. Thankfully this allowed me to reboot into my existing Fedora 11 install.

Attempt #2: Re-Install KDE Live CD

After giving up on trying an upgrade I decided to simply download the newest version of the Fedora 12 x64 KDE Live CD. Unfortunately rather than being a smooth installation I had the installer itself crash on me at least 4 different times. Figuring it might be an issue with the x64 version I even tried installing from the Fedora 12 x86 KDE Live CD which ultimately had the same issues. All of these attempts had trashed the data on my hard drive – good thing I did a back up first!

Attempt #3: Re-Install DVD

Getting frustrated I then turned to the old trusty DVD install which I had used previously to install Fedora 11. The unfortunate part about installing Fedora this way is that it defaults to a GNOME desktop. Yes, true, you can select KDE from the installer but last time I did that I got a hodgepodge of KDE with GNOME apps everywhere. Even my network manager was a GNOME application.

Being very careful I inspected the package selections and tried to make this install as KDE-ish as possible. I noticed that even after selecting KDE as your desktop environment, Fedora defaults to installing the GNOME network manager so I deselected that and found knetworkmanager instead. I also added a few other programs, themes, icon sets, etc. that I thought would be useful. Finally I added Armacycles Advanced for install, because honestly it’s great.

If you haven't played it DO IT NOW

If you haven't played it DO IT NOW

Hitting Next the install began. 2,074 packages and counting…

A quick reboot later and I was presented with the install and configuration wizard where I set up my user accounts and system date & time. The install was a success.

Not Problem Free

My install, while complete, is not without its fair share of problems. The graphics module that I had been using with great success under Fedora 11 is just not present in Fedora 12. I googled the problem and it seems that they have yet to release a version for Fedora 12. Without proper graphics drivers my system stability is suffering greatly.

In addition KPackageKit is incredibly slow for some unknown reason. It’s slow to launch, slow to respond, and slow to close. I hope this is something that can be rectified shortly.

Other than that I don’t really have many complaints. The boot time on this version of Fedora is much faster and I can only assume with the new 2.6.31.5-127 kernel that the overall hardware compatibility has improved as well.

Stay tuned for my first impressions in a later post.

My New Desktop

Here is my new desktop. If you look closely you can even see some of the graphical issues that plague my system.

Here is my new desktop. If you look closely you can even see some of the graphical issues that plague my system.




I am currently running a variety of distributions, primarily Linux Mint 17.
Previously I was running KDE 4.3.3 on top of Fedora 11 (for the first experiment) and KDE 4.6.5 on top of Gentoo (for the second experiment).
Check out my profile for more information.

Making glut.h work in Fedora 11

November 2nd, 2009 3 comments

As part of a computer graphics course I am taking at university I need to be able to develop C/C++ applications using openGL and the openGL Utility Toolkit (GLUT). I tried using many different C/C++ IDEs, including Eclipse, before I finally settled on MonoDevelop as my IDE of choice. After trying for some time to get this to work in a way similar to what I am used to on Windows, I finally gave up on the compilation errors and consulted the GOOG. As this all actually happened about 2 weeks ago I am a little cloudy where I discovered this tidbit of information but it turns out that even after you install freeglut through yum,

sudo yum install freeglut freeglut-devel

it doesn’t actually register the glut.h library correctly. Unfortunately due to the aforementioned registration issue, MonoDevelop was unable to load glut.h. I was able to rectify this by creating my own pkgconfig file, glut.pc, and placing it under /usr/lib64/pkgconfig.

Here is what I placed in my custom created glut.pc file that seemed to do the job:

prefix=/usr/include
exec_prefix=${prefix}
libdir=/usr/include/GL
includedir=/usr/include

Name: glut
Description: Mesa OpenGL Utility Toolkit library
Requires: gl glu
Version: 7.6.0
Libs: -L${libdir} -lglut
Cflags: -I${includedir}

So yeah, that’s it! This seems to be a very common problem so hopefully what I have described here works for you as well.




I am currently running a variety of distributions, primarily Linux Mint 17.
Previously I was running KDE 4.3.3 on top of Fedora 11 (for the first experiment) and KDE 4.6.5 on top of Gentoo (for the second experiment).
Check out my profile for more information.

Another kernel update, another rebuild of my kernel

September 29th, 2009 No comments

Seriously, this is getting annoying

And just when I thought it couldn’t get anymore annoying… it seems as though there isn’t a kmod-catalyst for the newest version of the kernel that I just got updated to. Which means either I get the new kernel or I get to keep my graphics. I think for now I will be sticking with the latter and only move up to the new kernel when there is a kmod-catalyst ready for me.

Day 12, my current software setup

September 12th, 2009 No comments

It has been almost half a month since the experiment has begun and I think everyone is just getting to the point where they can begin to be truly productive on their systems. As such I just wanted to share my current software setup, as is, and the replacements I am using for the proprietary software packages that I  would have otherwise normally used under a Window’s environment.

Operating System

As you may have already known, I have chosen Fedora 11 as my distribution for this experiment. While it was quite a rocky start, Fedora is proving to be a competent operating system and should fit my needs for the duration of the experiment.

Office & Word Processing

Fedora ships with OpenOffice.org 3.1.1 as its office suite. I have used OpenOffice.org in the past and have found it to be a adequate alternative to Microsoft’s Office suite if not without it’s own faults. Perhaps it is just my familiarity with Microsoft’s Office suite but I find OpenOffice.org to have many odd quirks. For example its ability to open but not save to Office Open XML (*.docx, *.pptx, *.xlsx, etc.) is rather frustrating. I think for the most part I am going to be using OpenOffice.org’s preferred format, the OpenDocument Format, but I have read numerous issues with this format as well. I guess time will tell if this is a good choice or not.

Moving forward I think I am going to be looking at alternatives to OpenOffice.org, such as AbiWord or KOffice, just to see if those work better for me.

E-mail Client

As on Windows I am using Thunderbird to manage my e-mail. What’s kind of weird is I can only seem to install the Thunderbird 3 beta version from my repositories. Again you can find my contact information on my page here.

Browser

This one was a really a easy choice for me. I have been using Firefox on Windows for a long time. Fedora allows me to run the most recent version which is 3.5.3 as of this writing. My browsing experience has not changed whatsoever from how it was on Windows.

Instant Messaging

On Windows I had been mostly using Windows Live Messenger. Now that I am on Linux I have tried various IM clients including aMSN, Kopete and Pidgin. Of the bunch I think Kopete has a lot of potential but I am sticking with Pidgin. It just seems to do everything and do it mostly right.

Music/Media Management

As an alternative for iTunes I gave Rhythmbox a go and was very impressed. Next I tried Songbird and while there isn’t much difference between the two players, I like the feel of Songbird better. For videos I am still trying to decide whether I prefer VLC or MPlayer. Like Rhythmbox and Songbird there really isn’t much difference between VLC and MPlayer.

Image Manipulation

I have never been a big Photoshop person so my needs in this category were pretty easy to meet. That being said I have settled on using both the GIMP and KolourPaint to fill in any gaps.

Development

In the past I have been primarily a Windows developer using tools such as Visual Studio to get my jobs done. I would be very interested in seeing how Mono development works on Linux but in the meantime I will be using Eclipse’s Java and C/C++ tools as my primary Linux development platform.

Torrents

Because there is no µTorrent support for Linux, except under Wine, I have decided to use the native client KTorrent for all of my torrenting needs! I find it to be very similar to what I’m used to on Windows so again this is a easy solution for me.

That’s It For Now

I’ll let you know if I find any better alternatives moving forward.

The trouble with patching your kernel to fix a problem…

September 7th, 2009 No comments

If you remember a while back I was having a world of trouble trying to get my ATi drivers to play nicely with my desktop effects. The end result was me having to patch and rebuild my kernel to make things work the way I wanted them to. Well today I applied some system updates and hidden among them was a kernel update. It turns out that applying this update really messed with my system. Thankfully I was able to fix it by running through the original processes again. Unfortunately I think this means that every time a kernel update come down the pipe I will have to repatch and rebuild my kernel again to get things to work…

Ah well. On the plus side this kernel update fixed a lot of my sound issues!

Fedora FAQ

September 5th, 2009 No comments

I just wanted to quickly mention this awesome website, http://www.fedorafaq.org/. While it only covers up to Fedora 10 most of what it says is still completely accurate. It has helped me quick a bit get my system up and running, most recently allowing me to use Window’s fonts in Linux!

How to add audio and video codecs to Fedora 11

September 3rd, 2009 3 comments

By default this distro does not support non-free codecs. After a quick google search I found this quick and easy solution to add audio and video codecs to my Fedora install. Thanks again Tech Jaws.

In a root terminal run these commands

rpm -Uhv http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm

and

yum install gstreamer-plugins-bad gstreamer-plugins-ugly

That should do it! Full MP3 support!

[UPDATE] I noticed that MP3 support wasn’t working in Amarok so after some googling I corrected this problem by also installing the following.

yum install libtunepimp-extras-nonfree
yum install xine-lib-extras-nonfree

The Fedora Megapost

September 3rd, 2009 2 comments

As I sit here writing this I am enjoying the more simple things in life. A fully functional laptop, graphical desktop effects, a strong network connection, decent battery life, and a touchpad that works completely. Ah, but things were never always this easy. No, in fact the last 3 days have taken me through a roller coaster ride of the high peaks and endless lows of my Fedora experience thus far. Allow me to take you through the story of how I got here, and hopefully this will help out people who aren’t quite here yet.

Painless Install

If there’s one thing I can say in Fedora’s favour its that the install went just perfectly. In fact the one part that I thought might be difficult, the partitioning, turned out to be the easiest. Fedora prompted me to select if I wanted the system encrypted via a checkbox or not and then if I wanted to review the default partition choices. Upon review the default partitions nearly matched the ones I thought I was going to create anyway. This includes an ext3 boot partition and an encrypted partition holding a LVM with the rest of my system partitions; an ext4 root and swap partitions.

On the next page I was able to select which software categories I wanted to install, and then customize exactly what that means. I chose to deselect GNOME and select KDE as my desktop environment. I also installed some software development tools, a web server (for fun), and SAMBA support to play nicely on the Windows network.

After entering a countless number of passwords, for the bootloader, the encrypted partition, the root account, and my user account, the system was finished installing and I was presented with my desktop! All told it too about 20 minutes to install – very quick and very impressive.

First Impressions

The K Desktop Environment (KDE) is something that I am very unfamiliar with. It took me about an hour to find my way around it and to be honest I hated it at first. I found it very clunky and some dialogue boxes were too small to show the text that they were trying to show me. Since then though it is starting to grow on me, though I am not sure if I would go with KDE over GNOME again in the future.

Now to Enable Those Fancy Desktop Effects I’ve Been Hearing So Much About

A simple check in the Desktop tab of the System Settings menu and Desktop Effects are enabled!…. COULD NOT ENABLE DESKTOP EFFECTS? If only I had known that this would be the start of all of my problems…

OK So Maybe I Need A Graphics Driver?

After poking around online for a while I finally gave up and just went to the ATi website and grabbed the driver from there. This graphical install was straightforward enough and when it finished everything seemed great! That is until I restarted and tried to turn effects on again. It turns out that there is a bug somewhere that freezes the system if hardware cursor is enabled, which it is by default. Disabling hardware cursor and enabling software rendering makes the system stable again, even with desktop effects, but causes graphics abnormalities around the cursor on the screen.

To enable the software cursor I first dropped down to the terminal from the login splash screen. To do this I used

Ctrl + Alt + F2

Next I logged in as root and changed /etc/X11/xorg.conf and added Option “SWCursor” “true” to the “Device” section as shown below,

Section “Device”
Identifier  “Videocard0″
Driver      “fglrx”
Option      “OpenGLOverlay” “off”
Option      “VideoOverlay” “on”
Option      “SWCursor” “true”
Option      “AccelMethod” “xaa”
EndSection

I also tried switching from OpenGL to XRender which seemed to fix things but its performance was all over the map, causing the system to slow to a crawl at times. -sigh- Guess I’ll just reinstall…

Round Two, Three, Four, Five, Six, etc!

I will skip through most of the 2 days worth of cursing that I went through to get everything set up correctly. Needless to say I tried everything from patching the kernel, to using open source drivers, to sacrificing a goat and nothing seemed to work. In the end it was a series of small steps that eventually led to my graphics card working. Here are some of the high points:

RPM Fusion

Following the advice of this FAQ over at FedoraFAQ.com, I used their community wrapped version of the ATi drivers that I had tried initially. Well at least I tried to, you see when I ran the following line it told me the package didn’t exist.

yum install kmod-fglrx

After more time spent googling I found out that the new name for it was ‘kmod-catalyst’, just like how ATi names it. It would have been nice for the authors at FedoraFAQ to update this in their old article but alas.

I patched and rebuilt the kernel and then rebooted. To my amazement my resolution was no longer very small. In fact I had my full 900p resolution! If that worked surely Desktop Desktop effects will as well! A quick jump to the Desktop settings tab and a check of the checkbox and I had effects up and running! Well… for about 20 seconds until my entire system locked up. Like, we’re talking a hard lock here. I couldn’t even kill X or drop down to the terminal to try and turn software cursor on. -sign- reboot and see if it worked? Nope, no luck there either. Well guess I will just reinstall then…

RPM Fusion Take Two!

After finishing the reinstall I found this new forum post with updated instructions. Great! I thought and followed them to the letter. Too bad this worked even less than before. Again I was forced to reinstall.

Skip All That Crap, Tell Us What Finally Worked!

Here is the process I took to get this to work, hopefully it will help some of you as much as it did me! I didn’t follow any particular instructions but rather mixed and matched ones that seemed to work. As such I don’t really know what each piece does but I have a general idea.

Step 1

Update the system, especially the kernel, to the most recent release.

Step 2

Bringing up a terminal I typed

su

To become the root user. Next I typed

yum install kmod-catalyst-2.6.29.6-217.2.16.fc11.x86_64.x86_64

This downloaded and installed the ATi driver catalyst kernel module for Fedora 11 x64. Next I shut down X using

init 3

Logging back into root I enabled the catalyst driver

catalyst-config-display enable

Finally I rebuilt the kernel so that it loaded the drivers correct.

new-kernel-pkg –mkinitrd –update $(rpm -q –queryformat=”%{version}-%{release}.%{arch}\n” kernel | tail -n 1)

Remember that’s two dashes before mkinitrd, update and queryformat! At this point you may have noticed that so far I am following the exact same process as I did during my first attempt with RPM Fusion. That is because this series of steps is the only one that gave me working hardware and good resolution.

OK So How Come It Worked This Time?

If you’ll remember it was at this point that when I enabled Desktop Effects my system would freeze up. setting Software Cursor in X seemed to fix this but caused other graphical issues. I managed to find this awesome post much later on in the giant Fedora Forum post that showed much promise. By opening a root terminal and typing,

aticonfig –set-pcs-str=”DDX,EnableRandR12,FALSE”

all of my problems were suddenly gone. Again that’s two dashes in front of set-pcs-str, not one! Now I’m not a rocket scientist but I think I just enabled random to make this work? :P This little line is a godsend. I was now able to enable full OpenGL graphical effects, including my desktop ones, without software cursor screwing everything up! Finally all of my countless hours of frustration paid off in spades!

Up Next: Full Touchpad Support

I honestly don’t even remember the whole process I went through to try and get my touchpad to support tap-clicking. My time spent on this task was intertwined between my time spent trying to fix my graphics issues. Needless to say all I had to do was verify that the synaptics driver was installed, it was, and then add this to /etc/X11/xorg.conf

Section “InputDevice”
Identifier  “Synaptics Touchpad”
Driver      “synaptics”
Option      “SendCoreEvents” “true”
Option      “Device” “/dev/psaux”
Option      “Protocol” “auto-dev”
Option      “HorizScrollDelta” “0″
Option      “SHMConfig” “true”
Option      “TapButton1″ “1″
EndSection

And then set up a terminal command to run on startup that executes the following line:

synclient TapButton1=1

So What’s Next?

Amazingly I think I am almost completely set-up and ready to start actually using my system in a normal way. My networking works, my graphics work, my audio works, it all seems to just work.

Are You Sure?

Well… there are two little annoying things.

Network Manager and KWallet

The first time I installed Fedora, a program called KWallet, the KDE password manager, stored my Wifi password perfectly. Now however for some reason it is not storing the password at all which forces me to enter it every time I want to connect to the network. This is incredibly annoying and should be an easy fix but I just cannot seem to find a way to make it start remembering my password! If anyone knows how to make it suddenly smarten up please let me know!

Kopete and Webcam

I never had any reason to use a webcam in an instant messenger however while poking around inside of Kopete I did notice that it seemed to support it. So I hopped on MSN and attempted to test this capability. Only… I can’t find the button to send or receiver webcam invites anywhere. Does Kopete just not support MSN webcam? A quick google search seems to claim it does… Again if anyone knows the answer to this or how to make it work please post a comment. :)

Conclusion

Sorry for the long post but I figured I might as well catch up on everything I had missed writing in the past couple of days. Here is a picture of my desktop just to prove it actually works as promised :P

My Desktop

My Desktop