admiral0's blog

admiral0's blog

Linux, music and poetry

Switchable patch submitted

December 23rd, 2011

Well, this action is done. I’ve added 1 thing to it, the ability to cancel a switch. The usual screenshot:

Now, let’s give tribe (chakra installer) some love.
:D

=-=-=-=-=
Powered by Blogilo

Switchable Graphics almost ready (patch available)

December 20th, 2011

After some talk with dario (cool guy btw), i’ve changed some things in the management of switchable graphics and it’s almost ready for inclusion in KDE.

Here are the things that stop me pushing code for review:
  • code cleanup (i just cleaned it up from debug swears :) )
  • astyle run (if i submit this, kde dudes laugh in my face)
  • 2 icons, 1 for switchable graphics and one for gpu.
  • translations?
For those impatient to try it even if it may eat your hamster alive:
git clone git://anongit.kde.org/kde-workspace.git
cd kde-workspace
wget http://dl.dropbox.com/u/5225087/0001-Added-switchable-graphics.patch
git apply 0001-Added-switchable-graphics.patch
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
cd powerdevil
make
sudo make install

And here goes the result

=-=-=-=-=
Powered by Blogilo

Switchy 2

December 14th, 2011

As i said in the previous post, good news are coming.

Switchy is a solution that already works for switchable graphics, but it’s somewhat clumsy to use. To have it running successfully you have to edit fstab and add entry for debugfs. Also it’s fully manual(did not integrate with any DE).
Well here is the future:
In case you’re asking i’ve got almost working code that handles everything automagically, mounting debugfs included. Code needs a lot of polishing and some bits for the 2 options to work. But how do they work?
If action is enabled (first checkbox) the unused graphics card is powered off on profile activation. (DONE)
You can select the gpu to activate on profile activation. This performs a lazy switch. That means that if you have to restart X11 the switch is performed after logout, otherwise switch is performed silently.
If “Propose GPU switch” is checked, on a switch that requires logout/login a notification is fired proposing a logout.
So switchy 2 will be basically the same in the UI, but will use the new interfaces.
I’d like to thank drf that showed me how KAuth and PowerdDevil work, and now i’m back to coding.
PS. I got accepted in QtonPi Device Program. SDK for archlinux will be there soon.

=-=-=-=-=
Powered by Blogilo

I’m back

December 9th, 2011

After 1 year of silence i’m gonna blog again.

Not that i did nothing this time:
  • Wattson plasmoid
  • Switchy (Shortly news)
  • Some minecraft tests (hopefully i’ll release something soon)
  • I am now a Chakra Linux dev
Expect fresh news soon :)

=-=-=-=-=
Powered by Blogilo

November 11th, 2010

I have made some tests comparing mesa and gallium code for my ati card. Well, classic mesa definetly looses as doesn’t render textures right. For example frogatto doesn’t run under r600c, but runs well under r600g. Urban terror has no textures and 56fps with r600c, with r600g it gives me a nice GPU hung(it’s a regression, i had it running *with* textures some weeks ago). And finally i can play ut2004 with my powerful ati card. Wow finally!

Thoughts on network management

November 3rd, 2010

Managing network is not easy from computer’s point of view. There’s little automagic to do. But most folks don’t get it and try to automate the hell out of it.
We have the Network Manager example of how NOT to do a network manager. It fucks up what you do in console, does a lot of stuff without even telling you wtf is it doing. Otoh it has good support for 3g dongles and has a neat interface in gnome.

So what should a network manager do?
* Connecting to wireless
* Connecting to 3g
* Connecting to Vpn
* Sharing connection(ethernet, wireless)
* Setting up a quick local network (gaming, lan parties)
* Choosing default route
* Choosing global dns
* Notify about network changes (disconnected, connected from console and so on)
* Wireless link in gui

So if you’re wondering, they’re all features i plan for netcfgfx, and this network manager won’t be archlinux only. Stay tuned

Aggiornamenti Identi.ca del 2010-10-16

October 16th, 2010
  • double the gun, double the fun… #
  • @desaparecido !drivel segfaults to me :( #
  • drops dead… #
  • Mono addons for git, quote:
    well, we already have “git, only slower”
    it’s called mercurial
    so there’s no demand for git# #
  • @mpwoodward then you’ll get kicked in the head when noticing unity’s slowness. (i own too a 1000HE). easy-peasy is the way. #
  • @mpwoodward you need to clean after install. remove CShit(libmono) and install shotwell instead of picasa (winelib app makes tux sad) !linux #
  • @mpwoodward easy-peasy installs picasa instead. If on 10.10 try 2D launcher in efl, gorgeus but not complete. #
  • @titanioverde unfortunately such “geniuses” exist. #
  • What is simplest distro for netbooks? (My gf will use it so no archlinux/gentoo). Netbook with slow graphics so no 3d please (no UNR) !linux #
  • @hardisk what is special about it? #
  • @titanioverde honestly i see no future in chrome Os and jolicloud #
  • @headphonica hehehe, if i put that my gf gets really angry… she doesn’t enjoy minimalism #
  • @imag1narynumber salix looks nice indeed. I’ll give it a try. #
  • @nsmadlinx lol, mepis was the distro i used when i approached linux :) #
  • @titanioverde i think they depend too much on connectivity and rely on cloud sw. #
  • @titanioverde i find meego aproach social but clean enough if you are not always connected. No chrome for me :P #
  • @waltercool they are shitting their pants because openoffice is free and oracle wants to put money in it #
  • @titanioverde i don’t like ubuntu/debian. try meego, linux foundation is behind it. #
  • @titanioverde exactly. Meego is hosted by lf and a trademark of linux foundation. #

Bot Love

September 23rd, 2010

[12:10] <1> about some things, but most make me sad
[12:11] <1> mostly the stuff that is known for a loooong time and vendors still ignoring reality
[12:11] <admiral0> likeusing reader while there are a lot of poppler-based open readers?
[12:12] <admiral0> s/likeusing reader/like using adobe reader/
[12:12] <+infobot> admiral0 meant: like using adobe reader while there are a lot of poppler-based open readers?
[12:12] <admiral0> infobot: <3
[12:12] <+infobot> I love you. <3
[12:12] <1> that’s only half of the truth

Grim Wepa

September 1st, 2010

Hello people. Recently i found a very nice program for pentesting, it’s called grim wepa. I started it and it works.

Really nice. It looks like this:

But I don’t like GUIs that reinvent everything so i fixed the iwlist issue that grim wepa had with archlinux and removed fancy graphics (i set Gtk look and feel). Here is the result with my GTK theme:

So if you want it, here is the patch. apply to grim wepa 1.1 alpha.

Aggiornamenti Identi.ca del 2010-08-31

August 31st, 2010
  • i’ve been visited by danieru #
  • @nickkon yumor. 4 years lol #