Support for stereoscopic output in DRI?

2007-03-30 Thread David Oftedal
Hello!

According to one or more sources on Google, Linux now makes it possible to use 
LCD shutter to get stereoscopic graphics in certain games and with certain 
graphics cards. However, there are certainly other interesting methods of 
outputting stereoscopic graphics, such as outputting to two different outputs 
(such as two different projectors with different polarising filters), combining 
the red channel of the left frame and the green and blue channels of the right 
frame to create an anaglyphic image that can be viewed with 3D glasses and so 
on, and it would be really interesting to see if these methods could be used to 
output OpenGL graphics. Even more so with the arrival of 3D TVs and monitors, 
it would be interesting to be able to use their stereoscopic capabilities with 
existing games and applications.

I've seen two pieces of software, one for Linux and one for Windows, and it 
seemed like what they did was intercept OpenGL commands and render two separate 
images at slightly shifted (user-specified?) angles or viewpoints, one for the 
left eye and one for the right eye. If the effect could be achieved more or 
less reliably in all applications, stereoscopic output could be achieved in a 
wide range of games even today.

At any rate, I was wondering if something like this has ever been attempted, or 
implemented, in DRI?


Best regards

David J. Oftedal

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10477] [PATCH] mga not updating drawable state after window moves

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10477





--- Comment #4 from [EMAIL PROTECTED]  2007-03-30 13:36 PST ---
I guess it is the same, but it would be nice if you could test before closing
that one.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10477] [PATCH] mga not updating drawable state after window moves

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10477





--- Comment #3 from [EMAIL PROTECTED]  2007-03-30 12:55 PST ---
Could anyone confirm that this is the same bug as #9210? I can't test it right
now.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10477] [PATCH] mga not updating drawable state after window moves

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10477


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #2 from [EMAIL PROTECTED]  2007-03-30 12:10 PST ---
I checked in your fix.  Thanks.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10477] [PATCH] mga not updating drawable state after window moves

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10477





--- Comment #1 from [EMAIL PROTECTED]  2007-03-30 11:42 PST ---
Created an attachment (id=9392)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=9392&action=view)
Check the drawable state when getting the lock


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10477] New: [PATCH] mga not updating drawable state after window moves

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10477

   Summary: [PATCH] mga not updating drawable state after window
moves
   Product: DRI
   Version: XOrg CVS
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Keywords: patch
  Severity: normal
  Priority: medium
 Component: libGL
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


Hi

Testing a Matrox G400 card here I verified that it was not updating the
drawable state after the window was moved causing some interesting effects (the
window moves, but no the contents).

Adding a DRI_VALIDATE_DRAWABLE_INFO() call in mgaGetLock() fixed the problem
here. Patch following.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473





--- Comment #8 from [EMAIL PROTECTED]  2007-03-30 11:06 PST ---
Ok, now we're back to the previous problem. DRI loads, but glxgears crashes in
intel_render_quad_strip_verts again.
There are also lots of warnings like these two:
DISPATCH ERROR! _glapi_add_dispatch failed to add glVertexAttrib1fv!
(WW) AIGLX: 3D driver claims to not support visual 0x23

I probably won't have time for more testing until Sunday, but I'll check back
then.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473





--- Comment #7 from [EMAIL PROTECTED]  2007-03-30 09:28 PST ---
(In reply to comment #6)
> (II) I810(0): Initialized DRM memory manager, 8192 AGP pages
> at AGP offset 0x6000
> (--) RandR disabled
> Error -12
> Failed to initialize batch pool - possible incorrect agpgart installed

Does Option "Legacy3D" help with that?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473





--- Comment #6 from [EMAIL PROTECTED]  2007-03-30 09:17 PST ---
it keeps getting weirder...
this should be the most interesting part:

(II) I810(0): Initialized DRM memory manager, 8192 AGP pages
at AGP offset 0x6000
(--) RandR disabled
Error -12
Failed to initialize batch pool - possible incorrect agpgart installed
(EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to
software rendering

I never changed anything with the agpgart, of course.

lsof reports only the one X server with two entries (FD: mem and 10u)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473





--- Comment #5 from [EMAIL PROTECTED]  2007-03-30 08:33 PST ---
(In reply to comment #4)
> drmSetBusid failed, Permission denied

Sounds like something is keeping the DRM device open. What does

sudo lsof /dev/dri/card0

say?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473





--- Comment #4 from [EMAIL PROTECTED]  2007-03-30 08:24 PST ---
After upgrading to drm-20070314 and mesa-6.5.2, I cannot get DRI to work at
all.
drmSetBusid failed, Permission denied
DRIScreenInit failed. Disabling DRI

I'll keep trying. Any hints for now?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473





--- Comment #3 from [EMAIL PROTECTED]  2007-03-30 07:49 PST ---
Would be nice if you could try newer Mesa as well.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473





--- Comment #2 from [EMAIL PROTECTED]  2007-03-30 07:35 PST ---
As I mentioned previously, this also happens with the DRM modules from the
2.6.18.6 kernel.
My MESA version is 6.5.1 (mesa-progs as well).

Gentoo has x11-drm-20070314 on testing. I'll go and try those, too.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|DRM modules |Drivers/DRI/i915
Product|DRI |Mesa




--- Comment #1 from [EMAIL PROTECTED]  2007-03-30 07:17 PST ---
x11-drm-20060608 sounds pretty old, does this also happen with the DRM that
comes with the kernel? Which version of Mesa do you have?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10473] New: glxgears and others segfault on i810

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10473

   Summary: glxgears and others segfault on i810
   Product: DRI
   Version: unspecified
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: major
  Priority: medium
 Component: DRM modules
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


When enabling DRI in XOrg 7.1.1, I get satisfactory information from glxinfo,
but glxgears and most other GLX software segfault.
My graphics chip is
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics
Device (rev 02)
and I'm using i810-1.7.4, libdrm-2.3.0, x11-drm-20060608 (modules), and kernel
2.6.18.2 (vanilla). I also tried the drm modules from the 2.6.18.2 kernel, but
there is no difference.
GDB tells me that the problem occurs in
0xb768d685 in intel_render_quad_strip_verts ()
   from /usr/lib/dri/i915_dri.so
I have lots of other information to share. Please tell me what else would be
useful to find the problem.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10471] New: Video card shuts down after a random period playing WoW

2007-03-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10471

   Summary: Video card shuts down after a random period playing WoW
   Product: Mesa
   Version: CVS
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Keywords: regression
  Severity: major
  Priority: medium
 Component: Drivers/DRI/r200
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


After playing World of Warcraft for a few hours, the display suddenly goes
blank and the monitor says that it has lost the (digital) signal. I cannot
login again via a serial console from a remote machine because the keyboard has
stopped responding, although there is no evidence of any kind of "oops".

Alt-Sysrq-S, Alt-Sysrq-U, Alt-Sysrq-B work, so the kernel is obviously still
running.

This is with Linux 2.6.19.7-SMP, dual P4 Xeon, HT-enabled, 2 GB RAM, Radeon
9200, Xorg 7.1.1 from FC6 (Userspace is otherwise FC5).

I first noticed this problem with the March 24 git mesa, shortly before the
glsl merge. (NV is still broken, BTW.), and up until last night I thought that
I had fixed it by backing out to the March 13 version. However, last night the
problem happened again.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel