Friday, October 17, 2008

Another rebuild

I've been working on my development machine to get it the way I wanted. When I started working on the GIO functions of gnome-mplayer I needed to upgrade to Fedora 9 so that I could get the libraries. It was working ok, but what I really wanted was to run in 64bit mode on my machine, since I do have 4GB of RAM and a 64bit CPU.

So I reinstalled the x86_64 version of Fedora 9. However, I still wanted to be able to run a few 32bit apps. One is my scanner driver and the other is mplayer. The 32bit version of mplayer has a few more codecs than the 64bit version so I wanted to have that. My first test was to get everything I needed from livna and setup the basics. I decided that I would first install mplayer.i386 from livna to make sure I had all the right basics. To do this I had to edit my fedora, fedora-updates and livna repo files. I copied the base setup to a new [fedora-i386] for example and then made sure I was getting the 32bit files. I then installed mplayer.i386 and mencoder.i386. I then rebuild gnome-mplayer in 64bit mode and made sure that all that was working.

So far my 64/32 setup is working ok. And it already helped me fix a minor install bug in gecko-mediaplayer.

Tuesday, September 30, 2008

Trying dual display

When I got my last video card I wanted to make sure I got one with two DVI ports on it, so if I ever wanted two work with two displays, I would be ready to go. Well my wife got a new display for her laptop and I so I stole the LCD off of her desk and stuck it on my machine.

Having the two displays is nice, but it is taking some getting used to. So far I think I like it and am going to stick with it.

gnome-mplayer 0.8.0 and gecko-mediaplayer 0.8.0

Both gnome-mplayer and gecko-mediaplayer 0.8.0 have been released. There are several great improvements to gnome-mplayer. The changes to gecko-mediaplayer were minor but it was released to keep version sync.

Enjoy

Tuesday, September 02, 2008

Nailer aka MPlayer Video Thumbnailer at Google Code

I have created a new Google Code project called mplayer-video-thumbnailer. This project holds the code I developed called nailer.

You can find this code at: http://code.google.com/p/mplayer-video-thumbnailer/

Thursday, August 14, 2008

Getting ready for 0.7.0

I'm about ready for the next release of gnome-mplayer and gecko-mediaplayer. Both are looking pretty solid at this point. Again gnome-mplayer has had the larger amount of changes and it getting to be a very solid media player. Pretty happy with how it is turning out.

So hopefully the new one will be out on Aug 15th.

Monday, July 14, 2008

New home pages for gnome-mplayer and gecko-mediaplayer

Due to my home server having to be shutdown. I've setup home pages for my projects at

http://kdekorte.googlepages.com

So there you should find the pages for gnome-player, gecko-mediaplayer, nailer, sunflower-applet and grandr-applet

Wednesday, June 18, 2008

T60p battery life

I was able to get over 4.5hrs on my T60p the other day. That is fantastic for the laptop. The other part is the laptop appears to be running much cooler under Fedora 9 than my previous setup. About 5-10C cooler which for a laptop is a lot.

Tuesday, June 17, 2008

Fedora 9 on my T60p

My T60p is a machine provided by my employer and it had been running Fedora 7 and then I yum upgraded to Fedora 8. Some of the things on it were not working as best as they could, like the screen saver and such. So I decided to do a clean install of Fedora 9.

