Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Qingy DirectFB Mouse lagging

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
returnof Snekiepete
n00b
n00b
Posts: 36
Joined: Thu Dec 22, 2016 12:06 am

Qingy DirectFB Mouse lagging

  • Quote

Post by returnof Snekiepete » Sat Jul 15, 2017 4:30 am

I have got Qingy and DirectFB working, except for the mouse. It is there, and moves, but soooo slow. Any ideas?
Top
returnof Snekiepete
n00b
n00b
Posts: 36
Joined: Thu Dec 22, 2016 12:06 am

  • Quote

Post by returnof Snekiepete » Sat Jul 15, 2017 11:44 pm

I've made some troubleshooting progress, but I am still stumped. I can fix the DirectFB/Qingy mouse issue by disabling inteldrmfb. So this slow mouse issue seems to be something going on with inteldrmfb/DirectFB. However, I cannot start X with this disabled. Is there any way to disable the inteldrmfb framebuffer at boot but have it accessible to start X?
Top
duby2291
Guru
Guru
User avatar
Posts: 583
Joined: Sun Oct 17, 2004 4:47 am

  • Quote

Post by duby2291 » Sun Oct 01, 2017 2:43 pm

returnof Snekiepete wrote:I've made some troubleshooting progress, but I am still stumped. I can fix the DirectFB/Qingy mouse issue by disabling inteldrmfb. So this slow mouse issue seems to be something going on with inteldrmfb/DirectFB. However, I cannot start X with this disabled. Is there any way to disable the inteldrmfb framebuffer at boot but have it accessible to start X?
I was searching for a solution to almost this same problem. I have an r600 class Radeon 6850 using the radeon KMS framebuffer. It required DirectFB to be compiled with the drmkms use flag. But now I'm experiencing the same symptoms you describe in this thread. I too am trying to set up qingy again, got it working, but the input lag is so bad. It must be something DirectFB related?
Top
duby2291
Guru
Guru
User avatar
Posts: 583
Joined: Sun Oct 17, 2004 4:47 am

  • Quote

Post by duby2291 » Mon Oct 02, 2017 4:05 am

I just post an update on my progress.

So it's definitely a problem with DirectFB. Maybe not a problem, but definitely a mis-configuration somehow that I haven't solved yet. If I set in make.conf INPUT_DEVICES="mouse keyboard evdev libinput" Qingy has mouse movement sorta, but it's super laggy, same symptom with keyboard input. So I decided to emerge links with the directfb use flag. Launching it with "links -g -driver directfb" it has exactly the same symptoms qingy has to the letter.

Googe seaching various similar problems led me to believe removing evdev from INPUT_DEVICES would solve a similar problem so I tried that. Now both qingy and links have no input at all, no mouse or keyboard, and then I can't even cntl>alt>f2 to escape to a different terminal. Google searching some more led me to think the solution lies in some module for directfb called linux_input, but I am failing at finding any documentation about it. And in fact there is not even a /etc/directfbrc file created on emerge DirectFB, so I manually created one. But I am not even sure if the manually created config file is even being read. I just don't know.

So that is more or less the current status quo. If anybody knows more about DirectFB I could sure use some of your knowledge powers.
Top
duby2291
Guru
Guru
User avatar
Posts: 583
Joined: Sun Oct 17, 2004 4:47 am

  • Quote

Post by duby2291 » Thu Oct 05, 2017 1:00 pm

Here's a progress update..

I got it sorta working. At least I definitely got the input problem fixed. So it was basically a combo of three things that needed to be in place. You must build world with INPUT_DEVICES="evdev", /etc/directfbrc needs a line module-disable=linux_input, and finally the linux kernel must be built with mouse interface psaux. Qingy is working and so is links.

But now a different problem. /etc/X11/Sessions is filled with *.desktop files, which qingy doesn't know how to read. So it doesn't actually have the ability to start x sessions. I'm not sure what the solution for that is yet.
Top
returnof Snekiepete
n00b
n00b
Posts: 36
Joined: Thu Dec 22, 2016 12:06 am

  • Quote

Post by returnof Snekiepete » Wed Oct 11, 2017 1:22 am

I can't wait to test this! (Working on another issue currently). For Qingy you use /etc/X11/Sessions without .desktop files. For example, below is what I have listed in my Cinnamon session (no .desktop extension)

Code: Select all

exec ck-launch-session dbus-launch cinnamon-session
Top
returnof Snekiepete
n00b
n00b
Posts: 36
Joined: Thu Dec 22, 2016 12:06 am

  • Quote

Post by returnof Snekiepete » Thu Oct 12, 2017 3:38 am

Well, I followed your guidance and unfortunately for me the mouse is still lagging. I guess I'll just stick with MDM but really like Qingy...
Top
duby2291
Guru
Guru
User avatar
Posts: 583
Joined: Sun Oct 17, 2004 4:47 am

  • Quote

Post by duby2291 » Thu Oct 12, 2017 1:45 pm

returnof Snekiepete wrote:Well, I followed your guidance and unfortunately for me the mouse is still lagging. I guess I'll just stick with MDM but really like Qingy...
Here is my complete directfbrc, perhaps there is more you need to set?

Code: Select all

system=fbdev
mode=1680x1050
directfbrc
no-banner
vt-switching
mouse-source=/dev/psaux
mouse-protocol=IMPS/2
#mouse-gpm-source 
debug
log-file=/var/log/directfb.log
hardware
dma
curser
#linux-input-devices=/dev/tty0
disable-module=linux_input
I'm thinking you might need system, mouse-source, and mouse-protocol lines as well. It's definitely a DirectFB configuration problem. You just have to find the directfbrc configuration that works.
Top
returnof Snekiepete
n00b
n00b
Posts: 36
Joined: Thu Dec 22, 2016 12:06 am

  • Quote

Post by returnof Snekiepete » Sat Oct 28, 2017 12:35 am

I am closer. I have the mouse moving normally now, except when I touch the touchpad it resets the position of the mouse making movement difficult...

I am using the opposite of you below with mouse-gpm-source un-commented and the other options, /dev/psaux and IMPS/2 ignored.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic