Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
NVidia GF-8800: Leopard 10.5.3 - 10.5.6 System hangs when using 2 fullscreen OpenGL contexts on dual-display setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NVidia GF-8800: Leopard 10.5.3 - 10.5.6 System hangs when using 2 fullscreen OpenGL contexts on dual-display setup



Hi all,

i'm posting an excerpt from a problem report from my radar bug id 6189041, filed September 2008, which i marked as "critical: crash/ hang/data loss". So far it got completely ignored by Apple since over half a year, although i updated it multiple times with additional failure cases. I'm posting here to hear if anybody else experienced these problems or filed radars for these. Given the lack of response, i'm scared it could persist in 10.5.7 as well.

The bug is present on all Leopard versions from at least 10.5.3 to at least 10.5.6, both when using CGL and AGL for fullscreen contexts, both with the GF-8800 and as well with the Geforce 9xxx cards found in the new MacBooks and MacMinis, pretty much with any recent NVidia card. It makes all NVidia equipped machines completely unusuable for the kind of dual-display stereo work that our users want to do. As most current Apple machines are equipped with NVidia GPU's it slowly turns into a nightmare for users that want to buy new hardware and actually use it for productive work, but can't buy any configuration that actually works.

Original radar report follows:

02-Sep-2008 01:22 AM Mario Kleiner:
Summary:

When using a dual-display setup on an Intel MacPro with NVidia Geforce 8800 under Leopard 10.5.3 and 10.5.4, and opening two double- buffered fullscreen OpenGL contexts on the two attached displays, bufferswaps fail and malfunction in random ways on the first opened OpenGL context, as soon as the 2nd context is created.

Symptoms are failure to synchronize bufferswaps to vertical retrace, failure to execute bufferswaps at all, multiple seconds stalls of the graphics system and - when trying to close the OpenGL contexts or terminate the application - complete system hangs, requiring a hard reboot.

This makes dual display OpenGL applications a complete no-go for all our users.

During this malfunctions, the system.log quickly fills with error messages like...

Sep 1 16:22:04 roam-59-250 kernel[0]: NVChannel(GL): Graphics channel timeout!

Steps to reproduce:

Attached you'll find a simple reproducer app "DualHeadBugReproducer".
Run the application on a Intel MacPro with NVidia Geforce 8800 on a dual-display setup under 10.5.3 or 10.5.4.
Run it in a terminal window like this: ./DualHeadBugReproducer 0 1


The application will use CGL to open a fullscreen context on the first display, enable sync of bufferswaps to vertical retrace, then swap the back- and frontbuffer in a loop, alternating between an all black and all white image. A mouse-click will stop the loop, printout the average FPS, then open a context on the 2nd display and perform the same task. Up to there everything is fine. On the next mouse click, it will try to execute bufferswaps on the first display again, now the trouble begins: Bufferswaps are now not synced to retrace, take multiple dozen seconds to execute, or don't execute at all. Another mouseclick will show the same problem on the 2nd display. The next mouseclick will cause the app to close the contexts. This will either take very long or cause a complete system hang, requiring a hard reboot.

thanks for any comments or suggestions,
-mario

*********************************************************************
Mario Kleiner
Max Planck Institute for Biological Cybernetics
Spemannstr. 38
72076 Tuebingen
Germany

e-mail: email@hidden
office: +49 (0)7071/601-1623
fax:    +49 (0)7071/601-616
www:    http://www.kyb.tuebingen.mpg.de/~kleinerm
*********************************************************************
"For a successful technology, reality must take precedence
over public relations, for Nature cannot be fooled."
(Richard Feynman)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.