Subject: Re: 3ddesktop
To: Richard Rauch <>
From: Geert Hendrickx <>
List: tech-pkg
Date: 07/18/2005 12:05:24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Jul 07, 2005 at 02:35:12AM -0500, Richard Rauch wrote:
> It sounds like 3ddesktop is badly broken.  Or maybe one of the libraries
> that it uses.
> Software should *never* require accelerated OpenGL.  First, "fast enough"
> is entirely in the opinion of the user.  Second, the speed of software
> (or for that matter, hardware) rendering is going to depend on exactly
> what kind of system you have.
> It really takes a special kind of stupidity, IMHO, to write code that
> fails just because something is believed to be "hardware" or "software"
> supported.  But the 3ddesktop people may not respond well to being told
> that.  (^&
> I'd suggest finding out exactly where this test is done, patching the
> code to skip the test, and using send-pr to submit the fix to the pkgsrc
> people.

Here's the patch.  3ddesktop runs slow, but fine, with it.  

Shall I send-pr it, or will someone pick it up from here?  



Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ad


--- win.cpp.orig	2004-05-28 05:41:28.000000000 +0200
+++ win.cpp	2005-07-18 11:49:46.000000000 +0200
@@ -316,11 +316,10 @@
     else {
         msgout (ERROR, 
                 "glXIsDirect failed, no Direct Rendering possible!\n"
-                "Please configure hardware acceleration.  Exiting.\n");
+                "3ddesktop will run slow without hardware acceleration.\n");
         fprintf (stderr, 
                  "3ddeskd: glXIsDirect failed, no Direct Rendering possible!\n"
-                 "3ddeskd: Please configure hardware acceleration.  Exiting.\n");
+                 "3ddeskd: 3ddesktop will run slow without hardware acceleration.\n");
-        end_program(-1);