Announcement
Collapse
No announcement yet.
FBDEV Console Patches Optimize Performance - Print Directory Listing ~25% Faster
Collapse
X
-
Still very slow. It takes 0.1s with gnome-terminal and of that only 0.03s are spent in user-space, the rest is spent in the kernel actually finding the files.
-
Originally posted by s_j_newbury View PostI don't know how I feel about this. I really hoped the lack of maintainer and loss of functionality would finally give impetus to a userspace solution. Personally, I use kmscon with hwaccel, it's okay, fast enough, looks okay, but really isn't a complete solution and feels unfinished.
In the blue corner: There once was the venerable VGA text console. Then hardware started providing a pixel framebuffer, and Linux went to combine its text terminal (vt.c) code with fbdev. Then someone made fbterm, a userspace graphical console bolted onto /dev/fb0. And later, kmscon using the same idea, but now with truetype support.
In the red corner: the old fat X server, with an xterm (or god forbid, a bloated, laggy program, possibly with some GL to produce the looks of a curved surface monitor flickering its green phosphors). Then a lot of fat was cut, so to speak, with Wayland. Make the terminal fullscreen, you could almost forget there even was a Wayland session.
The red option is almost as lightweight as the blue option now being fat. And at least for me, that explain's the stopped work on kmscon.
- Likes 1
Leave a comment:
-
Originally posted by bobbie424242 View PostGlad to see scrolling coming back. When I noticed it was removed it as a real WTF moment...
- Likes 2
Leave a comment:
-
Originally posted by Etherman View Post
/dev/fb0
It also can display graphics if user has write permission to it. I think Links (webbrowser) can use it too and maybe SDL so games can work without X11 or root access.
Screenshots can be taken with cat /dev/fb0 > image.raw
- Likes 1
Leave a comment:
-
Originally posted by Nuc!eoN View PostWould anybody be able to ELI5 this to me? What is FBDEV?
Is it what a TTY uses to display stuff?
It also can display graphics if user has write permission to it. I think Links (webbrowser) can use it too and maybe SDL so games can work without X11 or root access.
Screenshots can be taken with cat /dev/fb0 > image.raw
- Likes 1
Leave a comment:
-
Originally posted by anarki2 View PostHa. To this day, devs give me weird looks when I tell them it's faster if they don't actually print the output...
- Likes 1
Leave a comment:
-
Originally posted by skeevy420 View Post
With as much as we discuss it I'm really surprised the Phoronix community hasn't hacked something together by now.
- Likes 1
Leave a comment:
-
Originally posted by s_j_newbury View PostI don't know how I feel about this. I really hoped the lack of maintainer and loss of functionality would finally give impetus to a userspace solution. Personally, I use kmscon with hwaccel, it's okay, fast enough, looks okay, but really isn't a complete solution and feels unfinished.
- Likes 1
Leave a comment:
-
Glad to see scrolling coming back. When I noticed it was removed it as a real WTF moment...
- Likes 1
Leave a comment:
-
Originally posted by CochainComplex View PostThis is really nice - I was allways wondering why CPU, RAM, IOs get so much faster but often you can't "feel" this in console. Still more or less like the first time on a fast SSD. Or am I missing something?
Leave a comment:
Leave a comment: