It is currently Tue May 21, 2013 8:42 pm



Reply to topic  [ 23 posts ] 
 GN245HQ 3D mode detection 
Author Message
Golden Eyed Wiseman! (or woman!)
User avatar

Joined: Sat Jan 09, 2010 2:06 pm
Posts: 1897
Location: Perpignan, France
I mean, did you experience eye inversions during rendering independently of the start up phase ? Because the technique based on glutSwapBuffers and vsync enabling doesn't guarantee a good synchronization, frames can be missed.

It's nice you have set up a page for your project. Maybe you could contact other Linux projects that could be interested in your findings/code so it's not forgotten, like these ones :
- Bino (3D video player) : http://bino3d.org/
- sView (3D video player) : http://www.sview.ru/
- VLC 3D (3D video player) : http://wiki.videolan.org/SoC_2011/Stereoscopic_Video
- SIV (3D photo viewer) : http://www.mygnu.de/index.php/siv-a-ste ... for-linux/
- Plascolin (3D photo viewer) : http://www.schrammel.org/stereo-plascolin.php
- Tux Stereo Viewer (3D photo viewer) : http://doc.ubuntu-fr.org/tux_stereo_viewer
- stereowrap (stereo 3D driver) : http://code.google.com/p/stereowrap/
- MediaPortal 3D plugin : http://forum.team-mediaportal.com/media ... tal-85727/


Mon Nov 14, 2011 6:10 pm
Profile WWW
Two Eyed Hopeful

Joined: Tue Dec 22, 2009 11:48 am
Posts: 79
Hey interesting thread :)

So what about activating 3D mode with Nouveau ? Any progress ?

Nvidia proprietary driver support 3D monitors by adding just a line in your xorg.conf. But good job on reversing the I2C protocol. Now we need to make this work with Nouveau !

Let me know if you need any help.


Sun Dec 11, 2011 1:54 pm
Profile
One Eyed Hopeful

Joined: Wed May 25, 2011 6:03 am
Posts: 20
I made some progress with my ACER GN245HQ on the subject :

DVI 3D mode can now be activated with the correct modline in xorg.conf and then activate the IR emitter with a3dcontrol.

After some experiment with nvidia tools to create personalized resolution and synchronization I found that to activate3D stereo modeIi have to change the number of vertical lines. It must be greater than 1147 1150 is the max supported.

I used then powerstrip on windows to extract the modlines while 3D stereo active or not.

1080p 120Hz without stereo modeline:
Code:
    ModeLine       "1920x1080_120.std" 285.545 1920 1968 2000 2080 1080 1083 1088 1144 +hsync +vsync # standard

1080p 120Hz stereo modeline:
Code:
    ModeLine       "1920x1080_120.3ds" 286.754 1920 1968 2000 2080 1080 1083 1088 1149 +hsync +vsync # stereo


When this mode is active a3dcontrol permit to activate the integrated emitter via I2C.

So it should now work with nouveau (don't know if I2C easily available with nouveau).

Here my xorg.conf : http://a3dcontrol.googlecode.com/git/X11/xorg.conf

Next step is to try to activate IR synchronously with right or left eye display, to prevent eye inversion at startup.

After that I'll try with nouveau and with an intel integrated GPU.

I would also like to find someone with asus 3D Vision 2 screen to extract modlines while 3D stereo active and inactive and to known if the same technique is used to discriminate 3D content.


Last edited by ynsta on Thu May 24, 2012 2:49 am, edited 1 time in total.



Thu May 24, 2012 2:17 am
Profile
One Eyed Hopeful

Joined: Wed May 25, 2011 6:03 am
Posts: 20
I'd also like to test with another screen preferably 3D Vision 2 like asus one, if i can find someone with it.

It would permit to know if there is some kind of nvidia standard or if each screen uses different techniques to detect 3D content and to activate integrated emitter.


Thu May 24, 2012 2:28 am
Profile
One Eyed Hopeful

Joined: Wed May 25, 2011 6:03 am
Posts: 20
Fredz I'll contact other project soon, when I'll understand how the R/L start synchronization is done.

I have to try if is only the timing of i2c messages.


Thu May 24, 2012 2:55 am
Profile
One Eyed Hopeful

Joined: Wed May 25, 2011 6:03 am
Posts: 20
I have a clue on how to sync my IR, with the following I2C message :

Code:
struct i2c_msg sync_msg[] = {
    {
        .addr  = 0x50,
        .flags = 0,
        .len   = 1,
        .buf   = &zero,
    },
    {
        .addr  = 0x50,
        .flags = I2C_M_RD,
        .len   = 256,
        .buf   = buf,
    },
};


It seams to be a sync frame, when I send this frame, it switch my eyes 50% of times but I don't known when I can send it to synchronize with my opengl code.

Maybe I can monitor with a scope the time between an opengl flip and the effective display on my screen with some kind of photo sensible component.

Someone with a better idea ?


Wed May 30, 2012 10:08 am
Profile
Golden Eyed Wiseman! (or woman!)
User avatar

Joined: Sat Jan 09, 2010 2:06 pm
Posts: 1897
Location: Perpignan, France
Did you try to use Genlock ? It gives you an interrupt at each vertical retrace.


Wed May 30, 2012 2:20 pm
Profile WWW
One Eyed Hopeful

Joined: Wed May 25, 2011 6:03 am
Posts: 20
No I'll look at it.

I didn't know that there is a vretrace interrupt.

I'll look at it and try to synchronize my I2C message on this interrupt.

Thank you.


Thu May 31, 2012 2:14 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.