You are not logged in.

#1 2014-01-19 22:00:00

mbohal
Member
Registered: 2014-01-15
Posts: 3

kde desktop effects dont work with openGL (sort of)

Hi

Recently, my desktop effects stopped working. Im not exactly sure when, but it is no more then two weeks. At the time I was busy and figured I would deal with it later, but now after a few hours I still can not find a solution.

When I boot with KDE desktop effects Compositing type set to XRender all works. I can even switch to openGl and everything is fine. As soon as I reboot howerver, KDE comes up with no desktop effects. I can only enable them by setting composition type to XRender and I can not set them to openGl. If I try a message comes up saying taht the action failed with no specific info.

I have HP laptop with ATI FirePro M2000 graphics card. I use the mesa drivers.

If anybody could point where to look for the problem, I would be very gratful
Thank you

Offline

#2 2014-01-20 13:46:57

silenceleaf
Member
Registered: 2013-03-16
Posts: 38

Re: kde desktop effects dont work with openGL (sort of)

I also come across some problem. My kde UI's title bar turn to translucent. May be caused by an update of X-server. I am try to figuring out why.

Offline

#3 2014-01-20 13:58:24

mbohal
Member
Registered: 2014-01-15
Posts: 3

Re: kde desktop effects dont work with openGL (sort of)

silenceleaf wrote:

I also come across some problem. My kde UI's title bar turn to translucent. May be caused by an update of X-server. I am try to figuring out why.

Do you have any particular X-server update in mind? I would like to try to rollback such update to pinpopint the problem, but I lived with it for a while and so I dont know what exectly to rollback and how far.

Last edited by mbohal (2014-01-20 13:58:57)

Offline

#4 2014-01-20 16:50:02

WarheadsSE
Member
From: EST, US
Registered: 2012-04-18
Posts: 8
Website

Re: kde desktop effects dont work with openGL (sort of)

This has happened to me as well, as of updates from last week. Additionally, KDM now dies with a segfault in Xorg.
- pacman log snippet from last thursday (2014-01-16) http://ix.io/a0T
- xorg.log tail from boot (and KDM start) http://ix.io/a0U

I did do another Syu today, and a reboot, and still happening.

NOTE: using xf86-video-ati 1:7.2.0-2, ati-dri 10.0.2-1, glu 9.0.0-2, mesa 10.0.2-1, mesa-libgl 10.0.2-1

Last edited by WarheadsSE (2014-01-20 16:51:49)


Developer @ Arch Linux | ARM

Offline

#5 2014-01-20 18:38:06

Bluecode
Member
From: France
Registered: 2013-02-27
Posts: 7

Re: kde desktop effects dont work with openGL (sort of)

Got the exact same problem.

Everything (apart from a few desktop effects) works with XRender but I can't switch to OpenGL. It happened something like 1 week and a half ago, and I'm trying to fix it since that time. I was about to give up on my research and post something here, but sounds like I don't have to! smile
A bit more information on the problem: there has been a KDE update last Wednesday, and that actually fixed the problem for the time of a reboot. I could activate OpenGL rendering and every desktop effect without a problem, but it broke again as soon as I rebooted.
Moreover, deleting the ~/.kde4/share/config/kwin* does the same thing and make OpenGL rendering function correctly for a session...
Also, when executing kwin --replace in a terminal and trying to activate OpenGL, it yields some weird error about texture creation and fbconfig...

Here are a few files that may be useful:
- ~/.kde4/share/config/kwinrc
- ~/.kde4/share/config/kwinrulesrc
- /var/log/Xorg.0.log
- kwin --replace output when trying to activate OpenGL

Offline

#6 2014-01-20 20:35:32

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: kde desktop effects dont work with openGL (sort of)

did you try to use another OpenGL version in Kwin settings?


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#7 2014-01-20 20:37:11

mbohal
Member
Registered: 2014-01-15
Posts: 3

Re: kde desktop effects dont work with openGL (sort of)

Thaodan wrote:

did you try to use another OpenGL version in Kwin settings?

Yes, I tried all of tham that are selectable in the dropdown, that is 1.2, 2.0, 3.1

Last edited by mbohal (2014-01-20 20:37:28)

Offline

#8 2014-01-20 22:00:56

abveritas
Member
Registered: 2012-05-04
Posts: 29

Re: kde desktop effects dont work with openGL (sort of)

This report for ATI cards is starting to pop-up all over, bug report is up:
https://bugs.freedesktop.org/show_bug.cgi?id=70706

The suggestion there to build mesa from git with disable-dri3 is tested locally, and fixes the issue (confirmed by a few users).

Offline

#9 2014-01-21 09:02:02

nwoki
Member
Registered: 2010-09-14
Posts: 67

Re: kde desktop effects dont work with openGL (sort of)

silenceleaf wrote:

I also come across some problem. My kde UI's title bar turn to translucent. May be caused by an update of X-server. I am try to figuring out why.

Do yo mean something like this?

broken_oxygen.jpg

Offline

#10 2014-01-21 15:47:20

theodore
Member
Registered: 2008-09-09
Posts: 151

Re: kde desktop effects dont work with openGL (sort of)

I confirm that problem as well. It happens randomly after reboot (i.e. sometimes effects work, sometimes not). System with ati and the open source radeon driver.

Offline

#11 2014-01-21 16:12:22

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: kde desktop effects dont work with openGL (sort of)

I don't use KDE but I saw a thread yesterday on the title bar issue and they had some setting in the xorg that enabled SNA acceleration for Intel cards and that fixed it. Did you guys see that thread?


Matt

"It is very difficult to educate the educated."

Offline

#12 2014-01-21 20:35:40

Bluecode
Member
From: France
Registered: 2013-02-27
Posts: 7

