Kmscon Project Seeks To Replace Linux Virtual Terminal
An anonymous reader writes "Phoronix reports on the progress of kmscon, David Herrmann's virtual console project that aims to supersede the Linux kernel's virtual terminal. kmscon takes advantage of modern Linux features such as kernel mode setting, direct rendering, and udev to provide hardware-accelerated rendering, full internationalization, monitor hot-plugging, and proper multi-seat support. A recent blog post by Herrmann addresses some of his frequently heard questions and criticisms about the kmscon project."
Hardware accelerated rendering for simple text? Why is any of that needed?
Please don't take this as an excuse to default the console to anything other than 80x24. Not only is it annoying, but when arch went to this default, I struggled for days trying to figure out how to undo it. I finally did, but a month later it somehow reverted.
Please don't do that. Thanks.
Dumb question, but what do they mean by proper multi-seat support?
Does this mean that when KMS is broken on "insert graphics card of the month here" I won't be able to get to the console? ooo nooo...
I switched to Ubuntu a number of years ago and could never forgive them for trying to hide all the startup info from the console. It's become even more egregious with grub2 parameters/configuration, kernel video modes, even the old faithful boot command "linux single" no longer works to get to a console screen to fix something.
I don't know how many other distros have adopted this "windows mania" to run everything from gui but for the love of god, leave the console alone. It's the only thing that works anymore when nothing else (emergency sync, boot, etc).
Join the Slashcott! Feb 10 thru Feb 17!
is a Teletype ASR-33 hanging off the serial port.
"To those who are overly cautious, everything is impossible. "
The reason I use virtual terminals is because they are NOT user space. Otherwise xterm and similar programs work well enough. But if this would add a graphical layer that can mix cleanly with the text mode, then it might be interesting (e.g. "cat image.jpg" and get a picture).
now we need to go OSS in diesel cars
edit the boot parameters, remove "quiet" and replace with "nosplash debug"
is it really THAT hard???
If you were really snazzy you had a DECwriter II (LA-36)... zzzt! zzdedezzzt! zzzzzt! (....[pause].....hummmmmm as the head vibrates in the 'view' position)...
Why are you even complaining about that? This project is not to remove the console, it is to make a new console.
By the way, "linux single" still works on grub by default, Ubuntu must have added some weard config to it, just reconfigure the beast, and it will be back. The kernel video modes are there for a reason, the console gets much better in high definition. If you like big letters, just setup a big font. And the startup screen, it is just matter of removing one package, but I don't remember its name. Yeah, it may be better to just not install Ubuntu. There is still Mint, or if you don't like that (I never used Mint, so I don't know), plain Debian.
Rethinking email
Another very talented fish, wasting his life swimming upstream.
I see no need for this. There are so many things that are needed. A console for Linux is just not on the list.
And even if your video-driver fails, then your kernel-console cannot recover as you probably run fbcon which uses the same drivers as user-space.
Not if I can help it! I don't need a fancy console, I have X for that.
The only fallback would be vgacon which is only accessible from the kernel, but recovering via text-mode doesn’t work in most video-driver-failure-cases either.
Is that fact or guesswork/anecdote? And if it works in 4 out of 10 cases I'd still want it.
Therefore, this whole argument is simply wrong, but most of you probably know that already.
Well it adds more complexity, and at the very least it increases the possibility for bugs . I'm just really skeptical, because I have had the graphical boot screens fail on multiple computers. It seems like a nice project, but it should be an additional service like X11, it shouldn't replace the kernel consote. [Though with systemd, the kernel console isn't very useful anyway, as if something goes wrong, you are hosed]
This project is a waste of time and it is incredibly dumb. Direct rendered text? Give me a break. All they are doing is replicating functionality already found in X, its useless duplication. The terminals are supposed to provide an interface that can be used before or without loading video card specific drivers. The only way to display without loading video card drivers is to do it through the BIOS, the VGA BIOS textmode is the initial environment and the fallback environment when a video card driver does not load properly and as well for those who just want a text based interface and do not need a full GUI. If you do want more than a text based environment, and want a lightweight GUI, you might as well load X and a lightweight window manager like fvwm, which will not use that much RAM anyway. X is not heavyweight, thats a stupid old myth that refuses to die, but some of the desktop environments are.
It is pointless to duplicate functionality already found in X, especially when X itself only uses a few megabytes, nothing in todays hardware, and another system basically would provide no or insignificant savings in ram,
I can't wait to see vi rendered in 32-bit photorealistic glory!
I hear that the M#tijnaGnsJIOseJNEATOjaNAOW project had this functionality sooner but since no one could pronounce it, the Internet killed it. How does one pronounce kmscon? Kimscon?
Most servers I know of support remote KVM.
HP has iLO.
Dell has DRAC
Etc
You don't need full multiseat for that since you're only using one mouse+keyboard at a time. Just plug everything in and set the screens to be independant instead of twinview or xinerama. If you use panels or whatever put them on both screens. If you sit down at one screen and the mouse pointer is on the other one, no problem, just move the mouse pointer until you can see it. I use that sort of setup with a bluetooth keyboard+mouse in front of the TV across the hall, with the TV working as a monitor by HDMI.
With a nvidia card and their nvidia-settings GUI tool it took less than ten seconds in total to configure the screens.
>>>
We now have small laptops with 2880x1880 screens built in that are plugged into multiple monitors.
>>>
You have got perverse needs on your planet. I'm glad we still look normal on planet Earth.
>>>
Heck, a simple one: I have a laptop with a dead built-in monitor.
>>>
Get it repaired.
Just think of the frame-rates we will be able to achieve for nethack!
I've got an idea. Why not set the screen to the optimal mode (resolution, color depth, etc) at boot time and eventually switch over to a windowing system where the user can pull up windows for all the legacy applications that can't handle an arbitrary resolution and color depths. Mode setting is f***ing stupid DOS-era garbage.
it's pitch black when I switch to a text console, well the monitor thinks the frequency are unknown, then switches off. so, the text mode is a low class citizen already. thanks to the discussion I know it's perhaps about using nvidia driver, and the poor console thing trying to do KMS even though it's unavaible. I'm running ubuntu 12.04 (mint 13 mate)
so, I should configure myself but it's so boring. try vga=normal as kernel boot parameter, I've been told. well, I didn't yet, because I know I'll have to navigate the grub2 dynamic maze after that. I would be fine with real 80x50. which I never got to use by the way on linux, it always was 80x25 until they decided we would get the monitor's max resolution (this isn't very fun on a low end CRT). there wasn't a command like "mode" in DOS/windows, or I was never told about it. I just couldn't care enough to learn guru things that would never matter to anyone else
one redeeming quality for this madness is a video projector can not support the text modes (and graphical 320x200, etc.) ; dunno what happens with TV used as monitor.
Installed debian with Japanese as the default system language and the console dumps Japanese messages at me.
Currently, they are not renderable, and I have spent some time trying to fix that.
Yeah, I can change the environment variables, etc., but I would like to be able to just leave it as is and get readable Japanese in the console.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
For people who would prefer to interact with bash on the console in languages that have large character sets -- Japanese, in my case.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
with limited character sets {...} 80x50 textmode is perfectly fine for me, but other people might have different needs.
Yup. An accelerated texcon could enable the display of full unicode.
A classic text modes lets you use either 1 set of 255 caracters, or 2 sets if you reduce the number of colors to 8 (remove the other highlighted 8). Hence the whole codepage madness.
- That's okay if your language use latin script: latin alphabet is part of the default ASCII caracters, and you can cram all the needed accented characters in the remaining upper 128 caracters, if you sacrifice the box drawing characters (most text user interface will switch to drawing boxes with only regular ascii. +, -, and | ). Although you would have to limit yourself to a few select subset of language (latin and slavic use a completely different set of accented characters, leading to 2 different code-pages)
- That's okay for some non-latin scripts too like modern greek or cyrillic (you can cram both the lower and cap cases in the last 128 entry of the character set).
- But for other scripts, specially ideographic ones (chinese) or using several writing systems (japanese uses 2 syllabes alphabets AND a subset of chinese ideograms) the place left in the 128 chars starts to be limited (although it could be theoretically possible to cram a very limited subset, by using 2 simultaneous character sets, with only 1 containing the needed ASCII part) (and how to paint complex ideograms with only 8x16 pixels is left to the imagination of the reader).
- Now if you need to mix languages on screen and/or keeping the box-drawing characters at the same time, that "2 codepages at the same time" is going to be really an uncomfortable limit.
Now factor in also all the mumbo-jumbo necessary to map the internal internationalised representation of strings (utf8, most likely) to the chimera you got by abusing the 2 simul. charset method.
Well at that point being able to just display UTF8 (on a 256-color terminal, with background and/or logo) starts to be rather interesting.
And that's not an unrealistic situation:
you use Linux in another language as english, but (very likely) not every single program has been localised to your language and might need to fall-back to alternative. So you might end up with several different language at the same time on screen.
If you don't have a running X server (because the machine is a server and doesn't need one, or because the X server crashed and you need to dig the logs to see what caused it), you'll need to run command-line and scan logs on the console. if the text console can't handle all the involved language your debugging-/configuring- session is going to suck.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]