bugBino - Bugs: bug #36304, alternating view occasionally...

 
 

bug #36304: alternating view occasionally loses sync

Submitted by:  S. Christian Collins <mrbumpy409>
Submitted on:  Wed 25 Apr 2012 04:14:20 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Privacy: PublicAssigned to: Martin Lambers <marlam>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 05 May 2012 06:23:22 AM UTC, comment #8:

I have documented the screensaver inhibition workaround in the manual, and I also documented the alternating mode is in general less reliable than true OpenGL stereo.

Unfortunately, this seems like the best we can do for now. I'm closing this bug as "Fixed", even though "Partly improved" would fit better, but we don't have that category ;)

Thank you very much for all the valuable testing and feedback!

Martin

Martin Lambers <marlam>
Project AdministratorIn charge of this item.
Fri 04 May 2012 04:45:39 PM UTC, comment #7:

Disabling screensaver inhibition seems to do the job. I can no longer trigger the eye swap by toggling in and out of fullscreen. I still do occasionally get an eye swap, but it happens very infrequently (maybe after 15-30 minutes of watching), which is easy enough to deal with using the 'e' key. It is also fixed by switching out and back into fullscreen mode. I have a feeling Bino 1.3.2 would eventually do the same if I just spent enough time watching in it (I'll test this when I get home from the weekend). There is no question that the "inhibit screensaver" option was making it significantly worse.

This is by far the most stable 3D video + shutter glasses experience I've had on my system. In Windows 7, the eyes swap every few seconds, and Windows XP gives me a BSOD when trying to play stereoscopic videos, probably due to my ancient NVIDIA drivers used for legacy stereoscopic gaming. So, I'm extremely grateful for Bino on Linux, and all the work you've done to make this a marvelous player.

S. Christian Collins <mrbumpy409>
Fri 04 May 2012 04:39:46 AM UTC, comment #6:

Thank you very much for this information! I think we're on the right track now.

Can you try to switch off Preferences->Fullscreen Settings->inhibit the screensaver? This should work around the problem.

If that works for you, we know exactly where the problem is.

Unfortunately, fixing alternating mode in this case means breaking screensaver inhibition again.

If all else fails, I might remove screensaver inhibition completely since it is nothing but trouble...

Martin

Martin Lambers <marlam>
Project AdministratorIn charge of this item.
Thu 03 May 2012 10:26:36 PM UTC, comment #5:

The git bisect reveals:
99f3ae35666d2dc28e95b0cef0b2605cd48eb5ea is the first bad commit
commit 99f3ae35666d2dc28e95b0cef0b2605cd48eb5ea
Author: Martin Lambers <marlam@marlam.de>
Date: Fri Apr 6 17:20:16 2012 +0200

Fix X11 screensaver inhibition.

:040000 040000 dbd4706a0545a1de08ef01b8c7de35fd29ca02b6 1d1ed23379b9b0514261f8a1e069f7be4852f8aa M src

S. Christian Collins <mrbumpy409>
Thu 03 May 2012 07:45:26 PM UTC, comment #4:

Bino 1.3.2: the images for the left/right eyes never get reversed--left eye always sees left eye's image and right eye always sees right eye's image.
Bino 1.3.3: occasionally while watching, the left and right eyes' images will get switched around (left sees right eye's image, right sees left eye's image). This can be triggered sometimes when switching in and out of fullscreen mode.

I first noticed the bug with the git checkout on 4/25, but I will have to do a bisect to get more specific than that. I'll try doing that sometime today.

S. Christian Collins <mrbumpy409>
Thu 03 May 2012 07:28:25 PM UTC, comment #3:

I'm lost. Which version works for you, and which does not? Can you
narrow it down as far as possible please? (A 'git bisect' would be ideal).

Martin

Martin Lambers <marlam>
Project AdministratorIn charge of this item.
Thu 03 May 2012 06:54:52 AM UTC, comment #2:

Okay, this is interesting. I cannot get this bug to occur using Bino 1.3.2 (hence my comment in bug #36291 about Bino never losing sync). Bino 1.3.3 swaps eyes every once in a while while watching a video, but I have discovered that I can get it to swap eyes more frequently by toggling in and out of fullscreen mode. Occasionally, the toggle in or out of fullscreen mode will cause the eyes to flip as the switch is being made, so this seems to be a good way to reproduce the bug. Try as I might, however, I simply cannot get Bino 1.3.2 to swap eyes. Could this be related to the fix for bug #36291?

S. Christian Collins <mrbumpy409>
Thu 26 Apr 2012 08:09:52 PM UTC, comment #1:

This is pretty strange.

On X11, we use the GLX_SGI_video_sync extension to get an output device frame counter. In alternating mode, we only activate a new frame when this counter is even, so that this happens always on the same eye, and both left and right view of a video frame are always rendered before a new video frame is displayed.

I have no idea how this can revert left/right, except if the frame counter is unreliable. But X11 with GLX_SGI_video_sync is in fact the only platform where this counter should be reliable; on all others we just count ourselves and may miss device output frames for several reasons.

So I have no idea what to do about this, or if this even can be fixed at all.

The only reliable way to use shutter glasses is probably to use "OpenGL stereo" mode with hardware synchronization.

Martin Lambers <marlam>
Project AdministratorIn charge of this item.
Wed 25 Apr 2012 04:14:20 PM UTC, original submission:

The L/R alternating view works pretty well on my system. However, usually after a few minutes of playback, the left and right eyes will get swapped. I'm guessing this is because the alternating method drops a frame, and the left eye is now being displayed when the right eye should have its image, etc.

Having some way to detect that the alternating mechanism is off by a frame and then to quickly autocorrect would solve this. As far as how other players handle this, sView 2009 also suffers from this problem while Stereoscopic Player is able to autocorrect.

    • My System **

OS: Kubuntu 11.10 64-bit w/ KDE SC 4.8.2
Motherboard: ASRock X58 Extreme3 (Intel X58 chipset)
CPU: Intel Core i7 (2.8 GHz quad-core)
RAM: 12GB DDR3
Video: Dell NVIDIA GeForce 7800 GTX w/ 256 MB RAM (PCI Express)
Sound Card #1: Sound Blaster Audigy 2 ZS Gold
Sound Card #2: Echo Gina3G
Linux Kernel: 3.1.0-1-generic
NVIDIA video driver: 280.13
Screen Resolution: 1280 x 960

S. Christian Collins <mrbumpy409>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by marlam (Posted a comment)
  • -unavailable- added by mrbumpy409 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 May 2012 06:23:22 AM UTCmarlamStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Thu 26 Apr 2012 08:09:52 PM UTCmarlamStatusNone=>Need Info
      Assigned toNone=>marlam

    Back to the top


    Powered by Savane 3.1-cleanup1