Odtwarzanie DivX, a direct rendering

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
Kas
Beginner
Posty: 138
Rejestracja: 06 kwietnia 2007, 00:04
Lokalizacja: Warszawa

Odtwarzanie DivX, a direct rendering

Post autor: Kas »

Mam kartę graficzną Intel GMA 900. Nie posiadam xorg.conf, więc X.org za każdym razem powinien wykrywać typ karty graficznej i ekranu. Wszystko wykrywa dobrze, ale nie działa direct rendering. Czy może to być powodem "przycinania się" filmów DivX podczas ich odtwarzania?
castor
Beginner
Posty: 119
Rejestracja: 03 sierpnia 2007, 15:47

Post autor: castor »

:shock: X startuje ci bez xorg.conf, mi jakos nie chce :)

poza tym jakie wyjscie video uzywasz dla mplayera?
Kas
Beginner
Posty: 138
Rejestracja: 06 kwietnia 2007, 00:04
Lokalizacja: Warszawa

Post autor: Kas »

O moim X.org było już głośno na forum. ;-) Niewierni Tomasze nie chcieli mi uwierzyć, że naprawdę nie mam xorg.conf, a mimo to serwer X działa bardzo dobrze.

Mam Debian Sid.

Kod: Zaznacz cały

kas@laptop:~$ aptitude show xserver-xorg
Pakiet: xserver-xorg
Stan: zainstalowany
Zainstalowany automatycznie: nie
Wersja: 1:7.2-5
Priorytet: opcjonalny
Sekcja: x11
Opiekun: Debian X Strike Force <debian-x@lists.debian.org>
Rozmiar rozpakowanego: 1327k
Wymaga: xserver-xorg-core (>= 2:1.3.0.0.dfsg-3), xserver-xorg-video-all | xserver-xorg-video-1.0, xserver-xorg-input-all |
        xserver-xorg-input, debconf (>= 0.5) | debconf-2.0, xkb-data | xkb-data-legacy, xbase-clients
Wymaga wstępnie: x11-common (>= 7.0.0-0ubuntu3)
Poleca: xserver-xorg-video-all, xserver-xorg-input-all, laptop-detect, xresprobe, mdetect, discover1 | discover, dmidecode
Jest w konflikcie z: xserver-xfree86 (< 6.8.2.dfsg.1-1), xserver-common
Zastępuje: xserver-common
Opis: the X.Org X server
 This package depends on the full suite of the server and drivers for the X.Org X server, as well as providing a configuration
 infrastructure to manage xorg.conf.  It does not provide the actual server itself, but removing it is strongly discouraged.

Etykiety: hardware::input, hardware::video, interface::x11, network::server, role::dummy, special::meta, uitoolkit::xlib,
          use::driver, x11::xserver

kas@laptop:~$ aptitude show xserver-xorg-core
Pakiet: xserver-xorg-core
Stan: zainstalowany
Zainstalowany automatycznie: nie
Wersja: 2:1.3.0.0.dfsg-12
Priorytet: opcjonalny
Sekcja: x11
Opiekun: Debian X Strike Force <debian-x@lists.debian.org>
Rozmiar rozpakowanego: 10,4M
Wymaga: x11-common (>= 1:7.0.0), libc6 (>= 2.6-1), libdrm2 (>= 2.3.0), libfontenc1, libgcc1 (>= 1:4.2-20070516), libxau6,
        libxdmcp6, libxfont1, xserver-xorg
Poleca: xkb-data, xfonts-base
Sugeruje: xfonts-100dpi | xfonts-75dpi, xfonts-scalable
Jest w konflikcie z: xserver-xorg (< 6.8.2-38), xserver-xfree86 (< 1:7.0.0), xserver-xorg-video, xserver-common, fglrx-driver
                     (< 8.37.6)
