<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>Can someone point me
in the right direction? Reviewing the users thread I don't see an answer to
this.</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>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).</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>Here's the steps I
have taken:</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>1. Built a linux
kernel from source to mirror Terry Barnaby's:
2.6.9-1.724_FC3</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
Made sure agpgart and via_agp were selected (as modules)</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
I see these loaded with lsmod</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>2. Built X.org
X11R6.8.2 from source per instructions on <A
href="http://dri.freedesktop.org/wiki/Building">http://dri.freedesktop.org/wiki/Building</A></FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
Used latest official source release, not CVS</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
Used DRM from CVS</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
Used Mesa from CVS</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
Result: Able to modprobe drm and see it load</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>3. Built via driver
and XvMC per Tarry's ""Unichrome Mini-Howto" article at <A
href="http://sourceforge.net/docman/display_doc.php?docid=21910&group_id=102048">http://sourceforge.net/docman/display_doc.php?docid=21910&group_id=102048</A></FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
For the via driver I used Unichrome-X-r30 (an official build) instead of
CVS</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
For the XvMC driver I used release-0.13.3 instead of CVS</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
Result: X seems to start OK</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>4. Followed the
"Unichrome 3D-HOWTO" article by Jaxon Lee at <A
href="http://sourceforge.net/docman/display_doc.php?docid=26963&group_id=102048">http://sourceforge.net/docman/display_doc.php?docid=26963&group_id=102048</A></FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
Result: StartX works, glxinfo indicates "direct rendering: Yes", glxgears shows
gears just fine, frame rate around 200fps</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>5. Built MythTV 0.17
from source per instructions</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial size=2>-
Made sure the XvMC_VLD lines were uncommented in
settings.pro:</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2> # XvMC_VLD support,
modify as necessary. Incompatible with normal XvMC
support.<BR> # Used for hardware
accelerated decoding on VIA EPIA-M (and other)
boards.<BR> CONFIG += using_xvmc
using_xvmc_vld<BR> DEFINES +=
USING_XVMC USING_XVMC_VLD<BR>
EXTRA_LIBS += -lviaXvMC -lXvMC</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>Here's some
supporting materials:</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>A. lsmod
listing:</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>
Module
Size Used by<BR> via
35296 3 <BR>
drm
74776 4 via</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>
...</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005></SPAN><SPAN class=621023219-20032005><FONT
face=Arial size=2>
via_agp
9600 1 <BR>
agpgart
32704 2 drm,via_agp</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>B. Xorg.0.log
exceprts:</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>
...</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>drmOpenByBusid:
Searching for BusID PCI:1:0:0<BR>drmOpenDevice: node name is
/dev/dri/card0<BR>drmOpenDevice: open result is 8, (OK)<BR>drmOpenByBusid:
drmOpenMinor returns 8<BR>drmOpenByBusid: drmGetBusid reports
pci:0000:01:00.0<BR>(II) VIA(0): [drm] loaded kernel module for "via"
driver<BR>(II) VIA(0): [drm] DRM interface version 1.2<BR>(II) VIA(0): [drm]
created "via" driver at busid "PCI:1:0:0"</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005> <FONT face=Arial
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>(II) VIA(0):
VIAInternalScreenInit<BR>(II) VIA(0): Using XFree86 Acceleration Architecture
(XAA)<BR> Screen to screen bit
blits<BR> Solid filled
rectangles<BR> 8x8 mono pattern filled
rectangles<BR> 8x8 color pattern
filled rectangles<BR>...</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>(==) VIA(0): Backing
store disabled<BR>(**) Option "dpms"<BR>(**) VIA(0): DPMS enabled<BR>(II)
VIA(0): [drm] drmAgpEnabled succeeded<BR>...</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>(II) VIA(0): [drm]
agp physical addr = 0x00000000<BR>(II) VIA(0): [dri] use agp.<BR>(II) VIA(0):
[drm] FBFreeStart= 0x00640000 FBFreeEnd= 0x01fbe000 FBSize= 0x0197e000<BR>(II)
VIA(0): [dri] frame buffer initialized.<BR>(II) VIA(0): X context handle =
0x00000001<BR>(II) VIA(0): [drm] installed DRM signal handler<BR>(II) VIA(0):
[DRI] installation complete<BR>(II) VIA(0): [dri] kernel data
initialized.<BR>(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at
AGP offset 0x1e00000.<BR>(II) VIA(0): direct rendering
enabled</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>(--) VIA(0): Using
3DNow! YUV42X copy for video.<BR>(II) VIA(0): [XvMC] Initialized XvMC
extension.<BR>(==) RandR enabled<BR>(II) Setting vga for screen
0.</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2>...</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>C. Permissions on
card0:</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>crw-rw-rw- 1
root root 226, 0 Mar 20 10:56 /dev/dri/card0</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>D. Glxinfo
output:</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>libGL:
XF86DRIGetClientDriverName: 4.1.30 unichrome (screen 0)<BR>libGL: OpenDriver:
trying /usr/X11R6/lib/modules/dri/unichrome_dri.so<BR>drmOpenByBusid: Searching
for BusID PCI:1:0:0<BR>drmOpenDevice: node name is
/dev/dri/card0<BR>drmOpenDevice: open result is 4, (OK)<BR>drmOpenByBusid:
drmOpenMinor returns 4<BR>drmOpenByBusid: drmGetBusid reports
pci:0000:01:00.0<BR>__driCreateNewScreen - succeeded<BR>libGL error:<BR>Can't
open configuration file /etc/drirc: No such file or directory.<BR>libGL
error:<BR>Can't open configuration file /root/.drirc: No such file or
directory.<BR>name of display: :0.0<BR>display: :0 screen: 0<BR>direct
rendering: Yes<BR>server glx vendor string: SGI<BR>server glx version string:
1.2<BR>server glx extensions:<BR> GLX_ARB_multisample,
GLX_EXT_visual_info, GLX_EXT_visual_rating,<BR>
GLX_EXT_import_context, GLX_OML_swap_method,
GLX_SGI_make_current_read,<BR> GLX_SGIS_multisample,
GLX_SGIX_fbconfig<BR>client glx vendor string: SGI<BR>client glx version string:
1.4<BR>client glx extensions:<BR> GLX_ARB_get_proc_address,
GLX_ARB_multisample, GLX_EXT_import_context,<BR>
GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_allocate_memory,<BR> GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method,<BR>
GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_SGI_swap_control,<BR> GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig,<BR> GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group<BR>GLX extensions:<BR>
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_import_context,<BR> GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_MESA_swap_control,<BR>
GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_SGI_video_sync,<BR> GLX_SGIS_multisample,
GLX_SGIX_fbconfig<BR>OpenGL vendor string: VIA Technology<BR>OpenGL renderer
string: Mesa DRI CastleRock (CLE266) 20041215 x86/MMX/3DNow!<BR>OpenGL version
string: 1.2 Mesa 6.3<BR>OpenGL extensions:</FONT></SPAN></DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>
GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters,<BR> GL_ARB_texture_env_add,
GL_ARB_texture_env_combine,<BR>
GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,<BR>
GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color,<BR> GL_EXT_blend_minmax,
GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,<BR>
GL_EXT_compiled_vertex_array, GL_EXT_convolution,
GL_EXT_copy_texture,<BR> GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_histogram,<BR> GL_EXT_packed_pixels,
GL_EXT_point_parameters, GL_EXT_polygon_offset,<BR>
GL_EXT_rescale_normal, GL_EXT_secondary_color,<BR>
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap,
GL_EXT_subtexture,<BR> GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp,<BR> GL_EXT_texture_env_add,
GL_EXT_texture_env_combine,<BR> GL_EXT_texture_lod_bias,
GL_EXT_texture_object, GL_EXT_vertex_array,<BR>
GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,<BR>
GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos,
GL_NV_blend_square,<BR> GL_NV_light_max_exponent,
GL_NV_texgen_reflection, GL_OES_read_format,<BR>
GL_SGI_color_matrix, GL_SGI_color_table,
GL_SGIS_texture_edge_clamp,<BR> GL_SGIS_texture_lod<BR>glu
version: 1.3<BR>glu extensions:<BR> GLU_EXT_nurbs_tessellator,
GLU_EXT_object_space_tess</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=621023219-20032005><FONT face=Arial size=2>
visual x bf lv rg d st colorbuffer ax dp st accumbuffer
ms cav<BR> id dep cl sp sz l ci b ro r g
b a bf th cl r g b a ns b
eat<BR>----------------------------------------------------------------------<BR>0x22
24 tc 0 32 0 r y . 8 8 8 8
0 24 8 0 0 0 0 0 0 None<BR>0x23 24 tc
0 32 0 r . . 8 8 8 8 0 24
8 0 0 0 0 0 0 None<BR>0x24 24 tc 0 32
0 r y . 8 8 8 8 0 16 0
0 0 0 0 0 0 None<BR>0x25 24 tc 0 32 0
r . . 8 8 8 8 0 16 0
0 0 0 0 0 0 None<BR>0x26 24 tc 0 32 0
r y . 8 8 8 8 0 0 0
0 0 0 0 0 0 None<BR>0x27 24 tc 0 32 0
r . . 8 8 8 8 0 0 0
0 0 0 0 0 0 None<BR>0x28 24 tc 0 32 0
r y . 8 8 8 8 0 24 8 16 16 16
16 0 0 Slow<BR>0x29 24 tc 0 32 0 r . .
8 8 8 8 0 24 8 16 16 16 16 0 0 Slow<BR>0x2a
24 tc 0 32 0 r y . 8 8 8 8
0 16 0 16 16 16 16 0 0 Slow<BR>0x2b 24 tc 0 32 0 r
. . 8 8 8 8 0 16 0 16 16 16 16 0
0 Slow<BR>0x2c 24 tc 0 32 0 r y . 8 8
8 8 0 0 0 16 16 16 16 0 0 Slow<BR>0x2d 24 tc
0 32 0 r . . 8 8 8 8 0
0 0 16 16 16 16 0 0 Slow</FONT></SPAN></DIV></BODY></HTML>