Archive for May, 2008

Yet another XvMC issue on Mythtv-0.21_p17100 ebuild

Wednesday, May 28th, 2008

Just upgraded my Mythtv box to an XFX motherboard with onboard nVidia 7150 (includes HDMI!!), and went to enable XvMC only to find out that video was extremely choppy. After examining output from mythfrontend, I noticed that xvmc-blit and xvmc-opengl were not detected, nor being loaded by mythtv. Thanks to this Gentoo Forums post, the fix is simple.

Edit /usr/portage/media-tv/mythtv-0.21_p17100.ebuild:

src_compile() {
.....
use xvmc && use video_cards_nvidia && use opengl-xvmc && \
 myconf="${myconf} --enable-xvmc --enable-xvmc-opengl --disable-xvmcw"

#Add following two lines:
use xvmc && use video_cards_nvidia && \
  myconf="${myconf} --xvmc-lib=XvMCNVIDIA --enable-xvmc --disable-xvmcw"

# nvidia-drivers-71 don't support GLX 1.4 

Then digest ebuild, and re-merge :)

Intel SS4000-E Enable SSH

Sunday, May 4th, 2008

Luckily someone located the CGI page for enabling SSHd on the SS4000-E NAS.
To enable, just navigate here (substitute XXX.XXX.XXX.XXX with internal net IP of NAS):

http://XXX.XXX.XXX.XXX/ssh_controlF.cgi

The downside is that upon rebooting the NAS, SSH will be disabled yet again, but it’s as simple as visiting the above :)

MythTV-0.21_p17100 compile fails to include nVidia XVMC Library

Sunday, May 4th, 2008

When compiled, will fail with a bunch of errors similiar to the following:

../../libs/libmythtv/libmythtv-0.21.so: undefined reference to `XvMCGetSurfaceStatus'
../../libs/libmythtv/libmythtv-0.21.so: undefined reference to `XvMCCreateMacroBlocks'

Grab the patch here.

For Gentoo, edit /usr/portage/media-tv/mythtv/mythtv-0.21_p17100.ebuild:

src_unpack() {
....
epatch /path/to/mythtv-0.21_p17100-xvmc.patch
}

Don’t forget to digest the updated ebuild!

ebuild /usr/portage/media-tv/mythtv/mythtv-0.21_p17100.ebuild digest