Zastępuje: xserver-xorg (< 6.8.2-38), xserver-xfree86 (< 1:7.0.0), xserver-common
Udostępnia: xserver
Opis: X.Org X server -- core server
 The X.Org X server is an X server for several architectures and operating systems, which is derived from the XFree86 4.x
 series of X servers. 
 
 The X.Org server supports most modern graphics hardware from most vendors, and supersedes all XFree86 X servers. 
 
 The X.Org server either needs fonts installed on the local host, or needs to know of a remote hosts that provides font
 services (with xfs, for instance). The former means that fonts packages are mandatory.  The latter means that font packages
 may be gratuitous.  To err on the side of caution, install at least the xfonts-base, xfonts-100dpi or xfonts-75dpi, and
 xfonts-scalable packages. 
 
 More information about X.Org can be found at: <URL:http://xorg.freedesktop.org>
 <URL:http://lists.freedesktop.org/mailman/listinfo/xorg> 
 
 This module can be found as the module 'xserver/xorg' at :p server:anoncvs@cvs.freedesktop.org:/cvs/xorg

Etykiety: hardware::input, hardware::video, interface::x11, network::server, role: :p rogram, role::shared-lib,
          special::auto-inst-parts, uitoolkit::xlib, use::driver, x11::library, x11::xserver
Tak czy inaczej jakoś działa. :-)

Używam Totem-xine. Podczas odtwarzania DVD nie ma żadnego problemu. Jednak przyz DivX procesor jest dość mocno obciążony, a obraz lekko przeskakuje. Na moje oko FPS spada do minimalnie ~23.

----- EDIT -----

Już wiem czemu ten film lekko tnie. Otworzyłem Film >> Właściwości:
Liczba klatek na sekundę: 23 klatek/s
Zaraz sprawdzę czy z innymi jest inaczej.

Swoją drogą ten film kompresował jeszcze większy niż idiota niż ten co tłumaczył tytuł Dirty Dancing. A tak na marginesie: oko mam wyrobione... 23 klatki... wiedziałem. :-)
castor
Beginner
Posty: 119
Rejestracja: 03 sierpnia 2007, 15:47

Post autor: castor »

:shock: rzeczywiscie od 7.2 mozna bez xorg.conf, narazie tylko "intel", "radeonrandr12" and "nv" (G80).
Kas
Beginner
Posty: 138
Rejestracja: 06 kwietnia 2007, 00:04
Lokalizacja: Warszawa

Post autor: Kas »

To mi jeszcze jedno wyjaśnij:

Kod: Zaznacz cały

kas@laptop:~$ glxinfo
name of display: :0.0
display: :0  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: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: [url]www.mesa3d.org[/url]
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.1)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, 
    GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite, 
    GL_ARB_shadow, GL_ARB_shadow_ambient, 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_crossbar, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two, 
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_program, 
    GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, 
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, 
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
    GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements, 
    GL_EXT_fog_coord, GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, 
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_point_parameters, 
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, 
    GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap, GL_EXT_subtexture, 
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, 
    GL_EXT_texture_env_add, 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_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels, 
    GL_ATI_draw_buffers, GL_ATI_texture_env_combine3, 
    GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3, 
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square, 
    GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite, 
    GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program, 
    GL_NV_vertex_program1_1, GL_SGI_color_matrix, GL_SGI_color_table, 
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture, 
    GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

   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
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

Kod: Zaznacz cały

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose).
Czemu nie działa direct rendering? Przecież powinien jeżeli X.org rozpoznał kartę graficzną i załadował zintegrowany z jądrem sterownik. Przecież do grafika Intela, a nie jakieś dziwactwa nVidia lub ATI
castor
Beginner
Posty: 119
Rejestracja: 03 sierpnia 2007, 15:47

Post autor: castor »

nie wiem. Nie mam na zadnym komputerze karty Intel. Zobacz czy twoj chipset obsluguje dri: http://dri.freedesktop.org/wiki/Intel Oraz pogrzeb w dokumentacji xorg i na mailing listach moze cos znajdziesz.



Osobiscie na poczatek zrobil bym test jak to wyglada z xorg.conf. tzn. stworzyl bym xorg.conf i tam wlaczyl dri i glx
ODPOWIEDZ