softdevice + directfb gives black screen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mittwoch, 24. August 2005 17:57, Per Mellander wrote:
> 
> EPIA system with kernel 2.4.25 + epia2 patch
> DirectFB-0.9.22

Is that from a tarball or cvs?
DirectFB/gfxdrivers/unichrome/uc_overlay.h should be from 2005-02-27 or later,
so that there is my tiny patch included (see below - SetLevel()).

> ffmpeg-0.4.8
> DFB++-0.9.22
> vdr-1.3.30
> softdevice-CVS ( 20050823 )
> alsa-1.0.9
> 
> One installation is based on a stripped down RH9 with gcc 3.2.2 20030222 
> (RedHat). The other is a Core Linux install with gcc 3.2.
> 
> I have used the exact same software packages for both installations.
> 
> viafb is loaded without any parameters ( modprobe viafb )

My epia system is gentoo based with kernel 2.6.7 and epia patch.
Last time I tested this box dfb worked ok.

My modprobe lines are:
modprobe cinergyT2
modprobe snd-via82xx
modprobe viafb mode=1024x768 bpp=32 refresh=60 TVon=0

and my /etc/directfbrc on this box is:
#mode  = 1024x768
mode = 1280x1024
#pixelformat=AiRGB
pixelformat=ARGB
disable-module=cle266

which results in:

root # fbset -i

mode "1024x768-76"
    # D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
    geometry 1024 768 1024 1536 32
    timings 12714 128 32 16 4 128 4
    rgba 8/16,8/8,8/0,8/24
endmode

Frame buffer device information:
    Name        : CLE266
    Address     : 0xd8000000
    Size        : 66842624
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 0
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 4096
    MMIO Address: 0xdc000000
    MMIO Size   : 16777216
    Accelerator : Unknown (77)

> 
> On the RedHat installation I can run vdr -P"softdevice -vo dfb:" and I get a 
> picture on my TFT. Then I reboot with the Core Linux install and I only get a 
> black screen after starting vdr. I have the same directfbrc, the same 
> fb.modes but I just can't get it to work on the Core Linux system. The output 
> log is attached.

The only line that looks strange is:
[dfb] SetParams: action=IDirectFBDisplayLayer::SetLevel(int), result=Not supported! Failed: SetLevel()

> 
> When vdr is running ( with a black screen ) I get the following:
> 
> # fbset -i
> 
> mode "800x600-96"
>     # D: 36.000 MHz, H: 33.834 kHz, V: 96.394 Hz
>     geometry 800 600 800 1200 32
>     timings 27778 56 80 79 11 128 12
>     hsync high
>     vsync high
>     laced true
>     rgba 8/16,8/8,8/0,8/24
> endmode
> 
> Frame buffer device information:
>     Name        : Via CLE266
>     Address     : 0xd8000000
>     Size        : 33554432
>     Type        : PACKED PIXELS
>     Visual      : TRUECOLOR
>     XPanStep    : 0
>     YPanStep    : 1
>     YWrapStep   : 0
>     LineLength  : 3200
>     MMIO Address: 0xdc000000
>     MMIO Size   : 16777216
>     Accelerator : Unknown (77)
> 
> The only difference as I see it is the compiler ( 3.2.2-redhat versus 3.2 ).
> 
> Any clues?
> 

-- 
Stefan Lucke



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux