Jonas B's picture

Linux screen refresh

Hi,
I've just taken my first steps on Linux - installed Ubunty 9.04 yesterday. After a bit of reading up on how to install WinForms, I got OpenTK's Examples and my test app running on it. Problem with both apps is that when I drag the window, the GUI doesn't refresh properly, leaving ugly artifacts on other windows and the desktop.
Also, the screen flickers quite a bit while it's initializing.

Is this expected behavior for OpenTK, or could it have something to do with video drivers?

Thanks!

PS. Is there a way to get notifications when I get replies to posts in this forum?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jonas B's picture

Update: I found some 3D apps, and they displayed the same behavior, so it's obviously related to my system.

puklaus's picture

Try disabling compiz (appearance (?) -> visual effects to none).

Jonas B's picture

Indeed, works well - thanks!

The only problem in Examples.exe (except for the OpenAL thing) now seems to be that vertex lighting doesn't work - the plane is all black. I guess the i915 video drivers aren't very good.

the Fiddler's picture

This may be a bug in the example, I have seen it behave strangely on other cards, too.

Notifications are planned for the next site upgrade (which will probably take some time, depending on my workload).

Mincus's picture

I've always wondered about the lighting example.
One side of the quad seems to work fine whilst the other turns from white to dark grey at a particularly point.
Uploaded a quick example of it: http://www.youtube.com/watch?v=SQsfSb-kJCM
That's on Windows 7, but it behaves the same under Vista and Ubuntu 8.10 on this card (Geforce 8600M GT) with a variety of drivers.
Is that how it should behave?

the Fiddler's picture

Frankly, I have no idea! The last time I used the built-in vertex lighting was ~7 years ago.

For what's it worth, it looks completely different on my Ati 4850.

AttachmentSize
vertex-lighing-4850.jpg29.14 KB
kanato's picture

The i915 drivers certainly aren't all that good in Linux, at least in Fedora. I have a number of problems with them on my desktop at work. I've reported bugs, but it seems that driver development moves slowly. Intel cards certainly aren't known for their stellar OpenGL support on Windows, either.