Stereo3D on DVI? Help me make it so!

Post Reply
User avatar
cybereality
3D Angel Eyes (Moderator)
Posts: 11407
Joined: Sat Apr 12, 2008 8:18 pm

Re: Stereo3D on DVI? Help me make it so!

Post by cybereality »

The marked shutter mode is back on 1.13RC drivers. Its called IZ3D Shutter now.
User avatar
NarcoticV
One Eyed Hopeful
Posts: 15
Joined: Wed Jun 29, 2011 3:08 am
Location: The Netherlands

Re: Stereo3D on DVI? Help me make it so!

Post by NarcoticV »

cybereality wrote:The marked shutter mode is back on 1.13RC drivers. Its called IZ3D Shutter now.
Are you sure about this? To refer to my own thread on IZ3D forums regarding this topic: link

Here I asked for the marked shutter mode to return. An IZ3D representative answered stating that the "IZ3D shutter" mode does indeed show a small white/black alternating set of pixels in the corner ("undocumented functionality"), but he doesn't seem to state that it is possible to choose these pixels.

He also said that the marked shutter mode might return in 1.14, so I don't think it is included in 1.13 already. Unless there is a file somewhere to be edited that controls the marking in "IZ3D shutter" mode?
User avatar
NarcoticV
One Eyed Hopeful
Posts: 15
Joined: Wed Jun 29, 2011 3:08 am
Location: The Netherlands

Re: Stereo3D on DVI? Help me make it so!

Post by NarcoticV »

I am becoming very positive about the prospect of using Shahzad's idea for my 120Hz LCD! :| :) :D :lol: :mrgreen: :woot

Please excuse the rambling to follow, I hope it is not an automatic TL:DNR :lol:

I received some components today, and started experimenting a bit. I will post some results - any comments are welcome! One of the things I received was the Schmitt-triggered photodetector that Shahzad referenced:
RAGEdemon wrote:
After considering a wide array of possibilities, many of them requiring expensive and complex hardware, with the help of you guys, the "silly" idea I had earlier is starting to make more and more sense...

The blue line code provided by the iZ3D driver is perfect. It provides a blue line over the last line or so of pixels at the bottom of the screen. The second half towards the right of the blue line will flicker to one eye perfectly.

All that needs done is to use one of these:

http://uk.farnell.com/honeywell-s-c/sdp ... dp/1201208" onclick="window.open(this.href);return false;

Cheap. Simply, it is a light detector which will give a sharp square wave when put in front if this blue line to the right. The output from this will be 5v 50% duty cycle perfect square wave which can feed directly into the middle pin of the ELSA/ED wireless emitter. It can also drive the current drivers for wired glasses with a small modification, and pretty much anything that worked with the old nVidia driver.
I soon discovered that using the aforementioned photodetector was never going to work with an LCD. The built-in Schmitt trigger only flips on the detector when lots of light is detected (in my case, even the TL lighting of my room wasn't enough - I had to point a flashlight directly into it to trigger it). For a projector it probably works - after all, that's a whole bunch of light.

A different solution was needed for the LCD. I had a standard phototransistor (type bpw40) lying around. When a resistor is placed in series with these and the voltage over the resistor is measured, the output is dependent on the amount of light collected by the phototransistor. Higher resistance leads to higher sensitivity of the output to light.

When using a 100kOhm resistor and 5V power supply and taping the detector to my monitor, and then displaying white pixels to it, my oscilloscope showed a waveform that resembled a triangle wave at ~180Hz. With black pixels, the voltage was close to zero. The 180Hz wave probably has something to do with the inner workings of the monitor, so different models may lead to very different findings. This wave was about 2V in amplitude. I don't have a picture of it, but it definitely shows in the pictures that I do have.

I took a few pictures during the tests, which are in the attached zip. It's bunch of images from my oscilloscope. I will refer to them in the rest of the story. Also attached seperately is the end resulting square wave, for people who are not interested in the proceedings but just want to see whether it works 8-)

I then proceeded to use the 1.10 IZ3D drivers in Marked Shutter Mode. I made the shutter mode display an alternating black/white square in the top left corner of my monitor, where the phototransistor is located, using MarkingSpec.xml. Then I started Flatout 2 in 60Hz mode. The result can be seen in "60Hz_100kOhm.jpg". You can see the general shape of a square wave. This is due to the square changing color at 60Hz (measured to check this frequency). Superimposed on the square wave, you see the triangle wave I mentioned earlier - at about 180Hz. However, because the triangle frequency is not an exact multiple of the 60Hz wave, they constantly shift relatively to each other.

This can be seen more clearly when I increased the Flatout 2 refresh to 120Hz. The shifting of the square and triangle waves with respect to each other creates a sort of "bubbling" effect, as can be seen in 120Hz_100kOhm.3gp.

The next step was to turn this signal into a clean square wave for syncing to. First, I further increased the resistor in series with the phototransistor from 100kOhm to 820kOhm. This increased the sensor's sensitivity to light, making the triangle wave clip mostly to 5V and generally making the output look more like a square wave. The "bubbling effect" remained though, it could still be seen in the varying width of the square.
I then used an opamp as a comparator - with a fixed voltage, adjustable by a potentiometer, as reference signal. This turned the photodiode output into a clean square wave (120Hz_820kOhm_Comparator.jpg). Due to the same "bubbling effect", the duty cycle of the square wave varies slightly in a periodic manner, as seen in 120Hz_820kOhm.3gp.

At this point, I was really positive about the results - I could get a clean square wave perfectly synced to my monitor! However, "stereo mode" was still actually disabled in-game in Flatout 2. As soon as I turned it on, the software seemed to struggle to refresh fast enough, resulting in the same frame sometimes being displayed twice. This can be seen where the square wave is locally broader in 120Hz_820kOhm_HighSettings.jpg. Interestingly, only the frames for one eye (output "high") seem to be stuck sometimes. Anyway, once I lowered all graphics settings in Flatout 2, there were never double frames even in stereo mode.

In conclusion, I think that this method is highly likely to work on my Samsung 2233RZ, and maybe other 3d-capable 120Hz monitors as well! Also, this method would be considerably cheaper for Nvidea users considering 3D Vision - the electronics have cost me about 15 euros so far, and I have ordered some cheap chinese shutter glasses for 10 euros a piece (even though I had to buy 4 at once). It would especially cheap for people who still have old "random brand" shutterglasses still lying around.

Any thoughts? :shutter
You do not have the required permissions to view the files attached to this post.
User avatar
NarcoticV
One Eyed Hopeful
Posts: 15
Joined: Wed Jun 29, 2011 3:08 am
Location: The Netherlands

Re: Stereo3D on DVI? Help me make it so!

Post by NarcoticV »

Today, I managed to find me some old Asus VR100 shutterglasses with a 3.5mm jack... And I have had (moderate) success! :woot

The sync signal from the previous post was amplified to 12V and inverted for the other eye - no further processing yet. Still using the 1.10 drivers, the 3D effect was clearly visible! Of course, there was no eye switching problem because of the light sensor method, and furthermore I didn't notice any flickering at 120Hz. There is still quite some ghosting though.

I have never used any other shutter system before and don't know if this is "bad" ghosting, but it's there. As i stated before, the signal was only inverted to the other eye and no other processing was done. I heard that Nvidia incorporates a "ghosting margin", only opening the shutter glasses about 60% of the total frame time. This would compensate for the pixel response time of the monitor and thus reduce ghosting. I am going to implement something similar and see if that works.

I am pretty sure there will always be some ghosting though - even with a constant 12V on the glasses, the LCD's aren't quite as opaque as I had expected.

All in all - I never thought I could get 3D to work on my setup over DVI-D, costing only 20 euros and some time! :lol:

Thanks again to Shahzad for the idea - I will report back and eventually upload my schematics.
User avatar
tritosine5G
Terrif-eying the Ladies!
Posts: 894
Joined: Wed Mar 17, 2010 9:35 am
Location: As far from Hold Display guys as possible!!! ^2

Re: Stereo3D on DVI? Help me make it so!

Post by tritosine5G »

"ghosting margin", only opening the shutter glasses about 60% of the total frame time.
well, I'd say, It isnt even fully opened, there is no sustain phase at all. Theres a relatively fast attack phase and decaying immidietly.

Good project IMO would be differentiating a LED DLP projector from other commercial PJ's by means of new firmware.
-Biased for 0 Gen HMD's to hell and back must be one hundred percent hell bent bias!
Post Reply

Return to “General Stereoscopic 3D Discussion”