View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Jun 21, 2004 1:04 pm 
Offline
Joined: Tue Apr 06, 2004 3:47 pm
Posts: 1
Please I need help!!.
I get following error
fbdev: Can't open /dev/fb0: Permission denied <---- fbdev is trying to write to fb0 instead of fb1

Software :
KnoppMyth R4V4.1
Hardware :
VIA Samuel 2 800MHz
Hauppauge PVR350

Mythtv 15.1 menu shows up fine on my TV.
But Video doesn't show up (In MythVideo it says loading ... then after
few seconds comes back to MythVideo screen ).

I could reproduce the same problem by doing a
export DISPLAY=:0
and then by running command
mplayer -vo fbdev test.mpg
I get error message (see below for more detail messages)
fbdev: Can't open /dev/fb0: Permission denied
Error opening/initializing the selected video_out (-vo) device.

Why is fbdev trying to write to /dev/fb0, it should be
writing to PVR350's framebuffer /dev/fb1.
In XF86Config-4 I have defined fbdev to link to /dev/fb1
Please see below for XF86Config-4 configuration.


I have gone through forums and found few threads links having similar problem.

http://mysettopbox.tv/phpBB2/viewtopic.php?t=697
http://mysettopbox.tv/phpBB2/viewtopic.php?t=1317
http://mysettopbox.tv/phpBB2/viewtopic. ... sc&start=0

Followed all instructions specified in these threads.

I had to recompile Mplayer 'coz of 'Illegal Instruction' error message.
Also I followed 'wlemmers' (http://mysettopbox.tv/phpBB2/viewtopic.php?t=697) suggestions.
deleted /dev/fb0autodetect and /dev/fb1 and created /dev/fb1
This also didn't work for me.

The only thing that I haven't done is recompiling 'ivtv'
I am struck here. Please help me out.

====================START :Details ==========================

XF86Config-4
~~~~~~~~~~~~~
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
# Driver "fbdev"
Driver "fbdev"

### change fb1 to whatever number you got in the previous section
Option "fbdev" "/dev/fb1"

### change the busid to whatever is reported by lspci. Note that
### output of lspci is hex, so add a preceding "0x" to the BusID
BusID "0:0x14:0"
EndSection
===============================================
/etc/mythtv/modules/ivtv
~~~~~~~~~~~~~~~~~~~~~~~~~~
alias char-major-81 videodev
alias char-major-61 lirc_i2c
options ivtv debug=1
options tuner type=2
options saa7127 enable_output=1 output_select=0
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv lirc_dev lirc_i2c ivtv-fb

==================================================
/etc/mythtv/modules/ivtv0
~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias char-major-81-0 ivtv

===============================================================
Mplayer error messages
~~~~~~~~~~~~~~~~~~~~~~~
sh-2.05b$ mplayer -vo fbdev test.mpg
MPlayer 0.92-3.3.2 (C) 2000-2003 MPlayer Team
CPU: IDT/Centaur/VIA (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/mythtv/.mplayer/config
Reading /home/mythtv/.mplayer/codecs.conf: can't open '/home/mythtv/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
Font /home/mythtv/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /home/mythtv/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...

Playing test.mpg
MPEG-PS file format detected.
VIDEO: MPEG1 480x200 (aspect 1) 30.00 fps 1228.8 kbps (153.6 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
fbdev: Can't open /dev/fb0: Permission denied <----------------------- Its trying to write to fb0 instead of fb1
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)

==========================================================================================

IVTV grep output
~~~~~~~~~~~~~~~~~
root@mythtv# dmesg | grep ivtv
ivtv: version 0.1.9 (release) loading
ivtv: SGarray_size = 340, DSGarray_size = 16
ivtv: Found an iTVC15 based chip
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
i2c-core.o: client [(tuner unset)] registered to adapter [ivtv i2c driver #0](pos. 0).
saa7127: Configuring encoder...<7>i2c-core.o: client [saa7127[0]] registered to adapter [ivtv i2c driver #0](pos. 1).
saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
i2c-core.o: client [saa7115[0]] registered to adapter [ivtv i2c driver #0](pos. 2).
i2c-core.o: client [MSP3448W-A2] registered to adapter [ivtv i2c driver #0](pos. 3).
i2c-core.o: adapter ivtv i2c driver #0 registered as adapter 0.
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
ivtv: Registered v4l2 device, minor 16
ivtv: loaded
ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-fb: screen coords: [0 0] -> [720 480]
ivtv-fb: original global alpha = 208
ivtv-fb: new global alpha = 208
ivtv-fb: current OSD state = 35
ivtv-fb: warning: cannot reserve video memory at 0xd5510000
ivtv-fb: framebuffer at 0xd5510000, mapped to 0xcc4ab000, size 2818k
ivtv-fb: mode is 720x480x32, linelength=2880
i2c-core.o: client [Hauppauge IR] registered to adapter
[ivtv i2c driver #0](pos. 4).

================ END : Details======================


Top
 Profile  
 
PostPosted: Wed Jul 14, 2004 9:55 am 
Offline
Joined: Thu Jul 08, 2004 1:09 pm
Posts: 72
Location: Chicago, USA.
Hi

I have the same motherboard/cpu(syntax S635MP SiS635) with PVR 350 and 384MB DDR memory. I did not try video out on the PVR yet. But I had some problems like no video, blank video and no audio etc.

For blank screen problem I reinstalled/upgraded mplayer/xine and it was ok after that. For audio I recompiled ivtv.

I still have DVD playing/ripping problems. But the performance of this system is not good. I have choppy live tv and as well as choppy recorded video. I cannot watch while recording. Let me know if it works for you.

If anyone can help me that is great.

---
Did you try this thread for video out problems?

http://mysettopbox.tv/phpBB2/viewtopic. ... +350+video

Saruman and Claybo have it explained here very well. I did not try this yet. I have to first fix the performance problem.


Sivasankar


Top
 Profile  
 
PostPosted: Wed Jul 14, 2004 10:04 am 
Offline
Joined: Thu Jul 08, 2004 1:09 pm
Posts: 72
Location: Chicago, USA.
Oops. Sorry. I did not see you already visited the thread I posted. Anyway please post your reply if it worked for you.


Sivasankar


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 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