View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Feb 04, 2006 11:04 pm 
Offline
Joined: Sun Jan 29, 2006 8:24 am
Posts: 145
I did a auto install of knoppmyth on a laptop then reconfigured it to point the my backend server. So it is now just a front end that boots from the disk.

I managed to get wireless working today and all seems well, exept the video plays for 5 seconds or so, then begins pausing every second or 2 after that.

This occurs with out any difference when the wireless is connected any where from 24MB to 54MB, so I don't belive it is a bandwith issue. This happens with 2 different wireless adapters. One is a linksys WUSB54G v1, the other is a SMC28534. The linksys was set up using ndiswrapper and the other using prism54 drivers.

If this same laptop is connected via 100MB wired adapter to the same router. The video plays fine.

Is there something I'm missing? Is there something I can look at to see what is going on? I don't see any logs being updated during playback.



Thanks to everyone here for helping me get this far.

_________________
KnoppMyth R5B7
Asus P4P800-VM
P4 2.4 Ghz - 1GB RAM
PVR-150 - HD-5000
Geforce FX 5200


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 05, 2006 9:23 am 
Offline
Joined: Sun Jan 29, 2006 8:24 am
Posts: 145
I have a theory. The video is being interupted as the wireless adapter changes it't bitrate on the fly. I am trying to force the bitrate to 24M becuase I know I can sustain that without a problem.

When I run iwconfig wlan0 rate 24, the command is accepted.

iwconfig wlan0 reports the bit rate has been changed, but it says...
Bit Rate:24 Mb/s which means it can change.

I am expecting it to report Bit Rate=24 MB/s as described in the man page. Wich would indicate that it will not change.

As a result of the above, the interface does not stay at 24M it increases to 54M and then varies between 36M and 54M.

How do I force this interface to 24M and keep it there?

Another question, the Tx excessive retries:2120 Invalid misc:13434 shown by iwconfig increase continuously while trying to watch live tv or a recording. Is this something that needs to be corected or is this normal?

Thanks
mike

Code:

root@mythlaptop:~# iwconfig wlan0 rate 24M
root@mythlaptop:~# iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"myssid"
          Mode:Auto  Frequency:2.427 GHz  Access Point: 00:0F:66:2A:AA:EC
          Bit Rate:24 Mb/s
          RTS thr:2432 B   Fragment thr:2346 B
          Encryption key:????-????-?? Security mode:restricted
          Power Management:off
          Link Quality:96/100  Signal level:-60 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2105  Invalid misc:12883   Missed beacon:0

root@mythlaptop:~# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

auto lo
iface lo inet loopback



auto wlan0

iface wlan0 inet dhcp
   #wireless_mode managed
   wireless_mode auto
   wireless_rate 24M
   wireless_essid myssid
   wireless_key ????????

_________________
KnoppMyth R5B7
Asus P4P800-VM
P4 2.4 Ghz - 1GB RAM
PVR-150 - HD-5000
Geforce FX 5200


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 05, 2006 12:18 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Last time I did the calculations a normal MPEG-2 video stream, from a PVR card using the default profile, ran about 5Mbits/sec, just for the data before we even talk about protocol overhead, and that is already pushing it with most wireless adaptors. Add the fact that the stated throughput for a wireless adapter is an "average" and that video playback is a a "realtime" application that isn't tolerant of "lumpy" data delivery (which that average hides) and a little light bub should be going off...

Scan through the settings pages and look for the settings related to buffering. I don't remember the exact wording something about "extra buffering". Enabling this should help smooth things out.

Someday (in my "copious free time" ;-)) I need to write a wiki page about the implications of the realtime nature of video/audio recording and playback that I can point folks at...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 05, 2006 2:54 pm 
Offline
Joined: Sun Jan 29, 2006 8:24 am
Posts: 145
Thanks for the info. I'll try that when I get home.

I can't help but think a bigger buffer is a bandaid for the underlying network problem. I have great signal strength but those excesive retries are bothering me.

I also have problems if I mount the /myth file system from my backend onto my frontend and access a large file. If I go into /myth/tv and cat a large file to /dev/null I get NFS not responding errors. This should not be happening.

I may start over with a standard linux dist and get the wireless working, then install mythtv and get that working. It was just so easy to do it with the auto install. I'd rather do it using the knoppmyth distro, so I can write a detailed howto for the 2 adapters I have.

Thanks again to tjc
mike

_________________
KnoppMyth R5B7
Asus P4P800-VM
P4 2.4 Ghz - 1GB RAM
PVR-150 - HD-5000
Geforce FX 5200


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 05, 2006 3:53 pm 
Offline
Joined: Sun Jan 29, 2006 8:24 am
Posts: 145
If I'm looking at the right thing, extra buffering was already turned on.

The setting I saw was "Utilities/Setup/TV Settings/Playback/General playback/Extra audio buffering".

This setting sounds like it is for audio, I would think I would want to be buffering more video as well.


I also turned on aggressive buffering for the audio and tried adding cache=1024 in /home/mythtv/.mplayer/config as suggested in another thread.

_________________
KnoppMyth R5B7
Asus P4P800-VM
P4 2.4 Ghz - 1GB RAM
PVR-150 - HD-5000
Geforce FX 5200


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu