vdr softdevice scattoso.

Forum principale per problemi di compilazione, installazione, configurazione etc.

Moderatori: ragno, tapino, alez, zulu, davidea

Rispondi
Pettine
Messaggi: 60
Iscritto il: 22 lug 2008, 10:40

vdr softdevice scattoso.

Messaggio da Pettine »

Ciao a tutti, ho compilato vdr e softdevice su jaunty senza problemi.
I problemi arrivano nella visione, è molto lento e scattoso, e sinceramente non so a cosa attaccarmi o provato anche xineliboutput e stesso risultato. Nessun output dal terminale e consumo della cpu sotto controllo.
Compilato anche con tutte le versioni presenti di gcc e softdevice cvs, ma stesso risultato.
dual core amd e scheda video nvidia.

Vi prego aiuto :(
Stef
Messaggi: 297
Iscritto il: 23 gen 2007, 18:57

Re: vdr softdevice scattoso.

Messaggio da Stef »

Ho avuto gli stessi problemi con softdevice. Sul portatile ho una scheda ati Xpress 200M. L'ho risolto installando i driver originali, quelli forniti con ubuntu avevano qualche problema.

Ciao
Vdr-HD headless (in preparazione), YaVDR 0.3 su portatile, Vu+ Duo in salotto
Enjoy with Linux, it's free ;)
Pettine
Messaggi: 60
Iscritto il: 22 lug 2008, 10:40

Re: vdr softdevice scattoso.

Messaggio da Pettine »

Stef ha scritto:Ho avuto gli stessi problemi con softdevice. Sul portatile ho una scheda ati Xpress 200M. L'ho risolto installando i driver originali, quelli forniti con ubuntu avevano qualche problema.

Ciao
per driver originale dici quelli forniti direttamente da nvidia?
quando ho dato .configure nei sorgenti di softdevice ho avuto un errore con libavcodec, ma make-plugins ha compilato lo stesso sofdevice.

può dipendere anche da quello?
Pettine
Messaggi: 60
Iscritto il: 22 lug 2008, 10:40

Re: vdr softdevice scattoso.

Messaggio da Pettine »

un'altra cosa vdr consuma meno ram e cpu che su intrepid, è molto probabile che sia questione di codec.

ecco un po di output :D

Codice: Seleziona tutto

 stefano sabatini: stefano@stefano-desktop:~/Programmi/vdr-1.6.0.p2$ ./vdr -P"softdevice -vo xv: -ao alsa:"
softdevice: Created setupStoreId 819211!
softdevice: Attatched to setupStoreId 819211 at 0xb7942000.
[softdevice] processing args
[softdevice]   argv [0] = softdevice
[softdevice]   argv [1] = -vo
[softdevice]   argv [3] = -ao
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg build(3412992)
[XvVideoOut]: osd_image shmid = 851980
[XvVideoOut]: got osd_image: width 1680 height 1050, bytes per line 6720, Bpp 32
[XvVideoOut]: max area size 2046 x 2046
[XvVideoOut]: using area size 736 x 576
[softdevice] Subplugin successfully opend
[softdevice] Video Out seems to be OK
[softdevice] Initializing Audio Out
[softdevice] Audio out seems to be OK
[softdevice] A/V devices initialized, now initializing MPEG2 Decoder
18:07:17.0409 D [3605] [VideoOut] reset: sync info: repF = 0, drpF = 0, totF = 0
[XvVideoOut]: max area size 2046 x 2046
[XvVideoOut]: using area size 752 x 608
ALSA lib pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM CH2

e questo è il configure di softdevice:

Codice: Seleziona tutto

 stefano sabatini: Testing system and cpu type... found Linux on i386 cpu.
Checking for pkg-config... Found.
Checking for ffmpeg... Ok.
Checking for ffmpeg/libswscale... Using libswscale.
Checking for pp_postprocess 1st arg ... is: const uint8_t **
Checking ffmpeg for member of AVCodecContext: error_recognition ...  'error_recognition' found
Checking for ALSA sound... Enabled audio-alsa.
Checking for OSS sound... Enabled audio-oss.
Checking for linux frambuffer... Enabled video-fb.
Checking for yaepg patch... Not Found.
Checking for DirectFB and DFB++... Not Found.
Checking for vidix... Not found.
Checking for Xv... Enabled video-xv.
Checking for Xinerama... Not found.
Creating temporary config.h and config.mak
config.h is unchanged
config.mak is unchanged
Configure is finished. Please check config.log in case of problems.[code]
Pettine
Messaggi: 60
Iscritto il: 22 lug 2008, 10:40

Re: vdr softdevice scattoso.

Messaggio da Pettine »

Ciao, ho installato i driver nvidia originali, ma non è cambaito nulla, anzi non lo fa solo con vdr ma anche con kaffeine.
Da cosa può dipendere?

un'idea anche piccina :(
Pettine
Messaggi: 60
Iscritto il: 22 lug 2008, 10:40

Re: vdr softdevice scattoso.

Messaggio da Pettine »

con softdevice normale invece ho questo errore:

Codice: Seleziona tutto

Plugin softdevice:
make[1]: ingresso nella directory «/home/stefano/Programmi/vdr/PLUGINS/src/softdevice»
g++ -MM -MG -DHAVE_CONFIG -D__STDC_CONSTANT_MACROS -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DSHM_SUPPORT -I../../../include -I../../../../DVB/include  softdevice.c utils.c i18n.c video.c mpeg2decoder.c audio.c video-dummy.c setup-softdevice.c setup-softdevice-menu.c setup-softlog.c setup-softlog-menu.c sync-timer.c SoftOsd.c PicBuffer.c VideoFilter.c audio-alsa.c audio-ac3pt.c audio-oss.c > .dependencies
make[1]: uscita dalla directory «/home/stefano/Programmi/vdr/PLUGINS/src/softdevice»
make[1]: ingresso nella directory «/home/stefano/Programmi/vdr/PLUGINS/src/softdevice»
g++ -O2 -g -Wall -fPIC -Woverloaded-virtual   -c -DHAVE_CONFIG -D__STDC_CONSTANT_MACROS -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DSHM_SUPPORT -I../../../include -I../../../../DVB/include  softdevice.c
In file included from video.h:25,
                 from mpeg2decoder.h:30,
                 from softdevice.h:17,
                 from softdevice.c:8:
PicBuffer.h:59: warning: ‘typedef’ was ignored in this declaration
In file included from softdevice.h:17,
                 from softdevice.c:8:
mpeg2decoder.h:315: error: ‘offset_t’ has not been declared
softdevice.c: In constructor ‘cSoftDevice::cSoftDevice(int, int, char*)’:
softdevice.c:188: warning: deprecated conversion from string constant to ‘char*’
softdevice.c:194: warning: deprecated conversion from string constant to ‘char*’
softdevice.c:209: warning: deprecated conversion from string constant to ‘char*’
softdevice.c: In member function ‘void cSoftDevice::LoadSubPlugin(char*, char*)’:
softdevice.c:343: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result
softdevice.c: In constructor ‘cPluginSoftDevice::cPluginSoftDevice()’:
softdevice.c:819: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [softdevice.o] Errore 1
make[1]: uscita dalla directory «/home/stefano/Programmi/vdr/PLUGINS/src/softdevice»
davidea
Messaggi: 1279
Iscritto il: 16 ago 2009, 13:32
Località: Palermo
Contatta:

Re: vdr softdevice scattoso.

Messaggio da davidea »

la riga d' errore e' :

mpeg2decoder.h:315: error: ‘offset_t’ has not been declared

cercando con google esce questo link

http://lists.berlios.de/pipermail/softd ... 03159.html

dove spiegano che recentemente ffmpeg e' cambiato ed e' sparito un tipo di dato chiamato offset_t , quindi bisogna applicare a softdevice la patch che dicono loro, e' nello stesso messaggio, attachment.bin
salvalo e rinominalo in cvs.patch
poi dalla dir sorgente di cvs ove sta il file mpeg2decoder.h dai
patch -p0 < cvs.patch

non ho testato la procedura, ma dovrebbe andare.
Rispondi