[mythtv] Got it! [workaround patch]

Kyle Rose krose+mythtv at krose.org
Fri Aug 13 23:56:12 EDT 2004


For those of you whose dual head setups (or potentially single-head
nVidia setups) broke sometime between July 20 and 25, try this patch:

Index: libs/libmythtv/vsync.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/vsync.cpp,v
retrieving revision 1.1
diff -d -u -r1.1 vsync.cpp
--- libs/libmythtv/vsync.cpp    23 Jul 2004 17:08:50 -0000      1.1
+++ libs/libmythtv/vsync.cpp    14 Aug 2004 03:50:21 -0000
@@ -50,10 +50,12 @@
                                  bool interlaced)
 {
     VideoSync *trial;
+#if 0
     trial = new nVidiaVideoSync(frame_interval, refresh_interval, interlaced);
     if (trial->TryInit())
         return trial;
     delete trial;
+#endif
     trial = new DRMVideoSync(frame_interval, refresh_interval, interlaced);
     if (trial->TryInit())
         return trial;

As near as I can tell, the new vsync code hardcodes access to
/dev/nvidia0 under the assumption that there is only one head and that
head is using the proprietary nvidia driver.  Unfortunately for those
of us who are using multiple drivers (in my case, nvidia and open
source nv) this is an incorrect assumption that caused my X server to
deadlock.  Disabling the nvidia-based vsync solved the problem.

Cheers,
Kyle


More information about the mythtv-dev mailing list