I got the DVD and reinstalled, formatting the / and /boot partitions and leaving the /home partition mounted by not formatted (don't want to lose my data). Prior to doing all this I got all the packages I needed to get on the VPN so that I could connect to my office and get the additional tools I needed as well as a few config files.

The reinstall went quickly and then I had to install about 400MB of post Fedora 9 patches and another 400MB of tools for work. The only gripe I have about the install is that I did have my network activated during install, why could of the updated packages not have been installed at that point, anyway, minor nit.

All in all about 3hrs later I had my laptop working with VPN and connection to my office and I was able to get on our email system and get my mail. I then grabbed a couple of other apps and then got VMWare working (needed the vmware-any-any 117 patch). After that I added my acpi scripts and everything was working fine. 3d is not working on the machine since fglrx does not work with Fedora 9 yet and the r500 drivers have not been pushed to updates yet. I understand that they are in queue, just waiting for a bit more stabilization. Everything else on the machine is working except for the dialup modem, but I think I would have to be really desperate to have to resort to that.

I was able to use my laptop on battery for about 2.5hrs the other night which is not bad and the meter said I still had about an hour of battery left. The other thing is while I was on battery the machine was VERY cool. And in fact the machine seems cool even when plugged in. Which is nice as a hot laptop is a pain. The machine is a dual core (2.16Ghz) with 3GB of RAM in a < 1" slab so to even be slightly warm is something short of a miracle.

So to completely reload a machine from DVD and have it all updating and working in about 4-6hrs is pretty great. I've very sure I could not have done that with a Windows box. And remember with Windows you still have to install Office and all that other stuff, where with Fedora it comes as part of the install.

Thursday, June 12, 2008

Thinkpad T60p acpi script

This is the script I use on my T60p (2007-AD1) to get the most out of my battery life. With this script in place, I can get about 375-4hrs off of my battery.

/etc/acpi/actions/battery.sh

#!/bin/bash
state=`grep on-line /proc/acpi/ac_adapter/AC/state | wc -l`
if [ $state -gt 0 ]; then
hal-disable-polling --device /dev/scd0 --enable-polling
echo 0 > /proc/sys/vm/laptop_mode
echo 0 > /sys/devices/system/cpu/sched_mc_power_savings
hdparm -B 128 -s 0 /dev/sda
echo 499 > /proc/sys/vm/dirty_writeback_centisecs
for i in /sys/bus/usb/devices/*/power/autosuspend; do echo 0 > $i; done
ethtool -s eth0 wol g
echo 0 > /sys/module/snd_hda_intel/parameters/power_save
echo enable > /proc/acpi/ibm/bluetooth
echo max_performance > /sys/class/scsi_host/host0/link_power_management_
policy
else
hal-disable-polling --device /dev/scd0
echo 5 > /proc/sys/vm/laptop_mode
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
hdparm -B 1 -s 12 /dev/sda
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
killall beagled
for i in /sys/bus/usb/devices/*/power/autosuspend; do echo 1 > $i; done
ethtool -s eth0 wol d
echo 1 > /sys/module/snd_hda_intel/parameters/power_save
echo disable > /proc/acpi/ibm/bluetooth
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
fi


And of course the config file in /etc/acpi/events/battery.conf

# Configuration to turn on DPMS again on video activity, needed for some
# laptops. Disabled by default, uncomment if your laptop display stays blank
# after you close and open the lid.

event=battery.*
action=/etc/acpi/actions/battery.sh


Album Art

I was interesting in putting some album art for music files into gnome-mplayer but I have not found any good C libraries to do that. So if anyone has any pointers I'll look into them. I think Amazon my have a developer program for searching images, but I'm not sure I could distribute that with gnome-mplayer. So I'm looking for a GPL way of doing this.

I've thought about doing a screen scrape of google images, but a little concerned about that.

Saturday, May 24, 2008

Catalyst 8.5 on Linux aka fglrx

Well I just upgraded to the Catalyst 8.5 drivers on Linux and they say that 2d should be fast. I ran a gtkperf test and the change was negligible.

So if you are expecting a big speed bump, I would lower your expectations.

Tuesday, May 20, 2008

Sprint Unlimited Plans

Well I read a rumor today that Sprint was eliminating the Unlimited part of its broadband access cards Terms of Service. I REALLY hope this is not true since we don't have a lot of choice for internet. And the Sprint broadband card is the best way to get on the net.

Saturday, May 17, 2008

Application idea

I have an idea for some software that would be cool eye candy I think, but I don't have time to learn how to do it. But I think it would be something cool to implement.

Anyway, the idea is to take the Mac dock and the Nautilus desktop and merge the eye candy. As you mouse over the icons on the desktop, they get bigger and the other icons move out of the way, like the icons on the Mac dock.

I think that clutter could be used to complete this pretty easily.

Any takers?

Gnome MPlayer - Next

I added a feature to the DVD w/ menus playback yesterday that adds a menu button to the panel buttons that if you click this it takes you back to the main DVD Menu.

I also found that the latest svn of libdvdnav and mplayer don't get along. I've found that libdvdnav r1031 is the last one that works properly with mplayer if there is an error in the dvd audio decoding.

I think I'm getting close to wrapping up this next version of Gnome MPlayer.

Picked a camera

Since my Kodak camera broke I did some research on cameras out there. I liked the Canon SD890 (as seen on the web) but nobody at the big box stores had one. So we looked at a few and found the Olympus Stylus 1010. The price was ok, the zoom lens was huge at 7x and 10mp was right where I wanted it. The size of the camera is great as well, with it being about the size of my cell phone. So far the few pictures I have taken with it have come out well. I'll take it out to the house later today and take some outdoor pictures with it.

Thursday, May 01, 2008

Sticking with the Asus EAH3650 Silent Magic

So after a few days of working with the card and the drivers I think I got a good solution here. Driver installation was painless and the quiet of the card is great. The heat from the card raised the temp of the box about 10 degrees F, but I was able to mitigate that by installing a small case fan that came with the case (Antec NSK1380). I still would like to avoid putting in the case fan. The machine with the fan runs at 49C/120F and 55C/130C without the fan. The fan is quiet enough that I can ignore it especially with a radio playing. I hear the Thermaltake Slot Fan only runs at 21db, so maybe next time I order something from NewEgg, I'll get it.

Tuesday, April 29, 2008

gtkperf -c 500 -a on the 3650

gtkperf -c 500 -a
GtkPerf 0.40 - Starting testing: Tue Apr 29 10:56:16 2008

GtkEntry - time: 0.09
GtkComboBox - time: 4.44
GtkComboBoxEntry - time: 3.42
GtkSpinButton - time: 0.86
GtkProgressBar - time: 1.01
GtkToggleButton - time: 1.44
GtkCheckButton - time: 1.21
GtkRadioButton - time: 1.43
GtkTextView - Add text - time: 5.38
GtkTextView - Scroll - time: 3.75
GtkDrawingArea - Lines - time: 1.45
GtkDrawingArea - Circles - time: 318.11
GtkDrawingArea - Text - time: 45.02
GtkDrawingArea - Pixbufs - time: 4.13
---
Total time: 391.73

Other than the Circles and Text results, this is one of the fastest results I've seen on my machine.

Test machine: 2.4 Ghz Q6600, 4GB RAM, Asus P5e-VM motherboard, Asus 3650 Silent Magic, fglrx 8.476, Fedora 8

Video Cards and Fedora 8

So as you know I've been having some issues with the Intel G35 video chip and Linux. So after thinking about it, I figured I should just get a real video card anyway. So I first ordered a Sapphire 2600xt card from NewEgg. Got the fglrx drivers from Livna and things were going well. Card is fast and responds well and the drivers even work ok. One problem however, the fan on the card is super loud. I have a small and quiet machine and the fan on the video card could be heard in the next room. Totally unacceptable for the goal of a quiet PC. So I did something I hardly ever do and I returned the card.

Next, I decided to stick with an ATI chip since I got burned on my last nVidia card (GeForce 3 Ti200). nVidia dropped support for that chip and basically turned a decent video card into junk. So I decided on the Asus 3650 Silent Magic card. Now specwise this card is a little slower, however in my testing with Extreme TuxRacer the card actually gives a better FPS than the 2600xt. SecondLife, the other big 3d app I test with still gives a great picture. The added benefit of the card... 0 noise, sure it takes up a second slot in my machine, but the board I have has just about everything I need on it and there are only 4 slots anyway. The card takes the PCIx16 and PCIx1 slots. I have a PCIx1 and a PCI slot free on the machine. About the only thing I could think of using the slots for would be a video capture card. And I think an external USB one, might be a better choice. My only concern at this point is the extra heat in the card from the video board. I might be able to move around some cables inside to help the airflow. I'm hoping that ATI will enable powerplay in the drivers for the board.

glxgears: ~6600fps
quake3: 90fps (it never goes above or below and I'm running 1280x1024 with triliniar filtering)
etracer: ~150fps
secondlife: recommended settings (bar is on level 3 of 4)

I am disappointed in the Intel video support since the motherboard I picked up, I specifically got for the G35 chip on it. So I could have saved a couple of bucks and got a motherboard with fewer features. I will admit that I am pleased with the Asus product's I've gotten. The motherboard is an Asus P5E-VM HDMI.

So I'll do some more testing with this video card and let you know how it goes.

Thursday, April 17, 2008

Frustrations with the Intel G35 chip

Well, I think I've had about enough with the Intel G35 chip under Linux. I've installed drivers from git and used the prepackaged drivers with Fedora are full of problems as well. So I've ordered a ATI 2600XT card and am gonna try it with the fglrx driver. I'm currently running fglrx on my Thinkpad and the 3d experience is pretty good. So hopefully the free drivers will get there. But after 2 months of problems with video issues, I've had enough and gonna try another chipset.

Monday, April 14, 2008

Intel G35 chipset on Linux

Holy cow I've been having some issues with the Intel G35 on linux. Especially with 3d code and screen corruption and crashing. After a lot of git pulls I finally have a setup that actually works to my expectations.

As of today I did the following

pulled drm from git, compiled and installed and thing compiled and installed the linux-core subdirectory as well

pulled mesa from git master compiled and installed

pulled xserver from git master and compiled and installed with these options
./configure --prefix=/usr --with-mesa-source=/home/kdekorte/cvs/mesa/ --with-dri -driver-path=/usr/lib/dri --enable-builtin-fonts

pulled xf86-drv-intel from the 'origin/intel-batchbuffer' branch and then compiled and installed with these options

./configure --prefix=/usr --with-xserver-source=/home/kdekorte/cvs/xserver

After all that googleearth, etracer and quake3 all work as expected. And reasonably fast. Quake gives me 90fps and for some reason I think it could give more. etracer is in the 20-25 fps range.