Re: kde desktop effects dont work with openGL (sort of)

Well the last update fixed the problem for me.

And that's weird because neither xorg or kwin was updated... Maybe the fix came from the linux kernel? Here is a list of the updated packages, for reference:
- bluez
- bluez-libs
- bluez-utils
- device-mapper
- libgcrypt
- linux
- lirc-utils
- lvm2
- python-dbus-common
- python2-dbus
- virtualbox-host-modules
- xdg-utils

Offline

#13 2014-01-21 21:10:53

nwoki
Member
Registered: 2010-09-14
Posts: 67

Re: kde desktop effects dont work with openGL (sort of)

No, last update doesn't fix anything.

@mrunion: got a link to that post you were talking about?

Offline

#14 2014-01-21 21:53:49

theodore
Member
Registered: 2008-09-09
Posts: 151

Re: kde desktop effects dont work with openGL (sort of)

no fixing here as well.

@Bluecode: if you try to reboot again may you still have the problem, that's actually what happened to me. First reboot everything was fine, second reboot not :-(

Offline

#15 2014-01-21 23:34:14

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: kde desktop effects dont work with openGL (sort of)

Here is one thread with a possible solution: https://bbs.archlinux.org/viewtopic.php?id=175883

I can't find the one I thought mentioned using SNA. I probably just imagined it. I don't run KDE, so I have no first-hand experience with this. Sorry, guys.


Matt

"It is very difficult to educate the educated."

Offline

#16 2014-01-22 07:50:33

Bluecode
Member
From: France
Registered: 2013-02-27
Posts: 7

Re: kde desktop effects dont work with openGL (sort of)

Damn you were right, it broke again! I rebooted 2 times after the update yesterday, and didn't run into any problem, but this morning's boot broke it...
So no fixing here. sad

I think the Qt render system is set at raster by default, and I checked with the two settings, so it can't be it.

Offline

#17 2014-01-22 09:15:17

nwoki
Member
Registered: 2010-09-14
Posts: 67

Re: kde desktop effects dont work with openGL (sort of)

Setting the compositing type (systemsettings->desktop effects->advanced) from xrender to OpenGL3.1 solved the issue for me

Offline

#18 2014-01-22 10:33:41

theodore
Member
Registered: 2008-09-09
Posts: 151

Re: kde desktop effects dont work with openGL (sort of)

nwoki wrote:

Setting the compositing type (systemsettings->desktop effects->advanced) from xrender to OpenGL3.1 solved the issue for me

that's not a permanent solution as well. Possibly after a reboot you will still have the issue (e.g. what happened to me).

Offline

#19 2014-01-22 16:19:42

izahn
Member
Registered: 2013-04-19
Posts: 6

Re: kde desktop effects dont work with openGL (sort of)

Replacing mesa with mesa-git from the AUR solved this issue for me.

Offline

#20 2014-01-24 20:15:11

WarheadsSE
Member
From: EST, US
Registered: 2012-04-18
Posts: 8
Website

Re: kde desktop effects dont work with openGL (sort of)

Rebuilding mesa-git (as is) and installing worked for me:

sudo pacman -U mesa*.pkg.tar.xz ati-dri*.pkg.tar.xz


Developer @ Arch Linux | ARM

Offline

#21 2014-01-25 09:32:27

nwoki
Member
Registered: 2010-09-14
Posts: 67

Re: kde desktop effects dont work with openGL (sort of)

theodore wrote:
nwoki wrote:

Setting the compositing type (systemsettings->desktop effects->advanced) from xrender to OpenGL3.1 solved the issue for me

that's not a permanent solution as well. Possibly after a reboot you will still have the issue (e.g. what happened to me).


Did several reboots, still working fine

Offline

#22 2014-01-26 11:27:58

theodore
Member
Registered: 2008-09-09
Posts: 151

Re: kde desktop effects dont work with openGL (sort of)

WarheadsSE wrote:

Rebuilding mesa-git (as is) and installing worked for me:

sudo pacman -U mesa*.pkg.tar.xz ati-dri*.pkg.tar.xz


same here

Offline

#23 2014-01-27 09:16:19

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: kde desktop effects dont work with openGL (sort of)

I just decided to try out the opensource AMD driver and was met with this, great timing.
Sometimes OpengGl works on KDE, sometimes it doesn't, if I delete  .kde4/share/config/kwinrc the chances of OpenGl working seem to multiply, I cannot explain this, anyway, as soon as I reboot and kwinrc is regenerated I'm facing the same problem again,  so what is working for me for the time being is just deleting this file whenever I have to restart, not ideal, but I'll take what I can get, I'll try replacing mesa with mesa-git from the aur, that seems to have worked for most of you.

Edit: Replacing the packages with the git ones solved this issue, but it caused more problems that it solved, I think I'll just avoid rebooting for a while.

Last edited by LucetLux (2014-01-27 10:19:12)

Offline

#24 2014-02-19 22:15:25

nathanb
Member
Registered: 2011-11-28
Posts: 103
Website

Re: kde desktop effects dont work with openGL (sort of)

I just started having this problem...odd, I've updated and rebooted twice since the date of the first report. Seems I just got lucky.

What's the risk of using mesa-git? I have currently worked around the issue by switching compositing to XRender. Are the problems encountered with mesa-git severe enough that it's better off using the XRender compositor?

Offline

#25 2014-02-19 23:34:10

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: kde desktop effects dont work with openGL (sort of)

It worked for most people, I had some problems with 3D applications, but it definitely solved the problem with desktop effects, I'd say it's worth a try.
BTW: I know this is supposedly a kde issue, but it has only happened to me when I use the opensource driver, this problem isn't present whenever I use fglrx.

Offline

Board footer

Powered by FluxBB