[How To] Mininmal Install Lucid - pvr-testing2 with VDR VNSI plugin & VDPAU support
#46
AuxBox, your script is fantastic! Your latest script is the only way I've been able to get non juttery sound for navigation, and more importantly, sound to work at all with my video files. Unfortunately, I was messing with some settings, and seemed to break the no-juttery sound for navigation function. So I went into your script to see where this was addressed and couldn't find it. Any idea how to fix it if it gets reverted?

Also, noticed 2 errors in the script.

Line #3: The first add-apt-repositories is missing the "a" in "add"

Line #6: There's an "s" in front of "aptitude" that shouldn't be there.

Those are the only typos I found.

Then there's the last line (sed -i). It says it cannot find /etc/vdr/setup.conf

Although I think that might have to do with it not being able to find my tv-tuner card.

So I've installed Ubuntu x64 Server 10.4, then run your script (with the corrections) and things are further than I've been able to get them on my own in the last week. Thanks again for the great script.

Now I just need to figure out this SPDIF passthrough issue, and figure out how to install my V-Box Cat's Eye 150 ATSC TV Tuner card so VDR can see it.
Reply
#47
reluctantflux Wrote:AuxBox, your script is fantastic! Your latest script is the only way I've been able to get non juttery sound for navigation, and more importantly, sound to work at all with my video files. Unfortunately, I was messing with some settings, and seemed to break the no-juttery sound for navigation function. So I went into your script to see where this was addressed and couldn't find it. Any idea how to fix it if it gets reverted?
I think the sound issue is to do with the setting in xbmc

Quote:Also, noticed 2 errors in the script.
Line #3: The first add-apt-repositories is missing the "a" in "add"
Line #6: There's an "s" in front of "aptitude" that shouldn't be there.
Those are the only typos I found.
Fixed, thanks for testing, i haven't been able to test it properly

Quote:Then there's the last line (sed -i). It says it cannot find /etc/vdr/setup.conf
Although I think that might have to do with it not being able to find my tv-tuner card.
If it cannot see your card vdr won't work.

Quote:Thanks again for the great script.

Quote:Now I just need to figure out this SPDIF passthrough issue
do you won't to use spdif?
Press THANK USER if I Help
Reply
#48
Yeah, I want to passthrough my audio signal and have my AVR do the decoding. Tried changing Audio Output Device and Passthrough Device to variations of plughw:0,4 ; iec985:CARD=XFi, DEV=0 ; surround51:CARD=XFi,DEV=0

Only changed the custom stuff within XBMC. Just digging into the asound files now.

aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: XFi [Creative X-Fi], device 0: ctxfi [Front/WaveIn]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: XFi [Creative X-Fi], device 1: ctxfi [Surround]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: XFi [Creative X-Fi], device 2: ctxfi [Center/LFE]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: XFi [Creative X-Fi], device 3: ctxfi [Side]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: XFi [Creative X-Fi], device 4: ctxfi [IEC958 Non-audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=XFi
    Creative X-Fi, Front/WaveIn
    Default Audio Device
front:CARD=XFi,DEV=0
    Creative X-Fi, Front/WaveIn
    Front speakers
rear:CARD=XFi,DEV=0
    Creative X-Fi, Surround
    Rear speakers
center_lfe:CARD=XFi,DEV=0
    Creative X-Fi, Center/LFE
    Center and Subwoofer speakers
side:CARD=XFi,DEV=0
    Creative X-Fi, Side
    Side speakers
surround40:CARD=XFi,DEV=0
    Creative X-Fi, Front/WaveIn
    4.0 Surround output to Front and Rear speakers
surround41:CARD=XFi,DEV=0
    Creative X-Fi, Front/WaveIn
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=XFi,DEV=0
    Creative X-Fi, Front/WaveIn
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=XFi,DEV=0
    Creative X-Fi, Front/WaveIn
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=XFi,DEV=0
    Creative X-Fi, Front/WaveIn
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=XFi,DEV=0
    Creative X-Fi, IEC958 Non-audio
    IEC958 (S/PDIF) Digital Audio Output

and here's my /usr/share/xbmc/
Code:
# downmixing to 2 channels
pcm.xbmc_71to2 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type plug
  slave.pcm $SLAVE
  slave.channels 2
  route_policy duplicate
  ttable.0.0 1          # front left speaker
  ttable.1.1 1          # front right speaker
  ttable.2.0 0.7        # rear left speaker
  ttable.3.1 0.7        # rear right speaker
  ttable.4.0 0.7        # center to left mapping
  ttable.4.1 0.7        # center to right mapping
  ttable.5.0 0.5        # LFE (base) to left mapping
  ttable.5.1 0.5        # LFE to right mapping
  ttable.6.0 0.6        # SL to left mapping
  ttable.7.0 0.6        # SR to right mapping
}

# downmixing to 2 channels
pcm.xbmc_51to2 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type plug
  slave.pcm $SLAVE
  slave.channels 2
  route_policy duplicate
  ttable.0.0 1          # front left speaker
  ttable.1.1 1          # front right speaker
  ttable.2.0 0.7        # rear left speaker
  ttable.3.1 0.7        # rear right speaker
  ttable.4.0 0.7        # center to left mapping
  ttable.4.1 0.7        # center to right mapping
}

