[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-09-25 Thread ederag
https://bugs.kde.org/show_bug.cgi?id=375730

ederag  changed:

   What|Removed |Added

 CC||ed...@gmx.fr

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-06 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #26 from Christian  ---
(In reply to David Edmundson from comment #25)
> Lxqt doesn't use an opengl backend. This does.

So you're saying you want to make plasma unavailable to anyone that doesn't
have QT libraries compiled with opengl and all EGL support in it?
That's utterly absurd and lazy...

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-06 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

David Edmundson  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-06 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

David Edmundson  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #25 from David Edmundson  ---
Lxqt doesn't use an opengl backend. This does.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-06 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

Christian  changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|INVALID |---

--- Comment #24 from Christian  ---
(In reply to David Edmundson from comment #23)
> You had a broken setup. The checks worked exactly as intended.

Nope.
The setup was ok, I was using the exact same QT libraries when I was running
LxQt and there was NO problem at all.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-06 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #23 from David Edmundson  ---
You had a broken setup. The checks worked exactly as intended.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-06 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

David Edmundson  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #22 from David Edmundson  ---
You had a broken setup. The checks worked exactly as intended.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-06 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

Christian  changed:

   What|Removed |Added

 Status|NEEDSINFO   |UNCONFIRMED
 Resolution|WAITINGFORINFO  |---

--- Comment #21 from Christian  ---
(In reply to David Edmundson from comment #20)
> >I had to rebuild everything in my system from ground up and it's now running 
> >plasma with nvidia and I have no issues.
> 
> With the checks in place?
> 
> 
> If so, what do you think is wrong with the checks? It sounds like they
> worked perfectly.

It has the checks enabled, but I have rebuilt everything with EGL and all
features that I might have missed in my libraries before.
I know these features aren't needed because I could start other DEs with the
same settings and everything worked with no problems, so this is what I think:

possibility 1:
The checks are too restrictive, they are looking for features that aren't
needed to start the environment and they completely block moving forward.

possibility 2:
The checks are ok, but there's a step above, calling these checks, which isn't
interpreting results or reconfiguring the environment accordingly and so block
everything.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-06 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

David Edmundson  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #20 from David Edmundson  ---

>I had to rebuild everything in my system from ground up and it's now running 
>plasma with nvidia and I have no issues.

With the checks in place?


If so, what do you think is wrong with the checks? It sounds like they worked
perfectly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-04 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

Christian  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |UNCONFIRMED

--- Comment #19 from Christian  ---
Please check and fix the code in: plasma-workspace/shell/shellcorona.cpp

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-02-04 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #18 from Christian  ---
(In reply to Christian from comment #17)
> (1) yes: - qmlscene works
> yes: - plasma still gives that error
> 
> I'm working on:
> (2) disable the warning and see if Plasma works.
> 
> This will take some time though.
> Thanks for your help.

Ok, so this is an update:

I had to rebuild everything in my system from ground up and it's now running
plasma with nvidia and I have no issues.
I cannot reproduce what was happening before, so I can't add to the information
that is already here.

The fix in my case was to enable the "egl" flag and rebuild mesa, then all qt
libraries and then plasma from scratch.

This means the checks are indeed completely flawed and should be revised in:
plasma-workspace/shell/shellcorona.cpp

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-31 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #17 from Christian  ---
(1) yes: - qmlscene works
yes: - plasma still gives that error

I'm working on:
(2) disable the warning and see if Plasma works.

This will take some time though.
Thanks for your help.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-31 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

David Edmundson  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #16 from David Edmundson  ---
So where we're at currently:

 - qmlscene works
 - plasma still gives that error

and I am still waiting to here what happens when you run disable the warning
and if Plasma works

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-31 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

Christian  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|UNCONFIRMED

--- Comment #15 from Christian  ---
Hello David,
I didn't explain correctly.
The issue is still there, the problem that was resolved was with my glxinfo.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-31 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

David Edmundson  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED
 Status|NEEDSINFO   |RESOLVED

--- Comment #14 from David Edmundson  ---
Sounds like you compiled Qt without GL.

In any case, I'm glad it's fixed and that the warning worked.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-31 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #13 from Christian  ---
ok, so after rebuilding everything from scratch the problem was fixed, I don't
know what was causing it.
Running this is from my LxQT environment after building qt and plasma from
source:
/usr/local/bin/qmlscene ./test.qml

Will pop the Hello World message in the screen with no problems, no errors.

glxinfo | grep -i opengl
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 640/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 378.09
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 378.09
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 378.09
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #12 from Christian  ---
Hello David,
I'm running on real hardware, no virtualization.
It's confusing, I also noticed the vmware from glxinfo and I have no idea why.
I've built now a new kernel and a new qt from dev branch in git, reemerged the
nvidia drivers and will post more info after I try everything again.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #11 from David Edmundson  ---
I've got confused.

The title says it's on NVidia drivers. 

This says:
>OpenGL vendor string: VMware, Inc.
>OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)

Can you explain your setup. Are you running on real hardware or in virtualbox?

What were the inconsistencies you fixed? Does that make a difference to Plasma
too?

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #10 from Christian  ---
Correction:
Ok, so I had to fix a few inconsistencies and those were causing trouble with
qmlscene, but it is now working with no problems, showing the Hello World
message  with no messages in the terminal or journalctl:

/usr/local/bin/qmlscene ./test.qml ./test.qml


The output from glxinfo:burger ~ # glxinfo | grep -i opengl
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 17.0.0-rc2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.0.0-rc2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.0.0-rc2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #9 from Christian  ---
I forgot to mention: it's not rendering anything.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #8 from Christian  ---
(In reply to Christian from comment #7)
> (In reply to David Edmundson from comment #6)
> > Can you still provide the information I requested please.
> 
> Yes. This is the result:
> 
> burger ~ # /usr/local/bin/qmlscene ./test.qml 
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> Unrecognized OpenGL version
> Unrecognized OpenGL version
> 
> 
> from journalctl -xe:
Jan 30 13:00:42 burger konsole[15959]: Reusing existing ksycoca
Jan 30 13:00:42 burger konsole[15959]: Recreating ksycoca file
("/home/chris/.cache/ksycoca5_en_LHtACk4Ee1xwTl37EAPO8JVWtKk=", version 303)
Jan 30 13:00:46 burger konsole[15959]: Still in the time dict (i.e. deleted
files) ("apps")
Jan 30 13:00:46 burger konsole[15959]: kf5.kservice.sycoca: Parse error in 
"/home/chris/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" ,
line  1 , col  1 :  "unexpected end of file"
Jan 30 13:00:46 burger konsole[15959]: modified:
"/usr/share/applications/qtconfig-qtgui-4.desktop"
Jan 30 13:00:46 burger konsole[15959]: kf5.kservice.sycoca: The menu spec file
contains a Layout or DefaultLayout tag without the mandatory Merge tag inside.
Please fix your file.
Jan 30 13:00:46 burger konsole[15959]: Saving

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #7 from Christian  ---
(In reply to David Edmundson from comment #6)
> Can you still provide the information I requested please.

Yes. This is the result:

burger ~ # /usr/local/bin/qmlscene ./test.qml 
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Unrecognized OpenGL version
Unrecognized OpenGL version


from journalctl -xe:

~ # /usr/local/bin/qmlscene ./test.qml 
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Unrecognized OpenGL version
Unrecognized OpenGL version

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

David Edmundson  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #6 from David Edmundson  ---
Can you still provide the information I requested please.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

Christian  changed:

   What|Removed |Added

   Severity|normal  |critical

--- Comment #5 from Christian  ---
If the check is correct and this is indeed connected to sceneGraphError, then
some other module is interpreting this sceneGraphError INCORRECTLY as reason to
prevent everything else from loading and then THAT'S the problem.
I can run other DEs with this exact same setting and there are no problems,
even run World of Warcraft with wine.
Also:
(1) This is a 'catastrophic' failure, i.e. I cannot run Plasma 5 at all because
of this error.
(2) As I mentioned before, it affects several other users.
>From (1) + (2) there's no justification to modify the severity of this issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #4 from David Edmundson  ---
Another simpler useful test would be to save this to a file
https://paste.kde.org/pqppwyvuy

 and then run qmlscene that_file.qml


where that_file is the saved version of that paste. If that renders something,
great, if not we have a problem with either:

your personal setup
nvidia's driver
Qt

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #3 from David Edmundson  ---
>Disabling the check that throws ShellCorona::showOpenGLNotCompatibleWarning() 
>would probably fix it.

You've compiled it from master you can tell me. Does it fix it?

It's connected to ::sceneGraphError

So if you see this error, you're probably not going to see much else. I don't
see anything that points to it being a bug in this check.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

David Edmundson  changed:

   What|Removed |Added

   Severity|critical|normal

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-30 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #2 from David Edmundson  ---
*** Bug 375679 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-29 Thread Martin Gräßlin
https://bugs.kde.org/show_bug.cgi?id=375730

Martin Gräßlin  changed:

   What|Removed |Added

 CC|kwin-bugs-n...@kde.org  |

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 375730] Starting Kwin with NVidia Proprietary drivers / libraries throws: "Plasma is unable to start as it could not correctly use OpenGL 2."

2017-01-29 Thread Christian
https://bugs.kde.org/show_bug.cgi?id=375730

--- Comment #1 from Christian  ---
I've built the entire plasma5 from sources to confirm and the problem is still
happening here, so it happens in master and also 5.8.5 as reported originally.
Disabling the check that throws ShellCorona::showOpenGLNotCompatibleWarning()
would probably fix it.
There are several very suspicious TODOS and comments throughout the file:

plasma-workspace/shell/shellcorona.cpp 
" //TODO: does a similar check make sense?
  ...
  ::showOpenGLNotCompatibleWarning);
"

-- 
You are receiving this mail because:
You are watching all bug changes.