ports/98700: [PATCH] make fxtv work with broken NVIDIA drivers

Andre Albsmeier Andre.Albsmeier at siemens.com
Thu Jun 8 11:50:41 UTC 2006

>Number:         98700
>Category:       ports
>Synopsis:       [PATCH] make fxtv work with broken NVIDIA drivers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 08 10:10:17 GMT 2006
>Originator:     Andre Albsmeier
>Release:        FreeBSD 5.4-STABLE i386

System: FreeBSD FreeBSD 5.4-STABLE #0: Tue Mar 7 21:56:34 CET 2006

Nvidia driver 1.0.8178


Even when running fxtv with -disableDirectV, it tries to initialize
some DGA stuff in tvscreen.c. This makes it fail with newer NVIDIA
drivers which are broken w.r.t. DGA.


Run "fxtv -disableDirectV" with an NVIDIA driver which has broken
DGA support:

andre at bali:~>fxtv -disableDirectV
X Error of failed request:  XF86DGANoDirectVideoMode
  Major opcode of failed request:  138 (XFree86-DGA)
  Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
  Serial number of failed request:  24
  Current serial number in output stream:  24


Add this patch to multimedia/fxtv/files. It will disable
DGA stuff completely when -disableDirectV was given on
the commandline.

--- tvscreen.c.ORI	Sun May 21 15:49:47 2000
+++ tvscreen.c	Wed Jun  7 10:19:30 2006
@@ -480,6 +480,9 @@
     dga_avail = FALSE;
 #ifdef HAVE_XFREE86
+    if ( App_res.disable_direct_v )
+        SUPRINTF(( "Will not init DGA since -disableDirectV was given.\n" ));
+    else
     if ( !XUTILXServerIsLocal( TVDISPLAY ) )
         SUPRINTF(( "XF86DGA not available...X Server isn't local.\n" ));
     else {


More information about the freebsd-ports-bugs mailing list