You are not logged in.

#1 2009-07-22 16:49:27

kanonmat
Member
From: Linköping, Sweden
Registered: 2008-10-30
Posts: 31

Want to make use of the framebuffer.

(Hopefully I have posted this in the right subforum.)
I have a hp nc6220 laptop with 915GM graphics and kernel module settings enabled. I'd like to make more use of it. What do you use a framebuffer for?

There is a load of fonts in /usr/share/kbd/consolefonts
I want utf8. How do I get that? What fonts work with utf8? I use setfont to see the various terminus fonts. How can I see which font I'm currently using?

What (graphical or ncurses) apps can I run in a framebuffer? I know of gpm, links -g, htop, weechat, finch. 

Is qingy only for DirectFB or can it be used with KMS? Is there an alternative to qingy?

I get no video with mplayer in the framebuffer:
mplayer -ao aa ascii_pr0nz.mp4

MPlayer UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
137 audio & 296 video codecs

Playing ascii_pr0nz.mp4.
libavformat file format detected.
[lavf] Audio stream found, -aid 0
[lavf] Video stream found, -vid 1
VIDEO:  [avc1]  480x360  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 480 x 360 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x88e99a0]using unscaled yuv420p -> bgr24 special converter
VO: [fbdev] 480x360 => 480x360 BGR 24-bit 
VDec: vo config request - 480 x 360 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.

...and the three last rows are spammed until I stop mplayer.


I'd like more scrollback than 156 rows in the virtual console.
If i do

for i in {157..1}; do echo $i ; done

I can't read the line that says 157. A screenful is currently 65 lines, including the prompt. I have seen suggestions to recompile the kernel with VGACON_SOFT_SCROLLBACK VGACON_SOFT_SCROLLBACK_SIZE set. Maybe there's a KMS way to accomplish better scrollback without recompiling the kernel? With 2Gb RAM there is memory to spare.


hp 6910p laptop // phenomII965, gigabyte GA-MA790XT-UD4P mobo, 8600gt desktop.
Sometimes I play xonotic, sometimes I sleep.

Offline

#2 2009-07-28 23:34:46

kanonmat
Member
From: Linköping, Sweden
Registered: 2008-10-30
Posts: 31

Re: Want to make use of the framebuffer.

Sorry, I used the wrong mplayer options. It should be "mplayer -vo aa videofile". I got it to work somewhat with "mplayer -vo caca file" that uses colored ascii output. If I could stop the heavy flicker I would be satisfied with the video part. Maybe I'll try crossposting later big_smile


hp 6910p laptop // phenomII965, gigabyte GA-MA790XT-UD4P mobo, 8600gt desktop.
Sometimes I play xonotic, sometimes I sleep.

Offline

#3 2009-07-29 00:06:34

miau
Member
Registered: 2009-05-06
Posts: 202

Re: Want to make use of the framebuffer.

FQingy currently doesn't work if KMS is enabled. More info can be found here:
http://bbs.archlinux.org/viewtopic.php?id=70324

Offline

Board footer

Powered by FluxBB