Archive for the ‘Linux’ Category

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

Gentoo nvidia-drivers upgrade issue

Friday, March 28th, 2008

When upgrading on an AMD64 system from nvidia-drivers 100.* to 169.* you will get the following error in your /var/log/Xorg.0.log file when you try to start X:

Backtrace:
: /usr/bin/X(xf86SigHandler+0x6d) [0x4777ed]
: /lib/libc.so.6 [0x2b999debc430]
: /usr/lib/tls/libnvidia-tls.so.1 [0x2b999fa8865e]
Fatal server error:
Caught signal 11. Server aborting

There’s an issue with a symlink going to the wrong file, which can be corrected by the following:

rm /usr/lib/tls/libnvidia-tls.so.1

ln -s /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.1 /usr/lib/tls/libnvidia-tls.so.1

To find the libnvidia-tls.so.1

equery files =x11-drivers/nvidia-drivers-169.09-r1 | grep tls

Credit goes to this forums.gentoo.org post :)