March 2nd 2010
I have searched for a 3D game on Linux and found this nice flight simulation. In Gentoos portage tree there is only an old version avaiable, so I wrote an ebuild for the new version. It compiles fine on my computer wth 64bit Gentoo – Linux.
The Power of my graphics board (nVidia Corporation Quadro FX 360M) seems to be enough for this simulation. The control is not easy, but with some time, you can fly around, like in a real aircraft.
What is FlightGear?
The FlightGear flight simulator project is an open-source, multi-platform, cooperative flight simulator development project. Source code for the entire project is available and licensed under the GNU General Public License.
HowTo install on Gentoo:
Download flightgear-2.0.0-stereoscopic_overlay.tar.gz (9977 downloads ) file which include the ebuilds
cd /usr/locale/portage
tar -xzpvf ~/flightgear-2.0.0-stereoscopic_overlay.tar.gz
Then you have to unmask the ebuilds in /etc/portage/package.keywords :
=games-simulation/flightgear-2.0.0 **
=dev-games/simgear-2.0.0 **
=dev-libs/boost-1.37.0-r1 **
=dev-util/boost-build-1.37.0 **
=media-libs/freeglut-2.6.0 **
now you can ’emerge =games-simulation/flightgear-2.0.0′
Have fun
Xexplorer
UPDATE 04.03.2010:
Now it´s in portage, with two different lines. First of all I found out that freeglut 2.6 is needed for flightgear, so I put it in the ebuild. And the second is a patch witch is needed if you don´t use freeglut 2.6. So I think my choice is the better way.

Loading...
Posted in 3d, fun, gentoo, linux | 3 Comments »
January 18th 2010
On a gentoo system you may get the error
QA Notice: Package has poor programming practices which may compile but will almost certainly crash on 64bit architectures
during emerge. This is usually a wanted behaviour since one does not want to have broken packages installed, but sometimes you may want to decide yourself or you need the program and can live with crashes that may occur under certain circumstances. As far as I know portage does not give us an easy method to override this.
You may change this behaviour by changing line 477 in /usr/lib/portage/bin/misc-functions.sh to i.e.
if [[ ${abort} == “disabled” ]] ; then
After emerging the brocken package you usually want to change the line back to
if [[ ${abort} == “yes” ]] ; then
to prevent having broken packages on your system without knowing about it.
Hoping this information is of some help.
Jürgen

Loading...
Posted in gentoo, linux | No Comments »
January 14th 2010
One year ago I provided a gentoo ebuild for mplayer which included support for quad-buffered stereo, enabling mplayer to display stereoscopic movies like the great movie Avatar3D I watched in cinema today. To learn more about the movie look here and here. Sadly the patch I referenced there does not apply over newer mplayer versions. So I had to modify the original patch from Stuart Levy to work again with newer mplayer versions. You may download the updated patch from here:
mplayer-stereoscopic.patch (6435 downloads )
New version available!
The patch should work at least with nvidia quadro boards, probably with some others. It can be used with CRT and generic shutter glasses or HMDs like the Vusix VR920. Some stereoscopic sample movies for trying it out can be found on www.3d.wep.dk.
For Gentoo users I also modified the mplayer ebuild from portage to include the patch. The modified ebuild is available here:
mplayer-1.0_rc2_p28450.ebuild (9378 downloads )
New version available!
The older ebuild is still available on mygnu.de.
To use the ebuild it just copy it to /usr/local/portage/media-video/mplayer and copy the the patch to the “/usr/local/portage/media-video/mplayer/files” directory. You probably have to create these directories. Then run
ebuild /usr/local/portage/media-video/mplayer/mplayer-1.0_rc4_p20091026-r1.ebuild digest
Be sure to include the following line in your /etc/make.conf.
PORTDIR_OVERLAY=”/usr/local/portage”
Then just re-emerge mplayer.
Now start mplayer with -vo gl2:stereo and enjoy the experience in the 3rd dimension again.
Jürgen

Loading...
Posted in 3d, gentoo, linux, multimedia | 9 Comments »
December 6th 2009
After upgrading my system from libsmbios-2.0.3 to libsmbios-2.2.19 my scripts for setting up wireless failed. After a short search on dell linux wiki I found out, that some Scripts have got a new name. So dellWirelessctl is now smbios-wireless-ctl. The usage seems to be the same.
What is libsmbios?
It is a cross OS library intended to be used to obtain common information available in BIOS using a unified API. Currently, it can programmatically access any information in the SMBIOS tables. It also has the ability to obtain Dell system-specific information such as the Dell System ID number, service tag, and asset tag. Future plans include APIs for $PIR, and mptable mapping.
If you want to know more about libsmbios, have a look at http://linux.dell.com/libsmbios/main/cmdlinetools.html
I hope this information is useful for you
best regards
Thorsten

Loading...
Posted in gentoo, linux | No Comments »
December 3rd 2009
Today I found this petition for Gimp. Have a look and support gimp. It seems that gimp should be removed from the next ubuntu release. There for have a look at Bring Out The Gimp petition. Below is a copy from this site. Now Sign the Petition and stay tuned.
To: GNU/Linux major distributions
We, the undersigned, kindly ask all major distributions not to cripple their release CD’s by removing important applications like OpenOffice.org, GIMP, and others.
These applications may have their set of problems. Granted. Let’s work on them as well.
However, removing such important applications in order to save space for any “current trendy application” just because said application depends on bloated, problematic and polemic runtime environments reveals a worrysome mindset: form over substance.
If the functionality said application provides, is also provided by another application which is far leaner, then please fix the problems with the leaner applications rather than removing important applications such as The GIMP.
Sincerely,
The Undersigned

Loading...
Posted in graphics, linux | No Comments »
October 11th 2009
Today I patched the brand new zen-sources-2.6.31-r2 with tuxonice. Again it required the modified tuxonice patch of my last ebuild.
Suspend to RAM works at least on my Dell Precison M65 as well as suspend to disk does.
Download the zen-sources 2.6.31-zen2 patch here: zen-sources.org. Then apply the patch to vanilla kernel sources. Afterwards download my modified tuxonice patch from here: . Then apply it.
For Gentoo users there is a more easy way: Download my modified overlay (including the patches) from zen-sources-toi-2.6.31-r2.tar.bz2 (6885 downloads ) and extract it in /usr/local/portage. Be sure to include the following line in your /etc/make.conf:
PORTDIR_OVERLAY=”/usr/local/portage”
Then emerge zen-sources-toi and buld the kernel as you wish.
Tuxonice is not officially supported in zen-sources. So If you’re using the files above, don’t report any bugs to zen-sources.org. You are on your own.
For my Precision M65 I used the following kernel config: kconfig_zen-sources-toi-2.6.31-r2-precision_m65 (8207 downloads )
All Information regarding the iwl3945 driver, the aha152x pcmcia scsi card and cpu undervolting in my last post on zen-sources-toi still apply to this version.
For more information on the zen-sources patchset see www.zen-sources.org.
best regards
Jürgen

Loading...
Posted in kernel, linux, zen-sources | No Comments »
October 9th 2009
The iptables mirror target I published here does not work anymore with kernel version 2.6.31. You can download the newer version for 2.6.31 and probably future kernels here:
To build the module, boot the kernel you want to use the module with. Afterwards unpack the archive, run the compile.sh script and the install.sh script.
Now you may use the mirror target in place of the reject or drop target in the INPUT, FORWARD and PREROUTING chains, like this in your firewall script:
$IPTABLES -A INPUT -j MIRROR
Beware: The use of the mirror target may have strange results, i.e. if you want to connect to the iptables protected machine, you may end up connecting to the local machine without recognizing it. It also may use much bandwith. Worst case: if you have two machines using this module they may end up playing pingpong. So you have been warned, use with caution and at your own risk. For more information see: MIRROR target.
Downloads for older kernel versions are below. Notice the version numbering 2.6.25 works for kernels up to 2.6.27. 2.6.28 also works for 2.6.29 and 2.6.30 kernels.
These versions do not work with 2.6.35 kernels. See iptables mirror target for kernel version 2.6.35 for the newer one.
regards
Jürgen

Loading...
Posted in kernel, linux, security | 3 Comments »