Bug 21775 - badly rendered text in many applications, especially in scrollable screens (missing, duplicate and partial lines of text and even duplicate or wrong cursor)
Summary: badly rendered text in many applications, especially in scrollable screens (m...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2017-09-27 15:44 CEST by Pierre Fortin
Modified: 2020-08-16 16:00 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Photo of non-present display2 overlaying display1 (237.08 KB, image/jpeg)
2017-10-01 18:47 CEST, Pierre Fortin
Details
screenshot (74.02 KB, image/png)
2018-01-28 18:11 CET, Frédéric "LpSolit" Buclin
Details

Description Pierre Fortin 2017-09-27 15:44:59 CEST
Description of problem:
Difficult to describe because is shows up in so many ways.  Randomly!

So far, I've seen this on several app windows: emacs, claws-mail, firefox

Examples of what I see:
- partial lines of text (upper, middle, or lower portions of text
- missing lines of text
- duplicate lines, such as seeing what looks like 2 identical messages in claws-mail; but when I delete a message above that one, the duplication clears up and I can see the real message details.
- emacs displayed content obviously wrong from what I know file contains
- emacs cursor (sometimes 2 cursors) not matching the real cursor position
- any app: text changes as cursor is moved up/down over the incorrect areas


Version-Release number of selected component (if applicable):  mga6 current

How reproducible:  No idea; totally random so far. But it is more noticeable when scrolling windows, folder lists, messages...  anything that is scrollable.


Steps to Reproduce: 
Haven't discovered a way to reliably reproduce this issue.
1.
2.
3.
Comment 1 Marja Van Waes 2017-09-28 23:51:01 CEST
Guessing it is an issue with your video card or its driver, so assigning to the kernel and drivers maintainers

What is the output of

   lspcidrake -v | grep Card

CC: (none) => marja11
Summary: randomly missing screen updates => badly rendered text in many applications, especially in scrollable screens (missing, duplicate and partial lines of text and even duplicate or wrong cursor)
Assignee: bugsquad => kernel
Keywords: (none) => NEEDINFO

Comment 2 Pierre Fortin 2017-09-29 00:01:46 CEST
I had no such problem with mga5.

$ lspcidrake -v | grep Card
Card:ATI Radeon HD 6400 and later (radeon/fglrx): Advanced Micro Devices, Inc. [AMD/ATI]|Saturn XT [FirePro M6100] [DISPLAY_VGA] (vendor:1002 device:6640 subv:1028 subd:05cd)
Card:Intel 810 and later: Intel Corporation|4th Gen Core Processor Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0416 subv:1028 subd:05cd) (rev: 06)
sdhci_pci       : O2 Micro, Inc.|SD/MMC Card Reader Controller (vendor:1217 device:8520 subv:1028 subd:05cd) (rev: 01)
Comment 3 Pierre Fortin 2017-09-30 21:46:03 CEST
Add LibreOffice Writer to the list of affected applications.
Comment 4 Pascal Terjan 2017-09-30 22:02:33 CEST
I believe all listed apps use gtk (for libreoffice I am not sure, I think they support various things). Can you try with some qt app to help decide if the problem is in gtk or at a lower level?

CC: (none) => pterjan

Comment 5 Pierre Fortin 2017-10-01 08:00:52 CEST
I cobbled together a quick script to list only the libs common to every affected app based on "ldd" and this is the result:

$ commonlibs claws-mail emacs /usr/lib64/libreoffice/program/soffice.bin /usr/local/bin/firefox/firefox-bin
/lib64/ld-linux-x86-64.so.2
libc.so.6
libdl.so.2
libm.so.6
libpthread.so.0
librt.so.1
linux-vdso.so.1

gtk: ['libgtk-3.so.0', 'libgtk-x11-2.0.so.0']
qt: []
Comment 6 Pascal Terjan 2017-10-01 12:55:37 CEST
Also, it seems you have to graphics cards (AMD and Intel), do you know which one is in use?
Comment 7 Pascal Terjan 2017-10-01 13:00:33 CEST
Also, if using the Intel card, do workarounds in https://bugzilla.novell.com/show_bug.cgi?id=913425#c5 or https://bugzilla.novell.com/show_bug.cgi?id=913425#c7 help?
Comment 8 Pierre Fortin 2017-10-01 18:45:34 CEST
Intel for laptop display.  AMD is configured (w/o attached monitor); but non-present monitor2 creates other issues: https://bugs.mageia.org/show_bug.cgi?id=17884 as well as a smaller (sizeof(display2)) copy of display1 overlayed atop the normal display1 -- will attach photo since there's no way to capture that screen.

This bug may be related: https://bugs.mageia.org/show_bug.cgi?id=12068

Will try the possible workarounds later today...
Comment 9 Pierre Fortin 2017-10-01 18:47:15 CEST
Created attachment 9701 [details]
Photo of non-present display2 overlaying display1
Comment 10 Pierre Fortin 2017-10-04 04:59:26 CEST
Applied both workarounds and logged out/in (no reboot) and I'm not seeing the scrolling problem now.  Want me to undo the changes and try one at a time?
Comment 11 Shlomi Fish 2017-10-04 13:00:02 CEST
(In reply to Pierre Fortin from comment #10)
> Applied both workarounds and logged out/in (no reboot) and I'm not seeing
> the scrolling problem now.  Want me to undo the changes and try one at a
> time?

I guess it cannot hurt. Please do that.

CC: (none) => shlomif

Comment 12 Pierre Fortin 2017-10-06 20:27:40 CEST
Undid change to /etc/X11/xorg.conf (logout/login) and still not seeing problem.
Will try removing env variable next.
Comment 13 Christian C 2017-12-26 19:17:34 CET
I get the same issue in array cells :
- partial lines of text (upper, middle, or lower portions of text
- missing lines of text
Sometimes, the lines reload completely after exit and re-run.

$ uname -a
Linux station 4.4.13-desktop-1.mga5 #1 SMP Fri Jun 10 12:16:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ libreoffice --version
LibreOffice 4.4.7.2 40(Build:2)
$ lspcidrake -v | grep Card
Card:NVIDIA GeForce 8100 to GeForce 415: NVIDIA Corporation|GT218 [GeForce 210] [DISPLAY_VGA] (vendor:10de device:0a65 subv:1043 subd:8354) (rev: a2)
Tried Calligra words : copied the libre office array into calligra words.
No text display problem (but no array borders are displayed !).

CC: (none) => bugzzzz

Comment 14 Frédéric "LpSolit" Buclin 2018-01-28 18:11:31 CET
Created attachment 9934 [details]
screenshot

Here is what I'm seeing from time to time, with both Mesa 17.1 and 17.3 on Mageia 6 (kernel 4.14.13). I don't know why this happens. I have a Skylake machine:

$ glxinfo | grep -i opengl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.2

CC: (none) => LpSolit

Comment 15 Aurelien Oudelet 2020-08-16 16:00:04 CEST
Mageia 6 changed to end-of-life (EOL) status on 2019-09-30. It is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan 
to fix it in a currently maintained version, simply change the 'version' to 
a later Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we 
weren't able to fix it before Mageia 6's end of life. If you are able to 
reproduce it against a later version of Mageia, you are encouraged to click 
on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a more recent
Mageia release includes newer upstream software that fixes bugs or makes them
obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Best regards,
Aurélien
Bugsquad Team

Resolution: (none) => OLD
CC: (none) => ouaurelien
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.