[mythtv-users] Epia M: LiveTV blank

Bill Weir bill.weir at outsourceadvice.com
Sun Mar 20 20:40:22 UTC 2005


Can someone point me in the right direction? Reviewing the users thread I
don't see an answer to this.
 
I'm trying to get MythTV to work on an Epia-M client with Unichrome HW MPEG
accelleration, with the video feed on a separate backend. When I pull up
LiveTV I get a blank screen. I can ESC out of it, and when I go to exit out
of mythfrontend, it won't let me exit. I want to be able to hit LiveTV and
see live TV. I know it's possible (not a backend problem) because I tried
installing MythTV 0.17 from RPM's and it all worked, except I got a frame
rate of 2 - 3 frames per second (it wasn't using hardware acceleration).
 
Here's the steps I have taken:
 
1. Built a linux kernel from source to mirror Terry Barnaby's:
2.6.9-1.724_FC3
    - Made sure agpgart and via_agp were selected (as modules)
    - I see these loaded with lsmod
 
2. Built X.org X11R6.8.2 from source per instructions on
http://dri.freedesktop.org/wiki/Building
    - Used latest official source release, not CVS
    - Used DRM from CVS
    - Used Mesa from CVS
    - Result: Able to modprobe drm and see it load
 
3. Built via driver and XvMC per Tarry's ""Unichrome Mini-Howto" article at
http://sourceforge.net/docman/display_doc.php?docid=21910
<http://sourceforge.net/docman/display_doc.php?docid=21910&group_id=102048>
&group_id=102048
    - For the via driver I used Unichrome-X-r30 (an official build) instead
of CVS
    - For the XvMC driver I used release-0.13.3 instead of CVS
    - Result: X seems to start OK
 
4. Followed the "Unichrome 3D-HOWTO" article by Jaxon Lee at
http://sourceforge.net/docman/display_doc.php?docid=26963
<http://sourceforge.net/docman/display_doc.php?docid=26963&group_id=102048>
&group_id=102048
    - Result: StartX works, glxinfo indicates "direct rendering: Yes",
glxgears shows gears just fine, frame rate around 200fps
 
5. Built MythTV 0.17 from source per instructions
    - Made sure the XvMC_VLD lines were uncommented in settings.pro:
        # XvMC_VLD support, modify as necessary. Incompatible with normal
XvMC support.
        # Used for hardware accelerated decoding on VIA EPIA-M (and other)
boards.
        CONFIG += using_xvmc using_xvmc_vld
        DEFINES += USING_XVMC USING_XVMC_VLD
        EXTRA_LIBS += -lviaXvMC -lXvMC
 
Here's some supporting materials:
A. lsmod listing:
    Module                  Size  Used by
    via                    35296  3 
    drm                    74776  4 via
    ...
    via_agp                 9600  1 
    agpgart                32704  2 drm,via_agp
    ...
 
B. Xorg.0.log exceprts:
    ...
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) VIA(0): [drm] loaded kernel module for "via" driver
(II) VIA(0): [drm] DRM interface version 1.2
(II) VIA(0): [drm] created "via" driver at busid "PCI:1:0:0"
    ...
(II) VIA(0): VIAInternalScreenInit
(II) VIA(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        8x8 color pattern filled rectangles
...
(==) VIA(0): Backing store disabled
(**) Option "dpms"
(**) VIA(0): DPMS enabled
(II) VIA(0): [drm] drmAgpEnabled succeeded
...
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
(II) VIA(0): [drm] FBFreeStart= 0x00640000 FBFreeEnd= 0x01fbe000 FBSize=
0x0197e000
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x00000001
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at AGP offset
0x1e00000.
(II) VIA(0): direct rendering enabled
...
(--) VIA(0): Using 3DNow! YUV42X copy for video.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(==) RandR enabled
(II) Setting vga for screen 0.
...
 
C. Permissions on card0:
crw-rw-rw-  1 root root 226, 0 Mar 20 10:56 /dev/dri/card0
 
D. Glxinfo output:
libGL: XF86DRIGetClientDriverName: 4.1.30 unichrome (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/unichrome_dri.so
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
__driCreateNewScreen - succeeded
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /root/.drirc: No such file or directory.
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
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_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
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_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 extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: VIA Technology
OpenGL renderer string: Mesa DRI CastleRock (CLE266) 20041215 x86/MMX/3DNow!
OpenGL version string: 1.2 Mesa 6.3
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
    GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_histogram,
    GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, 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_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
    GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos, GL_NV_blend_square,
    GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format,
    GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
 
   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
----------------------------------------------------------------------
0x22 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x23 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0  0  0  0  0  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 Slow
0x2b 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 Slow
0x2c 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050320/51ce2a95/attachment.htm


More information about the mythtv-users mailing list