# downmixing to 2 channels
pcm.xbmc_50to2 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type plug
  slave.pcm $SLAVE
  slave.channels 2
  route_policy duplicate
  ttable.0.0 1          # front left speaker
  ttable.1.1 1          # front right speaker
  ttable.2.0 0.7        # rear left speaker
  ttable.3.1 0.7        # rear right speaker
  ttable.4.0 0.7        # center to left mapping
  ttable.4.1 0.7        # center to right mapping
}


Any help would be greatly appreciated. Lookin like I gotta do something about all this "downmixing to 2 channels".
Reply
#49
what happens when you do these
Code:
speaker-test -D iec958:CARD=XFi,DEV=0

Code:
aplay -D iec958:CARD=XFi,DEV=0 SURROUNDTEST_DD_640.wav
Press THANK USER if I Help
Reply
#50
AuXBoX Wrote:what happens when you do these
Code:
speaker-test -D iec958:CARD=XFi,DEV=0

I get this:
Code:
/root$ speaker-test -D iec958:CARD=XFi,DEV=0
Channels count (1) not available for playbacks: Invalid argument

speaker-test 1.0.22

Playback device is iec958:CARD=XFi,DEV=0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Setting of hwparams failed: Invalid argument

AuXBoX Wrote:
Code:
aplay -D iec958:CARD=XFi,DEV=0 SURROUNDTEST_DD_640.wav

This results in a lot of hissing in my front left speaker.
Reply
#51
I thought this is a good a place as any to ask this question;

What is happening with the pvr-testing branch, has Alwinus taken a well deserved extended holiday, presumably there shouldn't be many problems merging with the main trunk when normal service is resumed.
Reply
#52
gott_sei_dank Wrote:I thought this is a good a place as any to ask this question;

What is happening with the pvr-testing branch, has Alwinus taken a well deserved extended holiday, presumably there shouldn't be many problems merging with the main trunk when normal service is resumed.

It's just been updated!!
Press THANK USER if I Help
Reply
#53
Yeah I noticed Big Grin It works a lot better now and I'm back using vdr-testing branch from yavdr. My only issue at the moment is Iplayer not working so I'm not sure if hepi included librtmp support in his build.

edit:
I just checked the build-log and no support for librtmp Confusedad I'm also having framerate issues with HD channels and mono sound continues to be a problem in XBMC in this instance with stations broadcasting mono MP2 despite these minor quibbles, mostly excellent progress has been made and it has been well worth the wait.
Reply
#54
For my current experimental XBMC packages I have disabled rtmp support because I had problems getting the packages to compile on Launchpad with enabled rtmp. But this can change soon: I plan to include rtmp soon if possible.

Cheers,
hepi
yaVDR: HDTV and XBMC in your living room - based on Nvidia VDPAU, VDR and Ubuntu Linux
Reply
#55
Probably not the best place to post on here but my setup is pretty much identical (except I'm using Streamdev) to what is outlined in this thread.

Currently running Lucid which was upgraded via the command line from Karmic and I'm running r32595 of the pvr-testing branch.

All this works great except I'm unable to shutdown my system now. All that happens is XBMC closes, blank screen for a short while then starts again. I'm having to SSH in and shutdown from the command line.

pkaction gives me this...

Code:
xbmc@xbmc-ant:~$ pkaction
org.freedesktop.consolekit.system.restart
org.freedesktop.consolekit.system.restart-multiple-users
org.freedesktop.consolekit.system.stop
org.freedesktop.consolekit.system.stop-multiple-users
org.freedesktop.policykit.exec
org.freedesktop.policykit.lockdown
org.freedesktop.upower.hibernate
org.freedesktop.upower.qos.cancel-request
org.freedesktop.upower.qos.request-latency
org.freedesktop.upower.qos.request-latency-persistent
org.freedesktop.upower.qos.set-minimum-latency
org.freedesktop.upower.suspend

Not sure what else to do! Any ideas how to sort it?
Reply
#56
did you try
Code:
sudo apt-get install ivman
Press THANK USER if I Help
Reply
#57
AuXBoX Wrote:did you try
Code:
sudo apt-get install ivman

Yeah, no luck.

I might just try a fresh install of Lucid and XBMC PVR-Testing. Better backup my bits!
Reply
#58
How utterly annoying.

I did a full fresh install of ubuntu 10.04 minimal and followed all your instructions (including installing ivman) and it still won't shut down.
Reply
#59
It's works for me, not sure why it wouldn't for you. How are you trying to shut it down?
Press THANK USER if I Help
Reply
#60
By pressing the power button on my remote (MCE) or selecting shutdown from the shutdown menu. The shutdown option is set to shutdown and not suspend in case you were wondering.

For the moment I've made a bash script to use in XBMC that just executes "shutdown -h now" so that's a workaround for the moment.
Reply

Logout Mark Read Team Forum Stats Members Help
[How To] Mininmal Install Lucid - pvr-testing2 with VDR VNSI plugin & VDPAU support0