ubuntu problems
-
- Posts: 10
- Joined: Fri Jun 29, 2007 6:37 am
ubuntu problems
I am trying to get my proyect running but no way. LAst week tried with debian and didnt work also.
I have a PV149 from blackberry card. I installed it today on ubuntu gutsy, went through all the process, everything seems to work, but on ntsc just get a black screen and on pal get a b/w image and only shows about 80% of the vertical image.
Already went to the wiki with the shared memory topic, chmod's, check every log and nothing seems to be wrong. But when I run xawtv and switch to pal and back to ntsc suddenly start to get beautiful color pictures.
Can someone give me a little help.
I have a PV149 from blackberry card. I installed it today on ubuntu gutsy, went through all the process, everything seems to work, but on ntsc just get a black screen and on pal get a b/w image and only shows about 80% of the vertical image.
Already went to the wiki with the shared memory topic, chmod's, check every log and nothing seems to be wrong. But when I run xawtv and switch to pal and back to ntsc suddenly start to get beautiful color pictures.
Can someone give me a little help.
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
Is it really an Ubuntu problem?
(Speaking as the package mainainer for Debian/Ubuntu)
You've listed it as an "ubuntu problem". You mention trying on debian (effectively same package) and having it fail there too. Now what you don't say is whether you've tried it on anything else, e.g.
However if you have had it working on a different zoneminder install, let me know and we can start working through the problem in detail.
PJH
You've listed it as an "ubuntu problem". You mention trying on debian (effectively same package) and having it fail there too. Now what you don't say is whether you've tried it on anything else, e.g.
- Fedora/Redhat ?
The "live cd" ?
However if you have had it working on a different zoneminder install, let me know and we can start working through the problem in detail.
PJH
-
- Posts: 10
- Joined: Fri Jun 29, 2007 6:37 am
I just run the bluecherry live cd and it's works 100%. Color images, smooth pictures, no lines. I used to have install debian/ubuntu from scratch, when through your shared memory wiki and the shared memory error from logs was removed. And no more errors on the logs but still no good images just b/w+cut image on pal and black images on NTSC.
on /etc/modprobe.d/bttv I put the tuner = 2,2,2,2 the card onto 98 that is the one detected by the kernel.
But when I run xawtv and switch to pal and back to ntsc everything just works great until I reboot.
What else can do you need to get into the problem?
thx
on /etc/modprobe.d/bttv I put the tuner = 2,2,2,2 the card onto 98 that is the one detected by the kernel.
But when I run xawtv and switch to pal and back to ntsc everything just works great until I reboot.
What else can do you need to get into the problem?
thx
Boot the live CD, and copy /etc/modprobe.d/options to a thumb drive. Now put it in your real system.
Also, suid zmfix.
Edit /etc/sysctl.conf and add the following lines (for 128meg shared mem)
Now we should have a stable platform. If something else is wrong, we can find it.
Also, suid zmfix.
Code: Select all
sudo chmod 4755 /usr/bin/zmfix
Code: Select all
kernel.shmall = 134217728
kernel.shmmax = 134217728
-
- Posts: 10
- Joined: Fri Jun 29, 2007 6:37 am
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Lee,
Is the options file not moved installed by default?
Is the options file not moved installed by default?
Lee Sharp wrote:Boot the live CD, and copy /etc/modprobe.d/options to a thumb drive. Now put it in your real system.
Also, suid zmfix.Edit /etc/sysctl.conf and add the following lines (for 128meg shared mem)Code: Select all
sudo chmod 4755 /usr/bin/zmfix
Now we should have a stable platform. If something else is wrong, we can find it.Code: Select all
kernel.shmall = 134217728 kernel.shmmax = 134217728
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
I'm guessing that the bit above:
Is that correct - you did a scratch install? What options did you give configure?
PJH
(On an unrelated note, I seem not to be getting notifications on this thread - anyone else seeing problems with this?)
is the giveaway.I used to have install debian/ubuntu from scratch,
Is that correct - you did a scratch install? What options did you give configure?
PJH
(On an unrelated note, I seem not to be getting notifications on this thread - anyone else seeing problems with this?)
This is what I did to get that to work.
My system:
Debian
PV-149
When I reboot I get the same thing as above. Black images. My /etc/modprobe.d/bttv is
options bttv card=98,98,98,98 tuner=2,2,2,2
Same black images but when I go to xawtv and reset NTSC --> PAL and then back again I get great images. So I wrote this startup script to control this at bootup.
cd /etc/init.d
sudo nano setvideo.sh
sudo v4lctl -c /dev/video0 setnorm PAL
sudo v4lctl -c /dev/video0 setnorm NTSC
sudo v4lctl -c /dev/video1 setnorm PAL
sudo v4lctl -c /dev/video1 setnorm NTSC
sudo v4lctl -c /dev/video2 setnorm PAL
sudo v4lctl -c /dev/video2 setnorm NTSC
sudo v4lctl -c /dev/video3 setnorm PAL
sudo v4lctl -c /dev/video3 setnorm NTSC
Save that file. Then:
sudo chmod 777 /etc/init.d/setvideo.sh
sudo update-rc.d setvideo.sh start 40 S . stop 89 0 6 .
Reboot!!! Now everything should come up fine.
Debian
PV-149
When I reboot I get the same thing as above. Black images. My /etc/modprobe.d/bttv is
options bttv card=98,98,98,98 tuner=2,2,2,2
Same black images but when I go to xawtv and reset NTSC --> PAL and then back again I get great images. So I wrote this startup script to control this at bootup.
cd /etc/init.d
sudo nano setvideo.sh
sudo v4lctl -c /dev/video0 setnorm PAL
sudo v4lctl -c /dev/video0 setnorm NTSC
sudo v4lctl -c /dev/video1 setnorm PAL
sudo v4lctl -c /dev/video1 setnorm NTSC
sudo v4lctl -c /dev/video2 setnorm PAL
sudo v4lctl -c /dev/video2 setnorm NTSC
sudo v4lctl -c /dev/video3 setnorm PAL
sudo v4lctl -c /dev/video3 setnorm NTSC
Save that file. Then:
sudo chmod 777 /etc/init.d/setvideo.sh
sudo update-rc.d setvideo.sh start 40 S . stop 89 0 6 .
Reboot!!! Now everything should come up fine.
- wildpossum
- Posts: 38
- Joined: Wed Jul 04, 2007 5:40 am
- Location: Sydney - AUSTRALIA