Xephyr + DRI

2008-12-04 Thread Yan Seiner
 From reading the various docs, Xephyr should support DRI.  In my case, 
it doesn't. 

[EMAIL PROTECTED]:~/src/mplayer-vdpau-3076399/mplayer-vdpau$ 
LIBGL_DEBUG=verbose glxinfo
name of display: :3.0
display: :3  screen: 0
direct rendering: No (If you want to find out why, try setting 
LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:


Before I go off on a wild goose chase, is DRI possible with Xephyr?   I 
am using 1.5.3 from Debian experimental.

Thanks,

--Yan
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Xephyr + DRI

2008-12-04 Thread Julien Cristau
On Thu, Dec  4, 2008 at 07:44:40 -0800, Yan Seiner wrote:

> Before I go off on a wild goose chase, is DRI possible with Xephyr?   I 
> am using 1.5.3 from Debian experimental.
> 
I disabled it in our 1.5.1 packages, because it didn't seem to work when
I tried it anyway (bug#16955).  If it works for other people it's easy
to reenable...

Cheers,
Julien
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Xephyr + DRI

2008-12-04 Thread Yan Seiner

On Thu, December 4, 2008 8:39 am, Julien Cristau wrote:
> On Thu, Dec  4, 2008 at 07:44:40 -0800, Yan Seiner wrote:
>
>> Before I go off on a wild goose chase, is DRI possible with Xephyr?   I
>> am using 1.5.3 from Debian experimental.
>>
> I disabled it in our 1.5.1 packages, because it didn't seem to work when
> I tried it anyway (bug#16955).  If it works for other people it's easy
> to reenable...

After reading that bug, is there some runtime setting that I can use as a
workaround (provided, of course, that DRI is enabled in the first place?)

I'd like to do some experimenting with DRI/GLX/VDPAU

--Yan

-- 
  o__
  ,>/'_  o__
  (_)\(_),>/'_o__
Yan Seiner  (_)\(_)   ,>/'_ o__
   Personal Trainer  (_)\(_),>/'_o__
 Professional Engineer (_)\(_)   ,>/'_
Who says engineers have to be pencil necked geeks?  (_)\(_)

You are an adult when you realize that everyone's an idiot sometimes. You
are wise when you include yourself.


___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Xephyr, DRI, and compiz

2008-09-26 Thread Yan Seiner
I am trying to get Xephyr running with compiz.  The following was
generated with xserver 1.5.0 and xephyr 1.5.0.  I've had the same results
with 1.5.1.

glxinfo tells me that DRI is not available.

[EMAIL PROTECTED]:~$ DISPLAY=:3 glxinfo
name of display: :3.0
display: :3  screen: 0
direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap,
GLX_EXT_framebuffer_sRGB, GLX_NV_present_video,
GLX_NV_multisample_coverage
GLX version: 1.2
GLX extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
GLX_ARB_get_proc_address
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 7.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
GL_ARB_vertex_program, GL_ARB_window_pos, GL_ATI_texture_mirror_once,
GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
GL_NV_light_max_exponent, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
GL_SGIX_depth_texture, GL_SGIX_shadow

xdpyinfo tells me

name of display::3.0
version number:11.0
vendor string:The X.Org Foundation
vendor release number:1050
X.Org version: 1.5.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:32, LSBFirst, 32
image byte order:LSBFirst
number of supported pixmap formats:7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 4, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:minimum 8, maximum 255
focus:  PointerRoot
number of extensions:25
BIG-REQUESTS
Composite
DAMAGE
DEC-XTRAP
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RANDR
RENDER
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XC-MISC
XFIXES
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number:0
number of screens:1

and when I try to compiz I get

Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback
/var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (640x480) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (core) - Fatal: Root visual is not a GL visual
/usr/bin/compiz.real (core) - Error: Failed to manage screen: 0
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on
display :3

So what can I do to diagnose this?  What,if anything, can I do to get
compiz running on Xephyr?


-

Re: Xephyr, DRI, and compiz

2008-09-29 Thread Thomas Ilnseher

Am Freitag, den 26.09.2008, 13:42 -0700 schrieb Yan Seiner:
> I am trying to get Xephyr running with compiz.  The following was
> generated with xserver 1.5.0 and xephyr 1.5.0.  I've had the same results
> with 1.5.1.

Why not using Xglx ? (I know it's a bit rusted now, but it was specially
designed to run compiz, and does layer itself above an existing X
server)
> 
-- 
Thomas Ilnseher <[EMAIL PROTECTED]>

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Xephyr, DRI, and compiz

2008-09-30 Thread KwangYul Seo
I tried to get Xgl running with compiz.

[EMAIL PROTECTED]:~$ Xgl :1 -ac &
[1] 22647
[EMAIL PROTECTED]:~$ Could not init font path element
/usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!

[EMAIL PROTECTED]:~$ DISPLAY=:1 compiz &
[2] 22650
[EMAIL PROTECTED]:~$ Checking for Xgl: FreeFontPath: FPE
"/usr/share/fonts/X11/misc/" refcount is 2, should be 1; fixing.
present.
Checking for nVidia: Could not init font path element
/usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
not present.
Checking for Xgl: FreeFontPath: FPE "/usr/share/fonts/X11/misc/"
refcount is 2, should be 1; fixing.
Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
present.
Enabling Xgl with nVidia drivers...
FreeFontPath: FPE "/usr/share/fonts/X11/misc/" refcount is 2, should
be 1; fixing.
Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
inotify_add_watch: No such file or directory
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format,
disabling YV12 image format
Starting gtk-window-decorator
GConf backend: There is an unsupported value at path
/apps/compiz/plugins/scale/allscreens/options/initiate_edge. Settings
from this path won't be read. Try to remove that value so that
operation can continue properly.

[EMAIL PROTECTED]:~$ DISPLAY=:1 gnome-terminal &


Compiz seems to work, but glxinfo shows that only the Mesa software
renderer is available.

[EMAIL PROTECTED]:~$ glxinfo
name of display: :1.0
display: :1  screen: 0
direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap,
GLX_EXT_framebuffer_sRGB, GLX_NV_present_video
GLX version: 1.2
GLX extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
GLX_ARB_get_proc_address
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (2.1 Mesa 7.0.3)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
GL_ARB_multitexture, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_ATI_texture_mirror_once, GL_EXT_texture_env_add, GL_EXT_abgr,
GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
GL_EXT_vertex_array, GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
--
0x2c 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0 774519349
859517232 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  

Re: Xephyr, DRI, and compiz

2008-09-30 Thread KwangYul Seo
The following command solves the problem.

[EMAIL PROTECTED]:~$ Xgl :1 -ac -accel glx:fbo &

"-accel glx:fbo" or "-accel glx:pbuffer" enables the accelerated glx.



On Tue, Sep 30, 2008 at 5:13 PM, KwangYul Seo <[EMAIL PROTECTED]> wrote:
> I tried to get Xgl running with compiz.
>
> [EMAIL PROTECTED]:~$ Xgl :1 -ac &
> [1] 22647
> [EMAIL PROTECTED]:~$ Could not init font path element
> /usr/share/fonts/X11/TTF/, removing from list!
> Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
> Could not init font path element /usr/share/fonts/X11/CID/, removing from 
> list!
>
> [EMAIL PROTECTED]:~$ DISPLAY=:1 compiz &
> [2] 22650
> [EMAIL PROTECTED]:~$ Checking for Xgl: FreeFontPath: FPE
> "/usr/share/fonts/X11/misc/" refcount is 2, should be 1; fixing.
> present.
> Checking for nVidia: Could not init font path element
> /usr/share/fonts/X11/TTF/, removing from list!
> Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
> Could not init font path element /usr/share/fonts/X11/CID/, removing from 
> list!
> not present.
> Checking for Xgl: FreeFontPath: FPE "/usr/share/fonts/X11/misc/"
> refcount is 2, should be 1; fixing.
> Could not init font path element /usr/share/fonts/X11/TTF/, removing from 
> list!
> Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
> Could not init font path element /usr/share/fonts/X11/CID/, removing from 
> list!
> present.
> Enabling Xgl with nVidia drivers...
> FreeFontPath: FPE "/usr/share/fonts/X11/misc/" refcount is 2, should
> be 1; fixing.
> Could not init font path element /usr/share/fonts/X11/TTF/, removing from 
> list!
> Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
> Could not init font path element /usr/share/fonts/X11/CID/, removing from 
> list!
> inotify_add_watch: No such file or directory
> /usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format,
> disabling YV12 image format
> Starting gtk-window-decorator
> GConf backend: There is an unsupported value at path
> /apps/compiz/plugins/scale/allscreens/options/initiate_edge. Settings
> from this path won't be read. Try to remove that value so that
> operation can continue properly.
>
> [EMAIL PROTECTED]:~$ DISPLAY=:1 gnome-terminal &
>
>
> Compiz seems to work, but glxinfo shows that only the Mesa software
> renderer is available.
>
> [EMAIL PROTECTED]:~$ glxinfo
> name of display: :1.0
> display: :1  screen: 0
> direct rendering: No (If you want to find out why, try setting
> LIBGL_DEBUG=verbose)
> server glx vendor string: SGI
> server glx version string: 1.2
> server glx extensions:
>GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
>GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
>GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
>GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
> client glx vendor string: NVIDIA Corporation
> client glx version string: 1.4
> client glx extensions:
>GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
>GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
>GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
>GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
>GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap,
>GLX_EXT_framebuffer_sRGB, GLX_NV_present_video
> GLX version: 1.2
> GLX extensions:
>GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
>GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
>GLX_ARB_get_proc_address
> OpenGL vendor string: Mesa project: www.mesa3d.org
> OpenGL renderer string: Mesa GLX Indirect
> OpenGL version string: 1.2 (2.1 Mesa 7.0.3)
> OpenGL extensions:
>GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
>GL_ARB_multitexture, GL_ARB_point_parameters, GL_ARB_point_sprite,
>GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
>GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
>GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
>GL_ARB_texture_non_power_of_two, GL_ARB_vertex_program, GL_ARB_window_pos,
>GL_ATI_texture_mirror_once, GL_EXT_texture_env_add, GL_EXT_abgr,
>GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
>GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
>GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
>GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_rescale_normal,
>GL_EXT_secondary_color, GL_EXT_separate_specular_color,
>GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_texture3D,
>GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
>GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
>GL_EXT_vertex_array, GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
>GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_SGIS_generate_mip

Re: Xephyr, DRI, and compiz

2008-09-30 Thread Yan Seiner

On Mon, September 29, 2008 3:07 am, Thomas Ilnseher wrote:
>
> Am Freitag, den 26.09.2008, 13:42 -0700 schrieb Yan Seiner:
>> I am trying to get Xephyr running with compiz.  The following was
>> generated with xserver 1.5.0 and xephyr 1.5.0.  I've had the same
>> results
>> with 1.5.1.
>
> Why not using Xglx ? (I know it's a bit rusted now, but it was specially
> designed to run compiz, and does layer itself above an existing X
> server)

Alas Xgl segfaults on my machine after a few seconds. It's also my
understanding that it is deprecated and no longer maintained.

--Yan

-- 
  o__
  ,>/'_  o__
  (_)\(_),>/'_o__
Yan Seiner  (_)\(_)   ,>/'_ o__
   Personal Trainer  (_)\(_),>/'_o__
 Professional Engineer (_)\(_)   ,>/'_
Who says engineers have to be pencil necked geeks?  (_)\(_)

As long as nobody gets hurt, a decent explosion livens up any experiment.


___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg