Screen redrawing problems with the “nvidia” driver and Compiz
Just in case you were experiencing, like me, some very annoying problems with your NVIDIA graphic card while using Compiz, here you have a very useful option to put inside the “Device” section in your /etc/X11/xorg.org file:
Option "UseCompositeWrapper" "true"
After activating this option (available for nvidia drivers >= 169.xx) I found that the problems redrawing windows I was suffering, specially when scrolling (very annoying, for instance, when chatting through pidging), just dissapeared. And it was indeed a very annoying problem, since it used to happen very often and in almost any window (although not in Emacs
) in my system, in a way so any information on it just got screwed up so it was completely unreadable… and the only “manual” workaround I had found so far was just to re-scroll the window or select the text I was trying to read, which seemed not to be a very good idea.
Needed to say that I started to see this odd behavior since I “downgraded” my Ubuntu 8.10 down to 8.04 last week (because of some very specific needs), and this strange problem never happened when using Intrepid, so if you’re now using that version perhaps you can just throw this post away to the trash, because then it would not useful at all for you.
But just in case, here you are my two cents, and to make them even more useful, here you are the full configuration of my “Device” section in /etc/X11/xorg.conf, which allows me to use a fully accelerated desktop with no problems at all:
Section "Device" Identifier "Videocard0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "Quadro NVS 140M" Option "AllowGLXWithComposite" "true" Option "UseCompositeWrapper" "true" Option "XAANoOffscreenPixmaps" Option "NoLogo" "true" Option "backingstore" "true" Option "TripleBuffer" "true" Option "AddARGBGLXVisuals" "true" EndSection
Hope this will be useful for you as well
.
Update: If you’re still suffering these problems even after adding these lines to xorg.conf, you could try to install the nvidia driver through Envy. These steps worked for me (at the end, the annoying problem appeared again, although not so often than before):
- Uninstall any other driver you had installed before (through the ubuntu “restricted drivers” manager, or the .run script downloaded from nvidia.com).
- Install Envy: apt-get install envyng-core
- Shutdown X and install the nvidia driver from a tty terminal: envyng -t
After following these steps, and the simple instructions on screen, by ubuntu hardy perfectly booted up with the nvidia driver v173.14, which seems not to present the same problem.
Let’s see if these new advice helps you too
Just a few hours left for Brussels
As some of my mates here in Igalia, I’m arriving tomorrow at Brussels, in order to attend to FOSDEM ‘09. This is my first visit both to Brussels and FOSDEM and I’m very excited and looking forward to arriving there and meeting all the people attending and giving talks in this great event, which I’m sure I’m goint to love.
So now it’s time to get everything ready in my backpack and going to bed soon, since my plane leaves Coruña early in the morning and I’ll need to rest properly to reach Brussels in my best shape. And let’s hope I don’t find any problems in Madrid, where news said they’re in “orange alert” because of the snow (I wouldn’t like to miss my connection or, even worse, to miss Friday in Brussels and therefore the FOSDEM Beer Event
).
See you there guys!
Do you want to travel abroad? No problem with google maps!
Just go to http://maps.google.com, click on the “Get directions” tab and write down the name of the locations that you wish… and don’t worry about traveling across the sea, because google maps is perfectly “ready” to manage that situation as you can see in the following screenshot (traveling from A Coruña, Spain, to New York, USA):
![]()
Good luck swimming!
About the origin of foo, bar, baz and so on…
I recently felt a strange curiosity about the actual origin of those typical words that are “foo”, “bar” and “baz”, commonly used in computer-related issues such as programming examples. I already knew that they were a wide used way of naming example functions, params… but I really wanted to deeply know about the origin of them, so I googled for a while and I finally reached the wikipedia topic explaining this concept.
Once there, it was a surprise for me knowing about some theories about this, as that one which speculates about foobar to be a phonological interpretation of the first letters of the Runic alphabet. However, the fact which was more surprisingly for me was the existence of an actual RFC talking about this issue: RFC 3092.
I must confess I wasn’t able to stand without taking a brief look into it and I think it’s really funny to read some of the explanations around the foo term, and that’s why I wrote this post: for all the people who, like me, don’t know the meaning of these strange words yet and want to know.
See you
Starting to blog
This is my first post here in Igalia, so I’d only like to say that I hope to have time and stuff enough next days to write something of interest on this weblog.
However, if you can’t wait without reading any stuff until my first “serious post” was written, you can read other Igalia people’s blogs or just learn more about me here.
At last, thanks to Javier Muñoz for his “blogging in emacs” post, as it was very useful to me for writting this initial post using one of my favourite editors.