[mythtv-users] Mythtv 0.17 on EPIA triying to output to /dev/nvidia0

Mark Gawler markg at wler.co.uk
Sun Apr 3 15:36:16 UTC 2005


Hi,

Can anyone explain why Myth 0.17 is attempting to use an /dev/nvidia0
output device When I (Gentoo) have configured it to use Unichrome
XvMC_VLD output. The settings seem to have had some effect as the "TV
Player" settings "Use HW XVMC VLD Decoding (Via only)" is there and
selected.

My H/W is an EPIA MII 10K

When I attempt to watch TV I get a Segmentation fault,  the last few
lines of the output from 'mythfrontend -v all' is:

2005-04-03 16:03:15.107 62240 bytes free on soundcard
2005-04-03 16:03:15.111 58880 bytes free on soundcard
2005-04-03 16:03:15.115 59648 bytes free on soundcard
2005-04-03 16:03:15.116 nVidiaVideoSync: Could not open
device /dev/nvidia0, No such file or directory
Segmentation fault

Any suggestions?

The settings.pro generated by gentoo:

#CONFIG += debug
CONFIG += release

isEmpty( PREFIX ) {
    PREFIX = /usr
}

LIBVERSION = 0.17

INCLUDEPATH += $${PREFIX}/include

DEFINES += _GNU_SOURCE
DEFINES += _FILE_OFFSET_BITS=64
DEFINES += PREFIX=\"$${PREFIX}\"

release {
    contains(TARGET_ARCH_X86, yes) {
        DEFINES += MMX
        QMAKE_CXXFLAGS_RELEASE = -march=c3-2 -O2 -fomit-frame-pointer
-pipe -fno-pie
    }
    contains(TARGET_ARCH_X86_64, yes) {
        DEFINES += MMX
        QMAKE_CXXFLAGS_RELEASE = -march=c3-2 -O2 -fomit-frame-pointer
-pipe -fno-pie
    }
    contains( TARGET_ARCH_POWERPC, yes ) {
        # Do not use -O3, it causes some Qt moc methods to go missing
        QMAKE_CXXFLAGS_RELEASE = -march=c3-2 -O2 -fomit-frame-pointer
-pipe -fno-pie
    }
    QMAKE_CFLAGS_RELEASE = -march=c3-2 -O2 -fomit-frame-pointer -pipe
-fno-pie
}

LOCAL_LIBDIR_X11 =
!isEmpty( QMAKE_LIBDIR_X11 ) {
    LOCAL_LIBDIR_X11 = -L$$QMAKE_LIBDIR_X11
}
QMAKE_LIBDIR_X11 = 

EXTRA_LIBS = -lfreetype -lmp3lame

unix:linux*: {
    CONFIG  += linux backend
}
unix:freebsd*: {
    CONFIG  += freebsd backend
}

# X11 support
CONFIG += using_x11

# Default Xv support
CONFIG += using_xv
EXTRA_LIBS += $$LOCAL_LIBDIR_X11 -lXinerama -lXv -lX11 -lXext -lXxf86vm

# IVTV (PVR-x50) support
CONFIG += using_ivtv
DEFINES += USING_IVTV
# Use the installed ivtv header instead of the local copy (needs >=
v0.2)
#DEFINES += USING_IVTV_HEADER

# Default audio output, OSS.  
# Do NOT disable unless compiling on a non-linux platform.
CONFIG += using_oss

# Native ALSA support
CONFIG += using_alsa
ALSA_LIBS = -lasound

# Native ARTS support
#CONFIG += using_arts
#ARTS_LIBS = -L/opt/kde3/lib -ldl -lartsc -lpthread
#EXTRA_LIBS += -L/opt/kde3/lib -ldl -lartsc -lpthread
#INCLUDEPATH += /opt/kde3/include
# For Mandrake, use the following:
#ARTS_LIBS = -ldl -lartsc -lpthread
#EXTRA_LIBS += -ldl -lartsc -lpthread
#INCLUDEPATH += /usr/include/artsc

# Native JACK support
#CONFIG += using_jack
#JACK_LIBS += -ljack

# DVB support
#CONFIG += using_dvb
#DEFINES += USING_DVB
# Note: INCLUDEPATH should point to the directory with
#   'linux/dvb/frontend.h', not the directory with frontend.h
# Note: This _must not_ be your linux kernel source includes.  Copy the
dvb
#       includes into a separate directory for now.
#INCLUDEPATH += /usr/src/linuxtv-dvb-1.0.1/include
#define the following if you want On Air Guide information
#DEFINES += USING_DVB_EIT

# Firewire support
#CONFIG += using_firewire
#DEFINES += USING_FIREWIRE
#EXTRA_LIBS += -lraw1394 -liec61883

# Joystick menu support
CONFIG += using_joystick_menu

# Native lirc support
CONFIG += using_lirc
LIRC_LIBS = -llirc_client

# XvMC support, modify as necessary.
#CONFIG += using_xvmc
#DEFINES += USING_XVMC
#EXTRA_LIBS += -lXvMCNVIDIA -lXvMC

# 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

# DirectFB support
#CONFIG += using_directfb
#EXTRA_LIBS += `directfb-config --libs`
#QMAKE_CXXFLAGS += `directfb-config --cflags`

# Windows support
win32 {
    DEFINES += _WIN32
}

# Altivec support
contains( TARGET_ALTIVEC, yes ) {
    macx {
        QMAKE_CFLAGS   += -faltivec
        QMAKE_CXXFLAGS += -faltivec
    }
    !macx {
        QMAKE_CFLAGS   += -maltivec -mabi=altivec
        QMAKE_CXXFLAGS += -maltivec -mabi=altivec
    }
}

# DirectX support
#CONFIG += using_directx
#DEFINES += USING_DIRECTX

# OpenGL support for vertical retrace sync
DEFINES += USING_OPENGL_VSYNC
EXTRA_LIBS += -lGL -lGLU
CONFIG += using_opengl

# Allow use of XrandR to change display resolutions
CONFIG += using_xrandr
DEFINES += USING_XRANDR

################################################################
# Please keep these CONFIG blocks as the last part of this file!
# Add any new features (e.g. CONFIG+=, DEFINES+=) before them.
################################################################
# Disable the Linux defaults.
# Most developers will already know to hand-edit these out,
# but for the lazy ones who haven't, we will do it for them :-)
macx {
    CONFIG     -= using_x11
    CONFIG     -= using_xv
    EXTRA_LIBS -= $${LOCAL_LIBDIR_X11} -lXinerama -lXv -lX11 -lXext
-lXxf86vm
    CONFIG     -= using_ivtv
    DEFINES    -= USING_IVTV
    CONFIG     -= using_oss
    CONFIG     -= using_joystick_menu
}
win32 {
    CONFIG     -= using_x11
    CONFIG     -= using_xv
    EXTRA_LIBS -= $${LOCAL_LIBDIR_X11} -lXinerama -lXv -lX11 -lXext
-lXxf86vm
    CONFIG     -= using_ivtv
    DEFINES    -= USING_IVTV
    CONFIG     -= using_oss
    CONFIG     -= using_joystick_menu
}
freebsd {
    CONFIG     -= using_joystick_menu
}

################################################################
# Please keep these CONFIG blocks as the last part of this file!
# Add any new features (e.g. CONFIG+=, DEFINES+=) before them.
################################################################

-- 
Mark Gawler <markg at wler.co.uk>



More information about the mythtv-users mailing list