LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-08-2020, 09:19 AM   #1
resolver
Member
 
Registered: Jun 2020
Posts: 61

Rep: Reputation: Disabled
X-Windows mouse pointer flickering


Running GNU/Linux on the ARM (I'm using the Raspberry pi 4b) the mouse pointer is constantly flickering. Has anyone noticed this on other platforms?

This is a defect that's very odd because it was literally 30 years ago that, as I remember it, this problem was solved. Specifically when drawing needs to be done by X Windows, the server doesn't erase the mouse pointer first, then draw, then redraw the mouse pointer. That kind of nonsense was done in MSDOS by amateur programmers. No, in X-Windows they used clipping rectangles and a mask to draw around it. If the pointer was not overlapping a window, it was not undrawn and redrawn. If it was directly on top of something being redrawn, a mask was used. Windows, the Mac, the Amiga, all solved this problem of undrawing and redrawing the mouse pointer in an ugly flickery way. That was standard windowing system design back in the early 1990's.

But the defect I'm seeing is so bad that if I move the mouse pointer onto the desktop, even down in a corner away from any window, it still flickers when ANY window's contents is updated. This feels like someone made a change to the code who didn't understand or care to understand the code.

The mouse pointer flickers when:
- the clock panel increases the time each second
- the weather panel does any update or animation
- a video is playing somewhere on-screen (it seems to flicker with every frame)
- a web page updates itself e.g. if you type some text into a <textarea>

Again, the mouse pointer can be anywhere on-screen when it flickers, even in a corner away from windows. This behavior is not representative of how X-Windows was written 30 years ago. This was a solved problem and now it's broken.

Last edited by resolver; 07-08-2020 at 09:23 AM.
 
Old 07-09-2020, 08:43 AM   #2
resolver
Member
 
Registered: Jun 2020
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by resolver View Post
Running GNU/Linux on the ARM (I'm using the Raspberry pi 4b) the mouse pointer is constantly flickering. Has anyone noticed this on other platforms?
An Update: This defect occurs only on the Raspberry pi running Slackware ARM. It is not a problem when running Raspberry Pi OS.
So it seems that Slackware ARM didn't build and/or configure the X Server correctly.
 
Old 07-09-2020, 10:21 AM   #3
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,543

Rep: Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311Reputation: 1311
Quote:
Originally Posted by resolver View Post
An Update: This defect occurs only on the Raspberry pi running Slackware ARM. It is not a problem when running Raspberry Pi OS.
So it seems that Slackware ARM didn't build and/or configure the X Server correctly.
Slackware ARM has the same configuration and build options as with x86, and this problem does not happen on the Orange Pi - which is one of the supported systems.
The RPi isn't supported so please check with the people who provide that support.
 
  


Reply

Tags
raspberry pi 4, x-windows



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse pointer constantly flickering resolver Slackware - ARM 1 07-08-2020 02:19 PM
Mouse not working on Damn Small Linux | Mouse: Omega Optical Mouse (16c Gaming Mouse) AndyDeveloper Linux - Hardware 3 04-09-2017 01:32 PM
Mouse pointer does not respond to mouse after boot??? nilsamon Fedora 2 03-12-2004 11:49 AM
The you have a Mouse Pointer Problem(mouse stick top left)here is the solution. dr4ven Linux - Hardware 0 05-25-2003 05:53 PM
Display flickering when no mouse NewRedHatter Linux - Hardware 0 09-11-2002 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration