Mandriva Linux Archives: cooker@mandrivalinux.org

Mandriva Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

  • From: Fabrice Facorat
  • Subject: Re: [Cooker] 3D Desktop and Video
  • Date: 16 Mar 2008 22:50:15 -0000

2008/3/16, Vincent Panel <yohonet@gmail.com>:
> On Sun, Mar 16, 2008 at 10:57 PM, José Jorge <lists.jjorge@free.fr> wrote:
>  > Vincent Panel wrote:
>  >  > Hi,
>  >  >
>  >  > Most videos can't be played BY DEFAULT with 3D desktop. For all video
>  >  > players, it requires changing the video output to xshm/x11. At least,
>  >  > I've tried totem + gstreamer and kaffeine + xine and both can't play a
>  >  > video decently without changing the output device. This is clearly
>  >  > stated in the errata.

this won't work, this can't be fixed by drak3d.
Why ?
1. drak3d will have to modify the config files for each users. This si
not so easy to do and can be risky

2. drak3d when launched as root will failed to modify users cofnig
file when using home on NFS with root squashing enabled

3. this is a workaround about a buggy behaviour of the driver and the
missing infrastructure in Xorg to accelerate video output and Xv when
using Compositing :
http://www.botchco.com/agd5f/?p=22

So until X is supporting the needed infrastructure to accelerate Xv in
3D compositing mode, the true fix is fixing the video mode detection
in the video players. Indeed when we set the video output to "auto",
the video player should use the best and the right output method.
I.e :
- on non composited environment supporting Xv -> Xv output
- on non composited environment not support Xv -> Xshm/X11
- on 3D compositing environment -> OpenGL or X11/Xshm
- on compositing environment -> X11/Xshm

Ok, this is more complicated to do, but IMHO this is the only right
solution with the minimal maintenance cost and which will work
everytime.
It's like when media players are using on the fly SSE/3DNow/SSE2
depending on the processor. I guess that if this was not the case, we
would have not try to develop a drakxtool to tweak the multimedia
players config files to use the right optimisations depending on the
processor ?

-- 
Close the World, Open the Net
http://www.linux-wizard.net



Date Index | Thread Index

Search the archive:



To (un)subscribe from/to the lists:

Sympa mailing lists server.





Looking for a job?