Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual console does not redraw #151

Open
johalun opened this issue Jun 12, 2019 · 10 comments
Open

Virtual console does not redraw #151

johalun opened this issue Jun 12, 2019 · 10 comments

Comments

@johalun
Copy link
Member

johalun commented Jun 12, 2019

Typed characters does not show up on screen until one switch VT back and forth ones. Only occurs on rare hardware or on rare occasion..

@valpackett
Copy link
Contributor

When? If it's after switching from a graphical display server, it might be just the vt being left in the mode that doesn't echo..

@johalun
Copy link
Member Author

johalun commented Jun 13, 2019

Apparently the only variable is drm-v4.16 (OK) vs drm-v5.0 (has this bug). I suspect the drm fb helper.

@johalun
Copy link
Member Author

johalun commented Jun 13, 2019

This happens before even starting X, when loading drm driver at virtual console.

@valpackett
Copy link
Contributor

I have a Kaby Lake device now, am seeing this. Switching to a new vt does redraw the screen..

@valpackett
Copy link
Contributor

valpackett commented Sep 8, 2019

Interesting: looks like this maybe does not happen with fastboot enabled? (need to retest, I'm actually not sure)

(But fastboot breaks backlight on my new laptop (on Linux too, it's a known thing) haha)

and sometimes quitting from a GUI display server restores refresh too

@javashin
Copy link

javashin commented Sep 8, 2019

fastboot is fixed on 5.2.X
the backlight issue

@javashin
Copy link

javashin commented Sep 8, 2019

also mpv cant play any video on the KMS Drm console its useless too slow , maybe is this related ?

@valpackett
Copy link
Contributor

no, this is about vt (virtual terminal), userspace applications that use DRM are fine

@javashin
Copy link

javashin commented Sep 8, 2019

yes on Vt kms drm >> after load kldload i915kms and use on the same console tty vt no X > mpv -vo=drm foo.mp4 = very slow reproduction of video media , too slow means unusable. unwatchable

@wulf7
Copy link

wulf7 commented Nov 8, 2019

Setting compat.linuxkpi.i915_enable_psr boot loader parameter to 0 workarounds at least "VT redraw" issue to me.
fastboot does not work with suspend/resume on my laptop.
P.S. 'does not work' means VT redraw is stopped after wakeup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants