bannerd icon indicating copy to clipboard operation
bannerd copied to clipboard

Unable to Set Screen Information

Open exzile opened this issue 2 years ago • 2 comments

I am using debian on a raspberry and trying to run the program with the error arising on fb.c:71 Unable to set screen information

exzile avatar Apr 09 '22 23:04 exzile

Please make sure you run bannerd process as root. As it is an open source project, I encourage you to modify line 71 of fb.c to print value of errno and have more details from the kernel. It may well be that the requested screen mode is not supported by your fb driver. What does fbset -i say?

alukichev avatar Apr 10 '22 06:04 alukichev

I am actually having a similar issue. My fbset -i command reports the following:


mode "800x480"
    geometry 800 480 800 480 16
    timings 0 0 0 0 0 0 0
    accel true
    rgba 5/11,6/5,5/0,0/0
endmode

Frame buffer device information:
    Name        : vc4drmfb
    Address     : 0
    Size        : 768000
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 1600
    Accelerator : No

Entire output of error:

7 [fb.c:51]: Frame buffer screen size 800x480, line 1600 bytes, 16 bpp, buffer size 768000 bytes
7 [fb.c:54]: Offsets: r 11, g 5, b 0, a 0
3 [fb.c:71]: Unable to set screen information
3 [fb.c:71]:
Errno: 22 (Invalid argument)

128keaton avatar Jun 07 '22 03:06 128keaton