NetBSD Problem Report #30781

From www@netbsd.org  Tue Jul 19 16:14:25 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id D270863B843; Tue, 19 Jul 2005 16:14:25 +0000 (UTC)
Message-Id: <20050719161425.D270863B843@narn.netbsd.org>
Date: Tue, 19 Jul 2005 16:14:25 +0000 (UTC)
From: ghen@telenet.be
Reply-To: ghen@telenet.be
To: gnats-bugs@netbsd.org
Subject: PATCH: make 3ddesktop work without Direct Rendering
X-Send-Pr-Version: www-1.0

>Number:         30781
>Category:       pkg
>Synopsis:       PATCH: make 3ddesktop work without Direct Rendering
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 19 16:15:00 +0000 2005
>Closed-Date:    Tue Jul 19 16:28:19 +0000 2005
>Last-Modified:  Tue Jul 19 16:28:19 +0000 2005
>Originator:     Geert Hendrickx
>Release:        netbsd-2
>Organization:
>Environment:
>Description:
The wm/3ddesktop package uses OpenGL to animate desktop switching in 3D.  
Whereas this works fine even without hardware acceleration (direct 
rendering), 3ddesktop spews an error and exits when it detects the 
hardware is not available.  
>How-To-Repeat:
glXIsDirect failed, no Direct Rendering possible!
Please configure hardware acceleration.  Exiting.

>Fix:
$NetBSD$ 

--- 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);
     }

>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30781 CVS commit: pkgsrc/wm/3ddesktop
Date: Tue, 19 Jul 2005 16:27:07 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Tue Jul 19 16:27:07 UTC 2005

 Modified Files:
 	pkgsrc/wm/3ddesktop: Makefile distinfo
 Added Files:
 	pkgsrc/wm/3ddesktop/patches: patch-ad

 Log Message:
 PR 30781 by Geert Hendrickx:
 make 3ddesktop accept software rendering.
 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -r1.12 -r1.13 pkgsrc/wm/3ddesktop/Makefile
 cvs rdiff -r1.3 -r1.4 pkgsrc/wm/3ddesktop/distinfo
 cvs rdiff -r0 -r1.1 pkgsrc/wm/3ddesktop/patches/patch-ad

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Tue, 19 Jul 2005 16:28:19 +0000
State-Changed-Why:
Committed, thank you!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.