You are not logged in.

#1 2018-01-24 01:29:26

locuaz
Member
Registered: 2016-03-11
Posts: 14

Problem with Icons on Desktop after resuming a suspended system

My PC:
- Motherboard: Asus Crosshair VI Hero
- Graphic card: NVidia Geforce GTX 1070
- Processor: AMD Ryzen 7 1700
- RAM: 32 GB

I previously resolved these problems:
- Incorrect drivers for NVidia according to NVidia wiki (https://wiki.archlinux.org/index.php/NVIDIA)
- Screen tearing, according to this page: https://www.gamingonlinux.com/articles/ … 892/page=5

Current problem:
- When resuming my suspended OS, background color for captions of icons on my desktop don't get properly showed, it seems to be a problem with transparency. I attach an image:
https://drive.google.com/open?id=1xEzTE … uVs6HzUpXV

Request:
- How can I resolve this problem?

Thanks in advance.

Last edited by locuaz (2018-01-24 01:30:26)

Offline

#2 2018-01-24 10:19:39

dbermond
Package Maintainer (PM)
Registered: 2017-05-06
Posts: 28
Website

Re: Problem with Icons on Desktop after resuming a suspended system

It seems that you're using Plasma desktop. Are you using proprietary NVIDIA drivers?

If so, this is a known Qt issue with proprietary NVIDIA drivers:

https://bugreports.qt.io/browse/QTBUG-56610

Offline

#3 2018-01-24 10:25:33

locuaz
Member
Registered: 2016-03-11
Posts: 14

Re: Problem with Icons on Desktop after resuming a suspended system

Yes, I'm using Plasma, but I'm using open drivers for Nvidia (recommended by wiki)

Offline

#4 2018-01-24 10:28:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: Problem with Icons on Desktop after resuming a suspended system

If you followed the Nvidia article you are using the proprietary drivers, it's also quite unlikely for nouveau to have good support for that graphics chip.

Offline

#5 2018-01-24 10:40:13

dbermond
Package Maintainer (PM)
Registered: 2017-05-06
Posts: 28
Website

Re: Problem with Icons on Desktop after resuming a suspended system

I'm not sure if this also applies to the open source drivers.

On the Qt bug report there is a proposed patch to fix it. You can try to build qt5-base with this patch and see if this solves your issue. Of course you must know what you're doing if you're willing to take this step.

It worked for me with proprietary drivers way back when I tested the patch.

Offline

#6 2018-01-24 14:45:24

locuaz
Member
Registered: 2016-03-11
Posts: 14

Re: Problem with Icons on Desktop after resuming a suspended system

Dear dbermond, which would be the steps to use this patch? If it does not work, which would be the steps to undone any changes done for this patch? Thanks in advance.

Note: the patch is located in this page: https://bugs.kde.org/show_bug.cgi?id=364766 , right?

Last edited by locuaz (2018-01-24 14:47:11)

Offline

#7 2018-01-24 14:57:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: Problem with Icons on Desktop after resuming a suspended system

Look at https://wiki.archlinux.org/index.php/Arch_Build_System and https://wiki.archlinux.org/index.php/Patching_packages for guidance on how to get the package source and applying a patch. This is easily revertable by simply installing the repository version again should the patch not bring the desired effect.

Offline

#8 2018-01-24 16:54:39

dbermond
Package Maintainer (PM)
Registered: 2017-05-06
Posts: 28
Website

Re: Problem with Icons on Desktop after resuming a suspended system

locuaz wrote:

Dear dbermond, which would be the steps to use this patch? If it does not work, which would be the steps to undone any changes done for this patch? Thanks in advance.

Already answered by @V1del.

locuaz wrote:

the patch is located in this page: https://bugs.kde.org/show_bug.cgi?id=364766 , right?

Yes, the patch is at the KDE bug tracker (the original bug report).

Direct link to the patch:
https://bugsfiles.kde.org/attachment.cgi?id=107684

Note that you're not supposed to ask on the KDE bug tracker about how to use a patch, specially if you say to be an Arch Linux user big_smile

Offline

#9 2018-01-24 17:18:14

locuaz
Member
Registered: 2016-03-11
Posts: 14

Re: Problem with Icons on Desktop after resuming a suspended system

First off, thanks dbermond and V1del for your answers. Sincerely I've read the pages mentioned by V1del and I feel I'm reading a Chinese article, I don't know how to start 'cause I'm a newbie yet big_smile
That's the reason why I'm requesting specific steps, please.

Note: the file downloaded is "0001-NV_RESET.patch"

Last edited by locuaz (2018-01-25 02:40:40)

Offline

#10 2018-01-25 11:45:49

locuaz
Member
Registered: 2016-03-11
Posts: 14

Re: Problem with Icons on Desktop after resuming a suspended system

I've read once again the section "Applying patches" from https://wiki.archlinux.org/index.php/Patching_packages, but I don't get it, so from the directory ~/Download, where this patch is located, I tried to run the following sentence by getting this output:

$ patch -p1 -i 0001-NV_RESET.patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From a87d3414be1ec3efd1fdb7874a9ea13f3ba67248 Mon Sep 17 00:00:00 2001
|From: David Edmundson <davidedmundson@kde.org>
|Date: Mon, 4 Sep 2017 14:47:03 +0100
|Subject: [PATCH] NV_RESET
|
|---
| .../gl_integrations/xcb_glx/qglxintegration.cpp    | 69 ++++++++++++++++++----
| .../xcb/gl_integrations/xcb_glx/qglxintegration.h  |  2 +
| 2 files changed, 59 insertions(+), 12 deletions(-)
|
|diff --git a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
|index 7640a711a9..80d2619633 100644
|--- a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
|+++ b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
--------------------------
File to patch:

What's my fail?

Offline

#11 2018-01-25 14:46:01

dbermond
Package Maintainer (PM)
Registered: 2017-05-06
Posts: 28
Website

Re: Problem with Icons on Desktop after resuming a suspended system

locuaz wrote:

from the directory ~/Download, where this patch is located, I tried to run the following sentence

locuaz wrote:
$ patch -p1 -i 0001-NV_RESET.patch

It seems that you're blindingly applying the patch in nowhere at the shell prompt. This is not the way to go.

First of all, keep in mind that you'll need to build a (patched) package that can be installed by pacman. So you'll have to modify a PKGBUILD file for this.

After gathering the Arch Linux sources for building qt5-base, you'll need to modify the PKGBUILD file in order to apply the patch, and then build the package.

The Wiki articles pointed by @V1del will guide you through this. But if you don't have any knowledge about creating and modifying packages it will be a bit difficult, and you'll need to read more Wiki articles, like these ones:

https://wiki.archlinux.org/index.php/Creating_packages
https://wiki.archlinux.org/index.php/PKGBUILD

Note that there is also a chance that the patch will fail to be applied, because it was designed at a previous Qt verion (5.9). In this case you'll have to make some adjustments in the patch and this would require some programming skills.

Offline

#12 2018-01-25 15:36:12

locuaz
Member
Registered: 2016-03-11
Posts: 14

Re: Problem with Icons on Desktop after resuming a suspended system

Thanks dbermond, I can see the complexity of this task and the uncertainty of this patch. For the moment, this "error" with icons is not that bad, so I can live with it.

Offline

#13 2018-01-25 15:47:58

dbermond
Package Maintainer (PM)
Registered: 2017-05-06
Posts: 28
Website

Re: Problem with Icons on Desktop after resuming a suspended system

locuaz wrote:

For the moment, this "error" with icons is not that bad, so I can live with it.

Good choice. Just wait for the upstream fix. Unfortunately it may take a while.

Offline

Board footer

Powered by FluxBB