This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kubuntu 12.04- Cannot enable Desktop Effects

Tags: None
(comma "," separated)
Bumpalot
Registered Member
Posts
57
Karma
0
OS
kubuntu 12.04
Cannot enable Desktop Effects:
Reason: -Required X extensions (XComposite and XDamage) are not available.
Originally installed GeForce GTX 550 Ti (Using amd64 Nvidia current) in Ubuntu 10.04, manually, through the command line.. Then recently installed kubuntu 12.04 on same drive as dual boot., Nvidia was auto working perfectly previously in Ubuntu, & now in Kubuntu..
Have "synaptic" installed all x11 proto-composite-dev, libxcb-composite, x11 proto-damage-dev, libxdamage1...etc
These files had no effect.
My device is GeForce GTX 550 Ti set to TwinView . Reinstalled ubuntu-x-swat x-updates.
Where do I find the "Required X extensions"?
User avatar
google01103
Manager
Posts
6668
Karma
25
are the Nvidia drivers matched to the kernel? if you updated the Kernel (when you updated to 12.04) you need to either recompile the drivers (if that's what you mean by "manually, through the command line") or use the drivers supplied with 12.04


OpenSuse Leap 42.1 x64, Plasma 5.x

Bumpalot
Registered Member
Posts
57
Karma
0
OS
Kubuntu must have installed it during initial install - I didn't do it.
I will reinstall it & see what happens.
Bumpalot
Registered Member
Posts
57
Karma
0
OS
To recap: I Cannot enable Desktop Effects after a new install (2nd time) of kubuntu 12.04 because of this message:
"Required X extensions (XComposite and XDamage) are not available."
Since the install process auto installed my nvidia drivers - which perform perfectly, I would assume that I need to install XComposite and XDamage files.
Are these files related to Xserver or X something else? From where can I obtain them, or find info as to how to get them?
I am surprised I cannot find such after searching the internet for hours. I sure would appreciate some constructive assistance here.
User avatar
google01103
Manager
Posts
6668
Karma
25
User avatar
google01103
Manager
Posts
6668
Karma
25
here the solution was to remove kwinrc and restart KDE http://forums.fedoraforum.org/showthread.php?t=265633

does composting work if:
1) you use xrender instead of OpenGL composting type
2) you don't use twinview, just single monitor ?


OpenSuse Leap 42.1 x64, Plasma 5.x

Bumpalot
Registered Member
Posts
57
Karma
0
OS
Your other suggestions do not work with either.
I need to use Twinview for the extra realestate it provides!!
Current Problem: can't change permissions of xorg-conf
bump@bumpykdeputer:/etc/X11$ sudo chmod a+rw xorg.conf
bump@bumpykdeputer:/etc/X11$ sudo chmod 744 xorg.conf
neither work, so am unable to change xorg.conf setting (most unusual as I've done it many times previously):
Section "Extensions"
# Removed Option "Composite" "Enable"
Option "Composite" "Disable"
EndSection
What changed the line - # Removed Option "Composite" "Enable" ???
I prefer to use openGL, which is my current setting because of favourite GL screensavers.

Last edited by Bumpalot on Fri May 11, 2012 11:27 am, edited 1 time in total.
User avatar
google01103
Manager
Posts
6668
Karma
25
I asked about not using twinview to determine if that was the issue with composting - it would help isolate your problem if it was

try ksudo kate then open and edit your xorg.conf


OpenSuse Leap 42.1 x64, Plasma 5.x

Bumpalot
Registered Member
Posts
57
Karma
0
OS
ksudo: command not found
bump@BUMPYKDEPUTER:~$ kdesudo kate
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
kbuildsycoca4(2680) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/im-switch.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2680) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/bluedevil-network-dun.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2680) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/bluedevil-network-panu.desktop" is not compliant with XDG standard (missing trailing semicolon).
"KConfigIni: In file /tmp/kde-root/kconf_updatekc2682.tmp, line 1: " Invalid entry (missing '=')
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus

Changed Nvidia settings - disabled Xinerama
Desktop Effects - Advanced - set to XRender
Could not change to Open GL (screen went black, then returned - Desktop Effects-Advanced set at XRender
NVidia now only using main monitor.

Just in case this info is useful:
Changed Nvidia settings - disabled Xinerama

bump@BUMPYKDEPUTER:~$ kcmshell4 kwincompositing
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
bump@BUMPYKDEPUTER:~$

Changed Nvidia settings - Enabled Xinerama
bump@BUMPYKDEPUTER:~$ kcmshell4 kwincompositing
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.40
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 295.40
GPU class: GF100
OpenGL version: 4.2
GLSL version: 4.20
X server version: 1.11.3
Linux kernel version: 3.2
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
bump@BUMPYKDEPUTER:~$

Last edited by Bumpalot on Sat May 12, 2012 10:18 pm, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Very unusual. Your system is claiming it is using Direct Rendering - but is failing to load OpenGL. Can you verify that /usr/lib/libGL.so* points towards the Nvidia driver version of libGL?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Bumpalot
Registered Member
Posts
57
Karma
0
OS
/usr/lib/libGL.so* does not exist!!
/usr/lib/libGL.so does exist - unable to open it.
New info after above:
Ran utility "Additional Drivers":
Gave option to update to NVIDIA accelerated drivers - see info below.
Installed May 12 2012
NVIDIA accelerated graphics driver (post-release updates) (version current-updates)
3D-accelerated proprietary graphics driver for NVIDIA cards. Required if you want to run Unity.
b]This driver is required to fully utilise the 3D potential of NVIDIA graphics cards, as well as provide 2D acceleration of newer cards.
You need to install this driver if you wish to use the Unity desktop, enable desktop effects, or run software that requires 3D acceleration, such as some games.[/b]

On reboot, ARandR crashed. Sent a bug report (seems it has a history of doing this)
Was able to fix it. Rebooted.
/usr/lib/libGL.so* does not exist!!
/usr/lib/libGL.so does exist - unable to open it.
xorg.conf:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 295.33 (buildd@allspice) Fri Mar 30 15:25:24 UTC 2012
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "1"
# Removed Option "Xinerama" "0"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Ancor Communications Inc ASUS MS238"
HorizSync 30.0 - 85.0
VertRefresh 55.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "LG Electronics L1751S"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
# HorizSync source: edid, VertRefresh source: edid
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 550 Ti"
Option "NoLogo" "True"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 550 Ti"
Option "NoLogo" "True"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-1"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
What is the output of this?
Code: Select all
ls -la /usr/lib/libGL.so


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Bumpalot
Registered Member
Posts
57
Karma
0
OS
bump@bumpykde:~$ ls -la /usr/lib/libGL.so
ls: cannot access /usr/lib/libGL.so: No such file or directory
bump@bumpykde:~$
kabookee
Registered Member
Posts
3
Karma
0
OS
I had a similar problem after a recent nvidia driver update.

Disabling "Use OpenGL 2 Shaders" (System Settings -- Desktop Effects -- Advanced) did the trick for me.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The proprietary Nvidia driver should definitely support OpenGL 2 Shaders. Moving to KWin forum, as these problems all seem to involve KWin.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]