dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
433 stars 81 forks source link

test_output.c on fbdev shows native console text while waiting #27

Closed ysangkok closed 12 years ago

ysangkok commented 12 years ago

When running test_output I assumed that the output with --fbdev would be identical to the output without --fbdev. It is not.

http://i.imgur.com/rMB1t.jpg

dvdhrm commented 12 years ago

Why would you assume that? Using --fbdev is racy when not synchronized with VT's. test_output is really just a way to test the uterm library. Try starting it from X instead of your console. Or add a VT layer to it. However, you need to switch to fbcon and back to X to make X redraw the screen (or actually re-enable the correct DRM-FB).

ysangkok commented 12 years ago

I assumed it because I thought every video output method was supposed to have the same end-user-visible effect. No problem if it is not, I merely wanted to give this matter the benefit of doubt.

dvdhrm commented 12 years ago

This assumption is right, but "test_output" is not intended to do that exactly. It's just a small hack to test video-output.