Bug 1366 - Compiz does not work with the nvidia proprietary driver
Summary: Compiz does not work with the nvidia proprietary driver
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: http://www.mageialinux-online.org/for...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 09:29 CEST by David GEIGER
Modified: 2013-05-09 19:49 CEST (History)
10 users (show)

See Also:
Source RPM: compositing-wm-common
CVE:
Status comment:


Attachments
Screenshot after "kcmshell4 componentchooser" (167.69 KB, image/png)
2011-05-23 17:53 CEST, David GEIGER
Details

Description David GEIGER 2011-05-21 09:29:01 CEST
Hello,team Mageia

When I want to use 3D effects and Compiz, I am unable to start. The "splash-screen" freeze and KDE4 does not start this.
I am forced to do a "Ctrl + Alt + Backspace"to restart the display server.
I logged back with "drak3d"to disable 3D effects.KDE4 starts this only without the 3D effects and Compiz disabled.
Before you enable the 3D effects, I turn off the effects of KWIN and in "System Settings" -> "Default Applications" -> "Window Manager" I check using another window manager "Compiz".
After the CCM, "Hardware" -> "Configure 3D Desktop Effects" I check "Compiz Fusion" and I restart the display server.And it was this moment that the problem starts.
For info:effects KWIN works without problem.

*So I use Mageia release 1 (Cauldron) for x86_64 with kernel 2.6.38.6-desktop-2.mga. KDE 4.6.3.

*My card is a graphics rendering "NVIDIA GeForce Go 7300"

*And the driver is:
 -dkms-nvidia-current: 270.41.06
 -nvidia-current-doc-html: 270.41.06
 -x11-driver-video-nvidia-current: 270.41.06

Really sorry for my bad English.
John Balcaen 2011-05-21 12:23:25 CEST

CC: (none) => balcaen.john
Summary: Launch 3D effects and Compiz impossible,freeze on "splash-screen". => Compiz does not work when used as the window manager on KDE

Comment 2 David GEIGER 2011-05-21 12:53:22 CEST
 http://pastebin.com/szD5HQBm
Comment 3 John Balcaen 2011-05-21 13:17:41 CEST
[david@david Documents]$ kcmshell4 componentchooser
compiz-manager: Checking for Xgl: compiz-manager: not present.
compiz-manager: xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
compiz-manager: No whitelisted driver found
compiz-manager: aborting and using fallback: /usr/bin/kwin
OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 GeForce Go 7300/PCI/SSE2
OpenGL version string:                  2.1.2 NVIDIA 270.41.06
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler

From the log you provided on irc, it seems that your driver is simply not whitelisted to be used with compiz-manager so compiz simply does not start.
Comment 4 Ahmad Samir 2011-05-21 19:07:30 CEST
CC-ing Anssi and Colin.

For nvidia it's /usr/lib64/xorg/extra-modules/nvidia_drv.so, so the whitelisting check in compiz-manager fails; I think this change in /usr/bin/compiz-manager, should do the trick:
--- SOURCES/compiz-manager      (revision 100074)
+++ SOURCES/compiz-manager      (working copy)
@@ -50,7 +50,7 @@
 NVIDIA_SETTINGS="nvidia-settings" # Assume it's in the path by default
 
 # For detecting what driver is in use, the + is for one or more /'s
-XORG_DRIVER_PATH="/usr/lib/xorg/modules/drivers/+"
+XORG_DRIVER_PATH="(/usr/lib/xorg/modules/drivers/+|/usr/lib/xorg/modules/extra-modules/+)"

If there're no objections I'll commit.

CC: (none) => anssi.hannula, mageia
Source RPM: Compiz => compositing-wm-common

Ahmad Samir 2011-05-21 19:07:42 CEST

Component: Installer => RPM Packages

Comment 5 Anssi Hannula 2011-05-21 19:32:43 CEST
No objection from me.
Comment 6 Ahmad Samir 2011-05-21 19:45:49 CEST
OK, thanks for the review.

I've asked for a freeze push.
Ahmad Samir 2011-05-21 19:46:11 CEST

Summary: Compiz does not work when used as the window manager on KDE => Compiz does not work with the nvidia proprietary driver

Comment 7 Ahmad Samir 2011-05-22 21:38:36 CEST
Package submitted.

Closing; feel free to reopen if it still doesn't work after updating.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 8 David GEIGER 2011-05-22 22:26:08 CEST
Hello,

Sorry, but that does not work after updating.

