Page 87 of 91

Re: "Questions that don't deserve their own thread" thread

Posted: Mon Dec 12, 2016 9:29 pm
by partnano
Right off the bat, the issue occurs on my laptop keyboard as well as my external one, so I very much doubt it's keyboard related per se, more input driver related.

So welp. Here's my specs:

Laptop: Asus Zenbook ux303, i7 4510U
Distro: Manjaro Arch 64 bit, Linux 4.5.7
DE: Gnome 3.22
Input Driver: libinput (manages about everything input related on my system afaik)
Love Version: 10.2-1 (newest available in the aur)

Starting to suspect that libinput could be the source of the issue, but I have no evidence so far...

Re: "Questions that don't deserve their own thread" thread

Posted: Tue Dec 13, 2016 12:52 pm
by Smoggert
// removed. Not helpful

Re: "Questions that don't deserve their own thread" thread

Posted: Tue Dec 13, 2016 1:06 pm
by Beelz
Smoggert wrote:Have you tried testing with an external keyboard? Cuz it defo looks like its either your drivers or hardware being faulty :D
partnano wrote:Right off the bat, the issue occurs on my laptop keyboard as well as my external one, so I very much doubt it's keyboard related per se, more input driver related.

Re: "Questions that don't deserve their own thread" thread

Posted: Tue Dec 13, 2016 1:14 pm
by Smoggert
Wow i even quoted that I need sleep.

Re: "Questions that don't deserve their own thread" thread

Posted: Tue Dec 13, 2016 8:54 pm
by pgimeno
partnano wrote:Right off the bat, the issue occurs on my laptop keyboard as well as my external one, so I very much doubt it's keyboard related per se, more input driver related.

[...]

Starting to suspect that libinput could be the source of the issue, but I have no evidence so far...
I asked about the specs so I could discard some exotic hardware that could have issues. All this sounds pretty standard. Well, except the distro, but I know that Arch is pretty robust, and a quick googling says that Manjaro is Arch-based.

I'm afraid I can't help much more. Maybe change your SDL version to see if that has any effects. SDL is the library that manages LÖVE's input.

I've tried with xev, and even in my system, it issues both key press and key release events for any key I hold.

Re: "Questions that don't deserve their own thread" thread

Posted: Tue Dec 13, 2016 9:28 pm
by partnano
Well, thanks anyway for the help and interest! :)

I'll keep experimenting around, maybe I'll be able to find something..

Re: "Questions that don't deserve their own thread" thread

Posted: Wed Dec 14, 2016 4:12 am
by Positive07
If you don't find anything please create a separate thread or an issue in the LÖVE repository. It will be better

Re: "Questions that don't deserve their own thread" thread

Posted: Thu Dec 15, 2016 6:56 pm
by partnano
Positive07 wrote:If you don't find anything please create a separate thread or an issue in the LÖVE repository. It will be better
As a final note and why I won't make a new thread.

It's not a löve bug. I experimented a bit and it's actually libinput (/xinput, the Wayland input driver), which sends repeating keypressed/keyreleased events for its keyrepeat. Running a session with Xorg, and therefore other input drivers, everything works as intended in löve.
I don't really know what to do about this yet, but I guess I'll have to do further experiments and double check with other people that run similar systems and at some point might file a bugreport to wherever libinput is developed...

However, I have a feeling that this might be intended behaviour of the Wayland driver so,

yay :/

Re: "Questions that don't deserve their own thread" thread

Posted: Thu Dec 15, 2016 8:40 pm
by slime
partnano wrote:
Positive07 wrote:If you don't find anything please create a separate thread or an issue in the LÖVE repository. It will be better
It's not a löve bug. I experimented a bit and it's actually libinput (/xinput, the Wayland input driver), which sends repeating keypressed/keyreleased events for its keyrepeat. Running a session with Xorg, and therefore other input drivers, everything works as intended in löve.
Could it be this issue (which was fixed after SDL 2.0.5 was released)? https://hg.libsdl.org/SDL/rev/b48d8a98e261

Re: "Questions that don't deserve their own thread" thread

Posted: Sat Dec 17, 2016 11:06 am
by 4aiman
Is there a way to load and display some image from a web server?
Something like

Code: Select all

love.graphics.newImage("http://server.com/imgs/pic1.png")
?