Ratonland Menu
Login
|
| Git | | Posted by bleader -- Friday 09th of July 2010 23:23:39 PM | I installed a git server on ratonland, and tried to put my projects on it.
I also added a cgit web interface to browse the repositories... | | -- 0 comments -- |
| RC | | Posted by bleader -- Friday 09th of July 2010 23:14:56 PM | Aka Racon Calculator, it's a simple RPN (Reverse Polish Notation) calculator writen in python, inspired by dc.
Features:
- RPN stack based principle
- 0b for binary input
- 0x for hexadecimal input
- hex, dec, bin modes for output
- conversion of top value in the stack to current base
- power with ^
- bit operation: | & >> << xor
...
There still are missing features, I hope to complete this later on.
>> Project's git page | | -- 0 comments -- |
| auto* tools | | Posted by bleader -- Friday 09th of July 2010 09:51:34 AM | An article summing up what we're quite a lot to think about auto* tools:
here. | | -- 0 comments -- |
| Avis aux utilisateurs de ratonland | | Posted by bleader -- Monday 12th of April 2010 00:56:32 AM | Oyé Oyé, gentils utilisateurs !
J'ai fait pas mal de modifs au niveau du serveur web de ratonland, normalement tout devrait marcher comme avant.
Seul hic probable pour les utilisateurs du https, vous allez devoir revalider le certificat vu qu'il est nouveau. Rien de bien méchant.
Bien entendu j'ai fait des tests, mais ai pu rater quelquechose, si jamais vous voyez un problème n'hésitez pas a me prévenir a tout moment (mail, msn, irc, sms, tout est bon), j'essaierais de rétablir au plus vite.
Pour information, la galerie nouveau cru est arrivée, et je compte bien essayer d'y mettre les photos du japon au fur et a mesure
| | -- 1 comments -- |
| Git tools | | Posted by bleader -- Tuesday 23rd of March 2010 16:52:12 PM | Some time ago, a colleague showed me the egg-mode for emacs. Which is obviously extremely achieved emacs mode to play around with git.
But as I'm not using emacs, I searched for something to cope with the lack of something like this and I came across git-cola. It is indee a good and very uselful tool, but is GUI based, which isn't the best solution when you're almost only using shells all day long.
I used it for a while, but today I've been pointed to tig and fell in love, very powerfull tool in ncurses, lovely. | | -- 0 comments -- |
| Multi-clip | | Posted by bleader -- Friday 09th of July 2010 22:53:46 PM | Language: Shell Script
Dependancies: xclip, dmenu
Version: 0.2
This tool was inspired by xclipboard and GNU screen's readreg feature.
The objective is to allow one to switch easily between multiple X clipboards content easily. You can store what is in your current clipboard by using the put command, give it a name, and it will be stored in the folder you specified. Through the use of the get command you can switch back to older buffers you saved. As it's using files to do so, you can find back things after reboot, or even edit them through your favorite text editor.
>>> Download
>>> Project's git
| | -- 0 comments -- |
| Linux Open Source Radeon driver | | Posted by bleader -- Thursday 21st of May 2009 12:21:31 PM | For those of you who are just interested in the explanation and configuration just jump to the next part :)
Last month, ATI released their 9.4 catalyst drivers with one new thing for me: they dropped the support for most card up to radeon 1950. This means no new drivers for these cards, the 9.3 is the legacy support. Sad thing in this story ? Xorg is constantly changing, the kernel too, changing APIs between releases, thus the new Xorg server isn't compatible with older releases.
Of course all new distribution are switching to this Xorg version. Ubuntu (which I'm running on my main computer) switched to it in 9.04, therefore to update my linux and keep something running I had 3 possibilities:
- Use vesa driver
- Change my video card
- Switch to open source driver
Of course vesa isn't a solution at the resolution I'm using the display will be reaaaaaaaally slow. I already spent enough money lately not to feel like changing graphic card (well, of course I had a look and was thinking about it, but I'd rather not).
So the only option left was to get rid of the fglrx (ati proprietary driver), and use the open source one.
That's where it became tricky.
Switching from fgrlx to radeon(4).
Unfortunatelly I fiddled quite a bit to make this happen and didn't write down every steps I did, but I'll try to write down as many information as I can. One main problem I encountered is that all tutorial to do this out there are assuming you're using fglrx packages from your distribution. I've never done this, got used to build it myself from ATI installer and that's it.
So first things first, you can't have loaded the fglrx kernel module at any time, otherwise the radeon driver won't get you accel. Therefore you need to make sure that every single place in /etc/modules /etc/modprobe.d aren't loading fglrx at boot time (check /etc/rc.conf in Arch, modules section may load it too).
I actually blacklisted it in /etc/modprobe.d/blacklist.conf.
The next problem is that the libGL.so used is the one from the fglrx driver.
Some people are saying you can just remove those in /usr/lib/xorg and this will do, unfortunately, it didn't for me, those in /usr/lib were also from fglrx. Note that this may be coming from older installation, the original installation of this ubuntu goes back 3 years, and I've always installed fglrx manually, one can hope this won't be needed for most people.
To resolve this issue, I have to reinstall mesa packages to be sure it would overwrite this file, now that everything is find I can use dpkg to find out where this is coming from:
bleader ~ % locate libGL.so
/usr/lib/FGL.renamed.libGL.so.1.2
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2
bleader ~ % sudo dpkg -S /usr/lib/libGL.so.1.2
libgl1-mesa-glx: /usr/lib/libGL.so.1.2
In order to reinstall this I issued:
sudo aptitude reinstall libgl1-mesa-glx
To check that things are working just issue:
glxinfo | grep -i direct
If you get a No, you can run:
LIBGL_DEBUG=verbose glxinfo
And try to debug it for yourself, that's how I found that libGL.so was trying to load unknown symbols, meaning in my case that it was fglrx version. At this point patience, luck and google are your best friends to get around this issue.
This being done you can change your /etc/X11/xorg.conf, by replacing:
Driver "fglrx"
By:
Driver "radeon"
Now for the options of the radeon(4) driver, I played around a bit and ended up with these:
Option "AccelMethod" "EXA"
Option "ColorTiling"
Option "EXAVSync"
Using theses let me get Xv video smooth without tearing, even with 1080p in fullscreen. While reading around the web about the configuration I also saw people advertising these options:
# Option "XAANoOffscreenPixmaps"
# Option "AccelDFS" "off"
# Option "EnablePageFlip"
I cannot recall exactly all details, but AccelDPS off was getting my X some kind of laggish rendering, like switching from one window to another was actually done as usual, but the visual feedback that it happened was taking some time, and one or both of the other was making my Xv video playing horribly slow. That's why I left the # in front of the line to avoid.
Well I hope this little piece may someday help someone switching to radeon(4) too!
| | -- 2 comments -- |
| Sound strangeness | | Posted by bleader -- Sunday 08th of March 2009 18:31:03 PM | A few "tags" if I can call them like this so google index help people with this kind of trouble finding this post:
alsa raw decode no sound fix asound.state iec958
--
I don't use it very often on my main computer, but sometimes, to watch DVD when I have trouble with mplayer crashing, or want to use the menu, I use XBMC.
As my sound system is able to decode AC3 and DTS sound stream, I switch XBMC to raw output so the sound system will decode the stream itself. The main problem is that XBMC isn't stable at all here, and it does crash most of the time when playing around with DVD (which I should try to remember for next time, no use in trying something that won't work anyway).
The main problem here, is that XBMC does change something in my ALSA settings and when it crashes, I end up with no sound because music, online videos and such are not in these formats, and should be encoded before being sent to the sound system... It seems that these settings are NOT all possible to change using the tools to configure your sound card, and it then become impossible to get sound except if I can overwrite alsa's sound states with a backup that I do have at hand...
The main point of this post is for myself to have a place to find out where this file is on ubuntu:
/var/lib/alsa/asound.state
I always end up searching for .conf files, or *alsa* and so on and spend half an hour pulling my hairs out searching "how did I fix this last time it happened?"
And maybe this can be handy to someone getting in the same kind of troubles as me. | | -- 0 comments -- |
|