Here for the update: http://pastebin.com/nzyqNigu

Here is the result of "kcmshell4 componentchooser":http://pastebin.com/uPzz2crc

I'm really sorry,goodbye.
Comment 9 David GEIGER 2011-05-22 22:35:34 CEST
Hello,

Here is a screenshot during the freeze,when starting KDE: http://pix.toile-libre.org/upload/original/1306096169.jpg
Comment 10 Manuel Hiebel 2011-05-22 22:42:53 CEST
so reopen

Status: RESOLVED => REOPENED
CC: (none) => manuel
Resolution: FIXED => (none)

Comment 11 Ahmad Samir 2011-05-22 23:03:42 CEST
Should be fixed in the next package.
Comment 12 Ahmad Samir 2011-05-22 23:04:26 CEST
Please, for the next times, always attach logs to bugzilla directly, external pastebins may expire after some time.
Comment 13 David GEIGER 2011-05-23 17:53:17 CEST
Created attachment 451 [details]
Screenshot after "kcmshell4 componentchooser"

Hello,

Here is a screenshot after the command "kcmshell4 componentchooser" today to 17:30 and after the updates:
Comment 14 David GEIGER 2011-05-23 17:55:45 CEST
Hello,

Sorry, but that does not work after updating.

Here for the update:

Préparation ...                  ################################################
    37/63: python                ################################################
    38/63: tkinter               ################################################
    39/63: plasma-scriptengine-python
                                 ################################################
    40/63: compositing-wm-common ################################################
    41/63: plasma-applet-system-monitor-temperature
                                 ################################################
    42/63: soprano-plugin-common ################################################
    43/63: plasma-applet-system-monitor-cpu
                                 ################################################
    44/63: kdebase4-workspace-googlegadgets
                                 ################################################
Comment 15 David GEIGER 2011-05-23 17:57:22 CEST
Here is the result of "kcmshell4 componentchooser":

[david@david Documents]$ kcmshell4 componentchooser
compiz-manager: Checking for Xgl: compiz-manager: not present. 
compiz-manager: xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log 
compiz-manager: Detected PCI ID for VGA: 03:00.0 0300: 10de:01d7 (rev a1) (prog-if 00 [VGA controller])
compiz-manager: Checking for texture_from_pixmap: compiz-manager: present. 
compiz-manager: Checking for non power of two support: compiz-manager: present. 
compiz-manager: Checking for Composite extension: compiz-manager: present. 
compiz-manager: Comparing resolution (1440x900) to maximum 3D texture size (4096): compiz-manager: Passed.
compiz-manager: Checking for nVidia: compiz-manager: present. 
compiz-manager: Checking for FBConfig: compiz-manager: present. 
compiz-manager: Checking for Xgl: compiz-manager: not present. 
compiz-manager: Setting environment: __GL_YIELD=NOTHING  FROM_WRAPPER=yes
compiz-manager: Setting arguments: --ignore-desktop-hints --replace --loose-binding
/usr/bin/compiz (core) - Error: Plugin 'text' not loaded.

/usr/bin/compiz (ring) - Warn: No compatible text plugin found.
/usr/bin/compiz (cube) - Warn: Failed to load slide: /usr/share/compositing-wm/mandriva-top.png
Comment 16 Colin Guthrie 2011-05-23 18:29:18 CEST
What happens if you remove (rename) your users compiz configs?

e.g. mv ~/.config/compiz/compizconfig/Default.ini ~/.config/compiz/compizconfig/Default.ini.old
Comment 17 David GEIGER 2011-05-23 19:20:04 CEST
I renamed the file "default.ini" to "default.ini-old", the result is identical :


[david@david Documents]$ kcmshell4 componentchooser
compiz-manager: Checking for Xgl: compiz-manager: not present. 
compiz-manager: xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log 
compiz-manager: Detected PCI ID for VGA: 03:00.0 0300: 10de:01d7 (rev a1) (prog-if 00 [VGA controller])
compiz-manager: Checking for texture_from_pixmap: compiz-manager: present. 
compiz-manager: Checking for non power of two support: compiz-manager: present. 
compiz-manager: Checking for Composite extension: compiz-manager: present. 
compiz-manager: Comparing resolution (1440x900) to maximum 3D texture size (4096): compiz-manager: Passed.
compiz-manager: Checking for nVidia: compiz-manager: present. 
compiz-manager: Checking for FBConfig: compiz-manager: present. 
compiz-manager: Checking for Xgl: compiz-manager: not present. 
compiz-manager: Setting environment: __GL_YIELD=NOTHING  FROM_WRAPPER=yes
compiz-manager: Setting arguments: --ignore-desktop-hints --replace --loose-binding
/usr/bin/compiz (cube) - Warn: Failed to load slide: /usr/share/compositing-wm/mandriva-top.png
Comment 18 Colin Guthrie 2011-05-23 20:19:56 CEST
Thinking about this a little, I don't think this has ever worked.... I never did bother integrating compiz-manager and the built in KDE selection was never used.

In Mandriva/Mageia, you use drak3d to configure if you want to use Compiz or not... does this still work for you? (i.e. totally forget about kcmchell)
Comment 19 David GEIGER 2011-05-23 21:22:01 CEST
Yes absolutely. When I want use Compiz I go through drack3d to activate the effects.
But when I restart the display server,The Mageia splash screen freeze.
And then KDE will not start.
If I go through kcmchell, is to provide information on possible problem.
With Mandriva I never had a bug with compiz, the 2007 has the 2010.2.
This is the first time.And it bothers me alot for you and me.
Comment 20 Ahmad Samir 2011-05-23 22:40:01 CEST
Hmm, I think there's a thread over at nvnews forum about KDE4 issues when desktop effects are enabled, with a Nvidia 7300 Go http://www.nvnews.net/vbulletin/showthread.php?t=160115

And there's usually trouble with desktop effects in KDE4 with nvidia cards ATM.
Comment 21 David GEIGER 2011-06-09 18:04:07 CEST
Hello team Mageia,

Is a new Nvidia driver (improving the bug) is expected in the near future?

Or otherwise (just a suggestion) is it possible for you to package the old driver version 260.xx with dkms appropriate to add them to the CCM?

Which would for example:

-dkms-nvidia260
-nvidia260-doc-html 
-x11-driver-video-nvidia260

