DevHeads.net

bad text under KDE and C7

I recently installed C7 from a C7+gnome CD.
Gnome was awful enough that I promptly installed KDE.

KDE is not doing so well either.
Text in text editors invoked by "opening" a file is flakey at best.
E.g. pieces disappear and duplicate.
Terminals seem ok, including vim invoked from the terminal.
Firefox text seems ok.
The sidebar text in file-browser windows often has "black tape" over it,
usually completely covering text.
The file names are ok.

Suggestions on how to dignose this?

Comments

Re: bad text under KDE and C7

By Niki Kovacs at 07/21/2018 - 10:00

Le 10/07/2018 à 08:26, Michael Hennebry a écrit :
Here's what KDE on CentOS looks like here:

<a href="https://i1.wp.com/blog.microlinux.fr/wp-content/uploads/2017/01/centos-7-kde.png?ssl=1" title="https://i1.wp.com/blog.microlinux.fr/wp-content/uploads/2017/01/centos-7-kde.png?ssl=1">https://i1.wp.com/blog.microlinux.fr/wp-content/uploads/2017/01/centos-7...</a>

Cheers,

Niki

Re: bad text under KDE and C7

By Michael Hennebry at 07/10/2018 - 02:29

I wrote too soon.
Some of the file names are also getting the black tape treatment.

Re: bad text under KDE and C7

By Frank Cox at 07/10/2018 - 03:07

On Tue, 10 Jul 2018 01:29:52 -0500 (CDT)

Sounds like a video driver issue.

Re: bad text under KDE and C7

By Michael Hennebry at 07/10/2018 - 09:50

In other words, a video driver that almost works.
I expect the first things to do are discover
what video card and video driver I have.
Is there a link to what to do next?

BTW I probably will not be able to
get back to this until tomorrow.

Re: bad text under KDE and C7

By m.roth at 07/10/2018 - 11:34

Michael Hennebry wrote:
mark

Re: bad text under KDE and C7

By Michael Hennebry at 07/12/2018 - 01:11

lspci wrote:
Googling centos 7 VGA...Controller
tells me that apparently 82Q33 refers to the chipset:
release date 2007.06 .

Don't know whether this helps:
lspci -vv wrote:

Re: bad text under KDE and C7

By Pete Biggs at 07/12/2018 - 04:51

Are there any errors in the logs - either kernel logs or X logs?

For some reason you say you disliked Gnome - but does Gnome show issues
(they use the same video driver)?

A long shot is the theme. Are you using some non-standard theme on your
desktop?

