You are not logged in.

#1 2022-07-18 01:46:02

lgd
Member
Registered: 2021-07-29
Posts: 11

[SOLVED]Why doesn't the screen output sync with the keyboard input?

When I run Arch in virtual machine, if I hold down a key, such as 'w', the screen output synchronize with the keyboard input. This is no problem. But in a physical machine(my laptop), if I also do the same thing, it will just print one or two character(s) first and finally print all remain characters suddenly until releasing the key. Could anyone explain this?

Last edited by lgd (2022-07-19 07:30:32)

Offline

#2 2022-07-18 06:15:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

When I use Arch

isn't a thing.
The context (input client, display manager, perhaps window mananger/desktop environment) matters to even investigate why that might be happening.

Offline

#3 2022-07-18 09:02:33

lgd
Member
Registered: 2021-07-29
Posts: 11

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

I just installed Arch without any desktop environment.

Offline

#4 2022-07-18 11:24:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

That doesn't answer the question at all.
Are you talking about the console or some graphical environment?
How did you install archlinux? What tutorial did you follow?
Is the bare metal installation a fresh installation or did you clone the virtual machine installation there?

You'll have to provide *some* details about the condition, https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#5 2022-07-18 11:40:56

lgd
Member
Registered: 2021-07-29
Posts: 11

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

I am really talking about the console. And I didn't install Arch in my laptop, just wrote the installation image into an USB, then boot from it.

Offline

#6 2022-07-18 11:51:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

Does it happen when you boot w/ the "nomodeset" kernel parameter?

Offline

#7 2022-07-18 12:00:52

lgd
Member
Registered: 2021-07-29
Posts: 11

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

I have checked /proc/cmdline, no w/.

Offline

#8 2022-07-18 14:29:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

seth wrote:

Does it happen when you boot with the "nomodeset" kernel parameter?

You're supposeed to add "nomodeset" there to see whether it's an input or output problem.

Edit, inb4: https://wiki.archlinux.org/title/Kernel_parameters

Last edited by seth (2022-07-18 14:29:44)

Offline

#9 2022-07-18 15:16:46

lgd
Member
Registered: 2021-07-29
Posts: 11

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

Wow, the problem was fixed! Could you explain it in more detail? Thank you very much! smile

Offline

#10 2022-07-18 15:26:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

"nomodeset" isn't really a fix - it'll get you a VGA console what suggests that the problem is w/ the framebuffer driver, not the input.

lspci -k | grep -iEA3 'vga|display'(

Offline

#11 2022-07-18 15:52:50

lgd
Member
Registered: 2021-07-29
Posts: 11

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

...So you mean there is a problem with the vedio card driver? I also wonder why Manjaro work fine but Arch not.

Offline

#12 2022-07-18 19:49:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

We all wonder. Mostly because you managed to not have provided *any* meaningful information in this thread.
How is anyone else supposed to know what possibly might be the cause if you're not even hinting at the GPU involved?

From the laggy console, post

journalctl -b | curl -F 'file=@-' 0x0.st

if you want this to go on.

Offline

#13 2022-07-19 00:52:14

lgd
Member
Registered: 2021-07-29
Posts: 11

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

Sorry, I didn't get your point before.
Your command result: https://0x0.st/o15S.txt

Last edited by lgd (2022-07-19 00:53:23)

Offline

#14 2022-07-19 06:47:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

Try to disable framebuffer compression and panel self refresh

i915.enable_fbc=0 i915.enable_psr=0

(instead of nomodeset)

Offline

#15 2022-07-19 07:19:50

lgd
Member
Registered: 2021-07-29
Posts: 11

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

It is OK. And it seems that just the latter is enough?

Offline

#16 2022-07-19 07:29:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

Perfectly possible and reasonable, I was just casting a wider net.
psr is a powersaving thing - you might not need it w/ a GUI but will have to try.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#17 2022-07-19 08:12:35

lgd
Member
Registered: 2021-07-29
Posts: 11

Re: [SOLVED]Why doesn't the screen output sync with the keyboard input?

OK. And...Thanks(●'◡'●)

Offline

Board footer

Powered by FluxBB