I have been working on this issue for about 2 weeks, and cannot figure it
out.

I am running kernel 2.6.23.1 with nvidia directframbuffer enabled in the
kernel. I have the lates cvs trunk of directfb, dfb++, directfb-extra,
xine-lib and xine-ui. when i start with layer 0 which is fbdev I get picture
but it looks like a film negative. when I start with layer 01 which is the
nvidia overlay i get no pic at all. this is connected to a vdr system.


     =======================|  DirectFB 1.1.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-11-19 23:24)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 7214)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 7216)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7217)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7218)...
(*) DirectFB/Input: Power Button (FF) (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7219)...
(*) DirectFB/Input: cx88 IR (Hauppauge Nova-S-Plus  (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 7220)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: nVidia NV4C (04c0) 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Surface: Allocated 720x480 8bit LUT8 buffer at offset 0 and pitch
768.
(*) FBDev/Mode: (Post)Setting 720x480 LUT8
(*) FBDev/Mode: Switched to 720x480 (768x480) at 8 bit LUT8 (wanted LUT8).
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: (Post)Setting 720x480 LUT8


Screen (00) NVidia Primary Screen           (primary screen)
   Caps: VSYNC POWER_MANAGEMENT

     Layer (00) FBDev Primary Layer             (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION

     Layer (01) NVidia Overlay
        Type:    VIDEO STILL_PICTURE
        Caps:    SURFACE SCREEN_LOCATION DEINTERLACING DST_COLORKEY
BRIGHTNESS CONTRAST HUE SATURATION SCREEN_POSITION SCREEN_SIZE


Input (01) IMPS/2 Mouse                    (primary mouse)
   Type: MOUSE
   Caps: AXES BUTTONS
   Max. Axis: 2
   Max. Button: 2

Input (00) AT Translated Set 2 keyboard    (primary keyboard)
   Type: KEYBOARD
   Caps: KEYS

Input (03) cx88 IR (Hauppauge Nova-S-Plus   (primary remote control)
   Type: REMOTE
   Caps: KEYS

Input (11) Keyboard
   Type: KEYBOARD
   Caps: KEYS

 If you notice the lut8. I cannot get it out of that.



this is my fbset -i

mode "1360x768-60"
    # D: 85.507 MHz, H: 47.716 kHz, V: 60.020 Hz
    geometry 1360 768 1408 32767 8
    timings 11695 256 64 18 3 112 6
    hsync high
    vsync high
    accel true
    rgba 8/0,8/0,8/0,0/0
endmode

Frame buffer device information:
    Name        : NV3d
    Address     : 0xc0000000
    Size        : 67108864
    Type        : PACKED PIXELS
    Visual      : PSEUDOCOLOR
    XPanStep    : 8
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 1408
    MMIO Address: 0xda000000
    MMIO Size   : 16777216
    Accelerator : nVidia Arch 40

sometime my Visual comes out as DIRECTCOLOR, it very spuratic

and when I start up df_xine with : df_xine --stdct1
vdr:/tmp/vdr-xine/stream#demux:mpeg_pes <--> I get

     =======================|  DirectFB 1.1.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-11-19 23:24)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 7412)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 7413)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7414)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7415)...
(*) DirectFB/Input: Power Button (FF) (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 7416)...
(*) DirectFB/Input: cx88 IR (Hauppauge Nova-S-Plus  (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 7417)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: nVidia NV4C (04c0) 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Surface: Allocated 720x480 8bit LUT8 buffer at offset 0 and pitch
1408.
(*) FBDev/Mode: (Post)Setting 720x480 LUT8
(*) FBDev/Mode: Switched to 720x480 (768x480) at 8 bit LUT8 (wanted LUT8).
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: (Post)Setting 720x480 LUT8
df_xine: here we go!
df_xine: scanning layers for a suitable one
df_xine: probing layer 1
df_xine: -> has a surface
df_xine: -> can be positioned on the screen
df_xine: -> trying to access...ok
df_xine: -> checking if double-buffering is supported...yes
df_xine: -> checking if YUY2 is supported...yes
df_xine: -> checking if YV12 is supported...no
df_xine: -> checking if I420 is supported...no
df_xine: -> checking if NV12 is supported...no
df_xine: -> checking if NV21 is supported...no
df_xine: -> checking if NV16 is supported...no
df_xine: using layer 1 [NVidia Overlay]
        packed format: YUY2
        planar format: NONE
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Testing 720x480 LUT8
(*) FBDev/Mode: Preparing switch to 720x480 LUT8
(*) FBDev/Mode: Switched to 720x480 (768x480) at 8 bit LUT8 (wanted LUT8).
(*) FBDev/Surface: Allocated 768x480 8bit LUT8 buffer at offset 0 and pitch
768.
(*) FBDev/Mode: (Post)Setting 720x480 LUT8
(*) FBDev/Mode: Switched to 720x480 (768x480) at 8 bit LUT8 (wanted LUT8).
audio_oss_out: using device >/dev/dsp<
xine: found input plugin  : VDR display device plugin
xine: found demuxer plugin: mpeg pes demux plugin
ratio: 0
prebuffer=0 pts
+++ CLEAR(-1a)
=== CLEAR(-1.1)
=== CLEAR(-1.2)
=== CLEAR(-1.3)
=== CLEAR(-1.4)
=== CLEAR(-1.5)
--- CLEAR(-1a)
+++ CLEAR(-1b)
=== CLEAR(-1.1)
=== CLEAR(-1.2)
=== CLEAR(-1.3)
=== CLEAR(-1.4)
=== CLEAR(-1.5)
--- CLEAR(-1b)
df_xine: playing mrl 'vdr:/tmp/vdr-xine/stream#demux:mpeg_pes'
vdr: flush: n: 158, 959.9
input_vdr: flush buffers (vb: 0, ab: 0, vf: 0, af: 0) done.
+++ CLEAR(-5a)
=== CLEAR(-5.1)
=== CLEAR(-5.2)
=== CLEAR(-5.3)
=== CLEAR(-5.4)
=== CLEAR(-5.5)
--- CLEAR(-5a)
+++ CLEAR(-5b)
=== CLEAR(-5.1)
=== CLEAR(-5.2)
=== CLEAR(-5.3)
=== CLEAR(-5.4)
=== CLEAR(-5.5)
--- CLEAR(-5b)
but I get a very blank screen.



my fb.modes looks like this -->

mode "720x480-60"
        geometry 720 480 720 480 32
        timings 37202 88 16 14 1 72 3
endmode

mode "1280x720-60"
        geometry 1280 720 1280 720 32
        timings 13426 192 64 22 1 136 3
endmode

mode "1920x1080-60"
        geometry 1920 1080 1920 1080 32
        timings 5787 328 120 34 1 208 3
endmode

and my directfbrc looks like this -->

# layer setup
mode = 720x480
depth = 32
pixelformat=YUY2
no-vt-switch
no-vt-switching
no-graphics-vt
no-deinit-check
primary-layer=1
disable-module=linux_input
disable-module=ati128
disable-module=radeon
disable-module=cyber5k
disable-module=tdfx
disable-module=neomagic
disable-module=nsc
disable-module=keyboard
disable-module=mouse
disable-module=sdlinput
disable-module=joystick
disable-module=lirc
disable-module=ps2mouse
disable-module=serialmouse
disable-module=sonypi
disable-module=savage
disable-module=unichrome
disable-module=r200
sync
vsync-after

if there is anything that I am doing wrong please let me know. I am looking
to get this running in an NTSC mode.
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to