Finally, do you have a spare graphics card you could try in the
machine? (This is just to make sure there's no hardware problem.)

P.

Re: bad text under KDE and C7

By Michael Hennebry at 07/12/2018 - 10:06

No, neither gnome nor gnome-classic.
One of them, I think it was gnome-classic,
did videos badly.
It was a bit like a shutter came about a
quarter way down at about once per second.

Late for work.

Re: bad text under KDE and C7

By Michael Hennebry at 07/13/2018 - 11:02

The black tape has gone away for KDE also.
Apparently logging out and in again fixed or obscured the problem.

I'll try the live CD suggested elsewhere.

Again.

Re: bad text under KDE and C7

By Michael Hennebry at 07/15/2018 - 01:56

I tried the live DVD from which I installed C7.
It would not do videos at all.
It claimed it did not have mp4 codecs.
It made the same complaint about avi and flv files.

How would I go about telling whether C7 decided to do software rendering?

Re: bad text under KDE and C7

By Pete Biggs at 07/15/2018 - 06:18

I meant to use a live DVD from some other distro so that it had
differently compiled drivers - the idea was to eliminate (or otherwise)
the drivers from CentOS 7.

That's mainly because they are non-free codecs so aren't included by
default.

P.

Re: bad text under KDE and C7

By Michael Hennebry at 07/15/2018 - 10:06

I've been looking.
I keep finding claims that Fedora live CD's exist,
but not actual images.

I did find a C6 live CD.
No go.
Without additional installs, it would not even try.
After accepting its offers to install dragon and totem,
it still would not play any videos.
... not working falling back to default.
The default was blank.

To be clear:
flv and avi caused it to complain about the lack of mp4 codecs.

Is there something dragon or totem will play out of the box?

Re: bad text under KDE and C7

By Pete Biggs at 07/15/2018 - 10:33

On Sun, 2018-07-15 at 09:06 -0500, Michael Hennebry wrote:
<a href="https://getfedora.org/" title="https://getfedora.org/">https://getfedora.org/</a>

specifically

<a href="https://getfedora.org/en/workstation/download/" title="https://getfedora.org/en/workstation/download/">https://getfedora.org/en/workstation/download/</a>

What it actually does is to download Fedora Media Writer which when run
downloads the correct image and writes it to a memory stick.

Yes, because MPG codecs are not license free.

<a href="https://commons.wikimedia.org/wiki/File:Big_Buck_Bunny_Trailer_1080p.ogv" title="https://commons.wikimedia.org/wiki/File:Big_Buck_Bunny_Trailer_1080p.ogv">https://commons.wikimedia.org/wiki/File:Big_Buck_Bunny_Trailer_1080p.ogv</a>

(that's an open source, royalty free movie using open codecs).

P.

Re: bad text under KDE and C7

By Michael Hennebry at 07/17/2018 - 09:58

Won't boot for me.
I keep getting kernel panics and am real tired of the power button.
I have to boot C6 with acpi=off, but that did not help.

Something about sync, attempt to kill process 1, kernel panic.

I'll see whether I can find something else.

I hadn't realized flv and avi were synonyms for mpg.

Thanks.

Re: bad text under KDE and C7

By m.roth at 07/17/2018 - 10:59

Michael Hennebry wrote:
They're not. Those are two *different* vidao/audio file formats. Each one
needs its own codec.
mark

Re: bad text under KDE and C7

By Pete Biggs at 07/17/2018 - 10:18

Check your hardware - all these things might well be symptomatic of an
hardware issue.

They're not. flv and avi are containers, mpg is an encoding method that
can be used in those containers.

P.

Re: bad text under KDE and C7

By Michael Hennebry at 07/20/2018 - 11:10

I'm not at all sure how.
If it means opening the case,
hardware issues are likely to occur.

Is there a way to tell whether the video
player is even using video acceleration?

Re: bad text under KDE and C7

By Pete Biggs at 07/21/2018 - 09:34

On Fri, 2018-07-20 at 10:10 -0500, Michael Hennebry wrote:
I don't necessarily mean the video - kernel panics are rarely to do
with something that far removed from the CPU. I mean test the hardware
of your computer.

First, check the memory - MemTest86+ is the tool most people use for
this. Run it on your system and it will highlight memory problems. It
can be found at <a href="http://www.memtest.org" title="www.memtest.org">www.memtest.org</a> - the precompiled versions are tiny and
will fit on a floppy (or memory stick or CD).

If that doesn't detect anything try running a hardware diagnostic -
there's a load on the UBCD (<a href="http://www.ultimatebootcd.com" title="www.ultimatebootcd.com">www.ultimatebootcd.com</a>) or Hiren's BootCD (
<a href="http://www.hiren.info" title="www.hiren.info">www.hiren.info</a>). You might want to download one of those anyway as
they both contain MemTest86+.

None of this needs you to open the case.

P.

Re: bad text under KDE and C7

By Michael Hennebry at 07/22/2018 - 17:55

Ran MemTest86+.
While I was deciding what to tell it,
it started in upiprocesor mode.

After reading about kernel option, tried C7 LIve again.
Got panic again.
Tried again with nosync.
Gpt panic again.
What got C7 to boot was acpi=off and nosmp.

Tried to play the Big Bunny file.
Got fullscreen mode, the first and last images and audio.
No complaints.
Eventaully figured out how to get it out of fullscreen mode.
Big Bunny played without the shutter effect.

The next thing on my list is to try MemTest86+ with SMP.

Re: bad text under KDE and C7

By Michael Hennebry at 07/22/2018 - 23:28

5 hours in SMP mode, no errors.

Re: bad text under KDE and C7

By Michael Hennebry at 07/21/2018 - 12:23

I'll do the testing suggested. The machine is rather old.
HP Compaq dc5800 sff (small form factor)
I would not be surprised if the kernel
just did not like my motherboard any more.

Even after I figure out the kermal panics,
the video will still be an issue.

That is good.

My suspicion is that this is a repeat of what sent me to Centos from Fedora.
(Yes I know the relationship).
I'm told I couldn't install Fedora on a machine because a
kernel bug affected precisely one kind of motherboard, mine.
I'm also told the bug was supposedly fixed,
but I was never able to run any later Fedora on that machine.

Re: bad text under KDE and C7

By Pete Biggs at 07/21/2018 - 19:49

It is very rare that old motherboards (or rather chipsets) stop being
supported - I have CentOS 7 running on 10, 15 yr old kit. You get a lot
more problems with new motherboards than you get with old ones.

They may well be linked.

You never mentioned that you had previously had issues with Fedora on
the machine - not even when I suggested you run a Live version of
Fedora to provide different drivers. Not even when you got kernel
panics when booting the live Fedora did you mention this was a known
issue.

P.

Re: bad text under KDE and C7

By Michael Hennebry at 07/22/2018 - 11:07

A machine, a now-defuct DakTech machine that I bought new.
My current machine is an HP that I bought used.
Did not mean to confuse.

Re: bad text under KDE and C7

By Pete Biggs at 07/12/2018 - 17:49

On Thu, 2018-07-12 at 09:06 -0500, Michael Hennebry wrote:
It may be that your particular combination of chipset and driver is
manifesting a bug - or it might be bad hardware.

Try booting a live distro - such as Fedora (other distros are
available). It won't affect your installed data, but it will provide a
different driver to try.

P.

Re: bad text under KDE and C7

By Michael Hennebry at 07/12/2018 - 09:31

I bought it used.

I'm not seeing anything that seems very interesting.
Xorg.0.log uses the phrase "falling back" a few times.
I expect that just means I've not inerfered with defaults.
boot.log-20180625 does not contain any of the sequences rap, RAP, ideo, IDEO.
dmesg contains graphics and video, but nothing that seems interesting.

I'll try it.

What is a theme?

Only as a last resort.
Having already lost a couple graphics cards (not in this machine),
I open the case rarely and with fear and trepidation.

When I hover over text, the black tape effect goes away.
Do graphics cards know about text or hovering?

Re: bad text under KDE and C7

By Pete Biggs at 07/12/2018 - 17:43

It's how the desktop looks - colours, icons, widgets that sort of
thing. Complex themes have a "theme engine" underneath that does a lot
of the hard work of drawing things on the screen

Not really. But hardware issues may affect the rendering of some
things.

P.

Re: bad text under KDE and C7

By George Labuschagne at 07/12/2018 - 06:11

If it is to just get better font rendering (infinality freetype rendering);
have a look at this gist:

<a href="https://gist.github.com/sunnz/11cd72135a0d6a3ec6b6" title="https://gist.github.com/sunnz/11cd72135a0d6a3ec6b6">https://gist.github.com/sunnz/11cd72135a0d6a3ec6b6</a>

it requires the installation of some packages from non fedault repos such as
nux-desktop and sets up a new fonts.conf file.

However, once used, it is impossible to work on a RHEL 7 type system without
this installed. Font rendering looks better than Windows and Ubuntu.

Are there any errors in the logs - either kernel logs or X logs?

For some reason you say you disliked Gnome - but does Gnome show issues
(they use the same video driver)?

A long shot is the theme. Are you using some non-standard theme on your
desktop?

Finally, do you have a spare graphics card you could try in the machine?
(This is just to make sure there's no hardware problem.)

P.

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and automatically archived by Mimecast SA (Pty) Ltd, an innovator in Software as a Service (SaaS) for business. Mimecast Unified Email Management (UEM) offers email continuity, security, archiving and compliance with all current legislation. To find out more, visit <a href="http://www.mimecast.co.za/uem" title="http://www.mimecast.co.za/uem">http://www.mimecast.co.za/uem</a>.

Re: bad text under KDE and C7

By Michael Hennebry at 07/12/2018 - 08:53

No. It is to replace the 'black tape'
that covers a lot of text.