I thank you in advance. Goodbye
Comment 22 Ahmad Samir 2011-06-09 18:54:12 CEST
(In reply to comment #21)
> Hello team Mageia,
> 
> Is a new Nvidia driver (improving the bug) is expected in the near future?
> 
> Or otherwise (just a suggestion) is it possible for you to package the old
> driver version 260.xx with dkms appropriate to add them to the CCM?
> 
> Which would for example:
> 
> -dkms-nvidia260
> -nvidia260-doc-html 
> -x11-driver-video-nvidia260
> 
> I thank you in advance. Goodbye

Actually no, we can't use any nvidia driver older than 270.30 as this is the first driver to support X server ABI 10 (the X server in Mageia). c.f. http://www.nvnews.net/vbulletin/showthread.php?p=2399427
Comment 23 David GEIGER 2011-06-09 21:19:43 CEST
Hello Samir,

OK,and Can a 270.xx driver patch is planned in the near future by Nvidia?
David GEIGER 2011-06-09 21:27:37 CEST

Version: Cauldron => 1

Comment 24 Ahmad Samir 2011-06-09 22:04:40 CEST
(In reply to comment #23)
> Hello Samir,
> 
> OK,and Can a 270.xx driver patch is planned in the near future by Nvidia?

Sorry, I don't know when this issue will be fixed.
jeanluc CINELLI 2011-07-30 09:14:22 CEST

CC: (none) => enzolyte

Comment 25 Samuel Verschelde 2011-10-01 10:56:52 CEST
nvidia driver  275.09.07 is in nonfree/updates for Mageia 1. Does it improve the situation ?

Keywords: (none) => NEEDINFO
CC: (none) => stormi

Comment 26 David GEIGER 2011-10-01 13:26:40 CEST
$ rpm -qa | grep nvidia
x11-driver-video-nvidia-current-275.09.07-0.1.mga1.nonfree
dkms-nvidia-current-275.09.07-0.1.mga1.nonfree
nvidia-current-doc-html-275.09.07-0.1.mga1.nonfree

No, it didn't improve the situation. I tried it right out of 16/06/2011 and it doesn't work better.
Comment 27 Colin Guthrie 2011-10-02 12:30:43 CEST
As I don't have any nvidia hardware, I can't really offer any guidance here :(
Comment 28 Brett Ginsburg 2011-10-20 15:33:08 CEST
There is a thread on the Mageia forums that I think is related to this problem.

There is a problem with opengl effects and the nvidia proprietary driver:

https://forums.mageia.org/en/viewtopic.php?f=23&t=283&p=9486&hilit=nvidia+opengl#p9486

I am not using compiz, but rather KWin desktop effects on an HP mini with an Atom processor and NVidia GPU.

If I use opengl render method, the computer slows, most notably when I am working in a terminal (konsole or xterm).  If I change the render method to Xrender, the computer speeds up to a tolerable speed, but I lose several opengl-dependent desktop effects (desktop cube, wobbly windows).

Are there known upstream problems with the current NVidia driver and opengl?

CC: (none) => zekeb

Comment 29 Marja Van Waes 2011-12-14 21:10:12 CET
@ Julien

Can you help with this bug, please?

Isn't bug 1649 a duplicate of this one?

CC: (none) => julien.moragny, marja11

Comment 30 Manuel Hiebel 2011-12-14 21:18:32 CET
iirc it's more a bug in the driver so yes maybe related

CC: manuel => (none)

Comment 31 Julien Moragny 2011-12-14 23:04:58 CET
(In reply to comment #29)
> @ Julien
> 
> Can you help with this bug, please?
> 
> Isn't bug 1649 a duplicate of this one?

It's seems to be a bug in drivers but I'm not sure it's the same bug.

I don't have a lot to say to fix this bug, for compiz maybe try indirect rendering switch or more generally try with Nouveau driver.
Marja Van Waes 2012-01-18 08:07:46 CET

Keywords: NEEDINFO => (none)

Comment 32 Julien Moragny 2012-02-14 14:16:41 CET
I've updated compiz some days ago, can you please retest.
Marja Van Waes 2012-02-15 15:32:29 CET

Keywords: (none) => NEEDINFO

Comment 33 David GEIGER 2012-02-16 12:24:16 CET
(In reply to comment #32)
> I've updated compiz some days ago, can you please retest.

Hi Julien,

I can't test the update for compiz because I use Mageia release 1 (Official) for x86_64 and not the Cauldron.
Comment 34 Marja Van Waes 2012-03-07 07:16:07 CET
(In reply to comment #33)
> (In reply to comment #32)
> > I've updated compiz some days ago, can you please retest.
> 
> Hi Julien,
> 
> I can't test the update for compiz because I use Mageia release 1 (Official)
> for x86_64 and not the Cauldron.

@ Julien

Is it possible (without too much hassle) for you to make an updated Mga1 compiz, only for David to test with?
Remco Rijnders 2012-03-07 07:16:32 CET

CC: (none) => remco

Comment 35 Julien Moragny 2012-03-07 18:35:18 CET
compiz 0.9.x needs a lot of backporting for mga1 (at least glib and gettext, and probably more).

But I can make compiz 0.8.8 available, it's the last version of 0.8 series with some bugfixes maybe it will help.

http://mjules.free.fr/rpm/1/x86_64/
Comment 36 Marja Van Waes 2012-03-07 19:49:52 CET

(In reply to comment #35)
> compiz 0.9.x needs a lot of backporting for mga1 (at least glib and gettext,
> and probably more).
> 
> But I can make compiz 0.8.8 available, it's the last version of 0.8 series with
> some bugfixes maybe it will help.
> 
> http://mjules.free.fr/rpm/1/x86_64/

@ Julien

Great, thanks :)

@ David

I'm really curious ;)
Comment 37 David GEIGER 2012-03-07 21:40:18 CET
(In reply to comment #36)
> > 
> > http://mjules.free.fr/rpm/1/x86_64/
> 
> @ Julien
> 
> Great, thanks :)
> 
> @ David
> 
> I'm really curious ;)

I have tested the new package compiz-0.8.8-1.mga1 for x86_64 :

$ rpm -qa | grep compiz
compiz-fusion-plugins-extra-0.8.8-1.mga1
compiz-fusion-2010.0-3.mga1
cairo-dock-compiz-icon-2.2.0-1.mga1
compiz-fusion-plugins-main-0.8.8-1.mga1
lib64compizconfig0-0.8.8-1.mga1
lib64compiz0-0.8.8-1.mga1
lib64compizconfig-python-0.8.4-3.mga1
compiz-decorator-gtk-0.8.8-1.mga1
compiz-decorator-kde4-0.8.8-1.mga1
compiz-0.8.8-1.mga1
$ rpm -qa | grep ccsm
ccsm-0.8.4-4.mga1
$ rpm -qa | grep compositing-wm-common
compositing-wm-common-2010.0-6.mga1

Sorry but I still have the same problem, nothing better.
As soon as I activate the 3D effects in the CCM and I reconnected to restart X, freeze the launch of KDE4 just after entry and confirm the Login and Password.
And obligation to Ctrl + Alt + Backspace to return to the login screen.
Comment 38 Marja Van Waes 2012-03-10 08:18:20 CET
Thanks for testing, David :)

and sorry to hear it didn't help :(

Keywords: NEEDINFO => (none)

Comment 39 David GEIGER 2012-03-24 22:33:52 CET
Hi,

Just for info :

I test Mageia 2 beta 2 for x86_64 and with it compiz works fine with the 
proprietary driver nvidia ,no bug no freeze at kde4bootsplash.

 $ rpm -qa | grep compiz
compiz-0.9.7.0-1.mga2
lib64compizconfig0-0.9.5.94-0.bzr428.2.mga2
lib64compiz0-0.9.7.0-1.mga2
compiz-plugins-main-0.9.7.0-1.mga2
lib64compizconfig-python-0.9.5.94-0.bzr168.2.mga2
compiz-decorator-gtk-0.9.7.0-1.mga2
compiz-decorator-kde4-0.9.7.0-1.mga2
libcompizconfig-common-0.9.5.94-0.bzr428.2.mga2
compiz-plugins-extra-0.9.7.0-1.mga2
---------------------------------------------------------------------------
---------------------------------------------------------------------------
 $ rpm -qa | grep nvidia
nvidia-current-kernel-3.3.0-server-1.mga2-295.20-3.mga2.nonfree
nvidia-current-kernel-server-latest-295.20-3.mga2.nonfree
dkms-nvidia-current-295.20-2.mga2.nonfree
nvidia-current-doc-html-295.20-2.mga2.nonfree
x11-driver-video-nvidia-current-295.20-2.mga2.nonfree
---------------------------------------------------------------------------
---------------------------------------------------------------------------
 $  rpm -qa | grep ccsm
ccsm-0.9.5.92-2.mga2
---------------------------------------------------------------------------
---------------------------------------------------------------------------
 $ rpm -qa | grep compositing-wm-common
compositing-wm-common-2010.0-6.mga1
Comment 40 Remco Rijnders 2012-03-25 07:59:58 CEST
David,

Really glad to hear this has solved your problem! Julien, thanks for fixing this!

Status: REOPENED => RESOLVED
Version: 1 => Cauldron
Resolution: (none) => FIXED

Comment 41 logisex logisex 2013-05-09 19:10:12 CEST
I cannot install compiz at all. the package manager won't find it.
I have try to manually install it by download the tarball but now i need intltool 0.20.0 or higher!.
Drak3d do nothing. when i try to enable the 3d it want to install COMPIZ...
The package manager has basicly nothing!

Status: RESOLVED => REOPENED
CC: (none) => frank_1985
Resolution: FIXED => (none)

Comment 42 Colin Guthrie 2013-05-09 19:14:57 CEST
[colin@jimmy ~]$ urpmq -r compiz
compiz-0.9.9.0-3.mga3

So it's provided in our repositories - you must not have configured your repositories correctly.

As this bug itself is fixed, you should not reopen it just because it also concerns the same package. Your issue is very different to the original bug report.

If you have a very specific, reproducible test case (e.g. on a fresh install) then please open a new bug, otherwise you'd be better seeking help via the forums, mailing lists or IRC.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 43 logisex logisex 2013-05-09 19:39:43 CEST
Thank you, i have never change any configuration in the repositories.
I'm going back to a distribution that has always work very well for me.
This one is not for me
Comment 44 Colin Guthrie 2013-05-09 19:41:52 CEST
Fair enough. Keep in mind that you were testing the development version of the distribution however (At least I presume so as this bug is about Cauldron, not a stable released version) and that may affect your experience. Anyway good luck in your travels.
Comment 45 logisex logisex 2013-05-09 19:44:44 CEST
Mageia 2 is still a development version and the 3 is available to download (RC).??
I;m running Mageia 2, not Mageia 3 if that can change something?
Comment 46 Colin Guthrie 2013-05-09 19:49:03 CEST
Well you reopened and commented on a bug related to Cauldron, so I presumed that was the version you were running - I guess not.

On Mageia 2 compiz is still available:

[colin@summit ~]$ urpmq -r compiz
compiz-0.9.7.8-1.mga2

So like I say something must be broken with your media configuration. However, also as I said, this is a bug report that is related to a very specific issue that is very different to the problems you're seeing. If you wish to continue you should seek help on IRC or the forums where people will be able to help you.

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