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

Unable to have Kwin compositing using OpenGL

Tags: None
(comma "," separated)
NuclearPeon
Registered Member
Posts
7
Karma
0
I'm running an ATI Raedon 3870 and since I received an xorg update, my desktop effects in opengl have been rendered useless.
Before the update, everything worked fine; XRender works fine.

I will try updating video drivers.
NuclearPeon
Registered Member
Posts
7
Karma
0
NuclearPeon wrote:I'm running an ATI Raedon 3870 and since I received an xorg update, my desktop effects in opengl have been rendered useless.
Before the update, everything worked fine; XRender works fine.

I will try updating video drivers.


Back. And I've had one hell of a time...

I run Kubuntu 8.10 AMD64 Alternate on an Alienware M17 laptop.
Here's what I found out:
Newest ati drivers 9.2-x86.x86_64.run do NOT work. When I reboot, I am left with a blank screen and nothing else. Restarting display does nothing.

I recently updated my xorg files before opengl broke today (I have experimental included in my repo if you're wondering) and I lost my opengl capabilities. XRender worked just fine as I mentioned.
I had to reinstall my 8-12-x86_64.run ati drivers via Recovery Mode in order to get my display to boot up.
Now, however, my opengl is working.
I'm assuming that the update breaks your current opengl configuration so you have to reinstall. What a pain...

You may have to reinstall older versions of drivers. I hope this helps anyone with the same issue I had.
instain
Registered Member
Posts
2
Karma
0
I'm having similar problems on my FreeBSD 7.1 machine. I've got a Nvidia Quadro NVS 290 with the 180.29 nvidia driver. Compiz works reasonably well with most effects enabled. Xcompmgr works fine for compositing. KDE4(.2.1) refuses to enable desktop effects. I tried opengl and xrender modes and they both failed. Changing the texture filter and disabling direct rendering didn't help either.

How does one go about debugging this? The error message saying that it failed isn't particularly helpful.
TSeeker
Registered Member
Posts
7
Karma
0
OS
Same problem for me:

* Gentoo on AMD64, updated this morning, ~amd64 unmasked
* Linux kernel 2.6.28
* NVidia GeForce FX 5800 (driver v173.14.17)
* X extensions:
Code: Select all
number of extensions:    27
    BIG-REQUESTS
    Composite
    DAMAGE
    DPMS
    Extended-Visual-Information
    GLX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    NV-CONTROL
    NV-GLX
    RECORD
    RENDER
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
    XVideo-MotionCompensation

* glxinfo | grep irect
direct rendering: Yes
* KDE 4.2.1
* Neither OpenGL nor XRender work. Disabling checks is useless.

Last edited by TSeeker on Tue Mar 17, 2009 7:48 pm, edited 1 time in total.
instain
Registered Member
Posts
2
Karma
0
instain wrote:I'm having similar problems on my FreeBSD 7.1 machine. I've got a Nvidia Quadro NVS 290 with the 180.29 nvidia driver. Compiz works reasonably well with most effects enabled. Xcompmgr works fine for compositing. KDE4(.2.1) refuses to enable desktop effects. I tried opengl and xrender modes and they both failed. Changing the texture filter and disabling direct rendering didn't help either.

How does one go about debugging this? The error message saying that it failed isn't particularly helpful.


I figured out my problem this morning: kde4 was using the kde3 kwin. I put kde4 first in my PATH and then it worked properly.
neat
Registered Member
Posts
1
Karma
0
same here with x1950xt fedora kde 4.2.1
morgan_t
Registered Member
Posts
1
Karma
0
OS
same for me on gentoo 2.6.30 after xorg-upgrade to 1.6
Silenzium
Registered Member
Posts
8
Karma
0
OS
I'm having a similar problem. Xrender works always, but it's terribly slow and I can't switch to OpenGL (KDE complains).
The weird thing is, however, that it works sometimes when I kill and restart X (without changing anything in xorg.conf). In that case, I can freely switch between Xrender and OpenGL. Unfortunately, I can't reproduce the process, but it never works after reboot. But I compared the X.org-logs of these starting processes and I found out something. First of all, here's the difference:

Code: Select all
diff /var/log/Xorg.0.log /var/log/Xorg.1.log
22c22                                                           
< (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 17 19:31:54 2009
---                                                                   
> (==) Log file: "/var/log/Xorg.1.log", Time: Sat Oct 17 19:32:08 2009
60c60                                                                 
< (++) using VT number 7                                             
---                                                                   
> (++) using VT number 8                                             
540,560c540,542                                                       
< (II) [drm] DRM interface version 1.3                               
< (II) [drm] DRM open master succeeded.                               
< (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. 
< (II) RADEON(0): [drm] framebuffer handle = 0xc0000000               
< (II) RADEON(0): [drm] added 1 reserved context for kernel           
< (II) RADEON(0): X context handle = 0x1                             
< (II) RADEON(0): [drm] installed DRM signal handler                 
< (II) RADEON(0): [pci] 32768 kB allocated with handle 0xf91b1000     
< (II) RADEON(0): [pci] ring handle = 0xf91b1000                     
< (II) RADEON(0): [pci] Ring mapped at 0xb368e000                     
< (II) RADEON(0): [pci] Ring contents 0x00000000                     
< (II) RADEON(0): [pci] ring read ptr handle = 0xf92b2000             
< (II) RADEON(0): [pci] Ring read ptr mapped at 0xb7fd4000           
< (II) RADEON(0): [pci] Ring read ptr contents 0x00000000             
< (II) RADEON(0): [pci] vertex/indirect buffers handle = 0xf92b3000   
< (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0xb348e000 
< (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000   
< (II) RADEON(0): [pci] GART texture map handle = 0xf94b3000         
< (II) RADEON(0): [pci] GART Texture map mapped at 0xb180e000         
< (II) RADEON(0): [drm] register handle = 0xc8800000                 
< (II) RADEON(0): [dri] Visual configs initialized                   
---                                                                   
> (II) [drm] DRM interface version 1.0                               
> (EE) [drm] Could not set DRM device bus ID.                         
> (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.         
565,576c547                                                           
< (II) RADEON(0): [DRI] installation complete                         
< (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers   
< (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers             
< (II) RADEON(0): [drm] dma control initialized, using IRQ 16         
< (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416
< (WW) RADEON(0): DRI init changed memory map, adjusting ...         
< (WW) RADEON(0):   MC_FB_LOCATION  was: 0xc3ffc000 is: 0xc3ffc000   
< (WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0   
< (II) RADEON(0): RADEONRestoreMemMapRegisters() :                   
< (II) RADEON(0):   MC_FB_LOCATION   : 0xc3ffc000 0xc3ffc000         
< (II) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0                     
< (II) RADEON(0): Direct rendering enabled                           
---                                                                   
> (WW) RADEON(0): Direct rendering disabled                           
585,586d555                                                           
< (II)         UploadToScreen                                         
< (II)         DownloadFromScreen                                     
642,654c611,613                                                       
< drmOpenDevice: node name is /dev/dri/card0                         
< drmOpenDevice: open result is 11, (OK)                             
< drmOpenByBusid: Searching for BusID pci:0000:01:00.0               
< drmOpenDevice: node name is /dev/dri/card0                         
< drmOpenDevice: open result is 11, (OK)                             
< drmOpenByBusid: drmOpenMinor returns 11                             
< drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0               
< (II) AIGLX: enabled GLX_MESA_copy_sub_buffer                       
< (II) AIGLX: enabled GLX_SGI_make_current_read                       
< (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control 
< (II) AIGLX: enabled GLX_texture_from_pixmap with driver support     
< (II) AIGLX: Loaded and initialized /usr/lib/dri/r300_dri.so         
< (II) GLX: Initialized DRI GL provider for screen 0                 
---                                                                   
> (II) AIGLX: Screen 0 is not DRI capable                             
> (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so       
> (II) GLX: Initialized DRISWRAST GL provider for screen 0           
656d614                                                               
< (II) RADEON(0): Damage tracking initialized for page flipping       
722d679                                                               
< (II) AIGLX: Suspending AIGLX clients for VT switch                 
736,791d692                                                           
< (II) Open ACPI successful (/var/run/acpid.socket)                   
< (II) AIGLX: Resuming AIGLX clients after VT switch                 
< (II) RADEON(0): Dynamic Clock Scaling Enabled                       
< disable primary dac                                                 
< disable FP1                                                         
< disable LVDS                                                       
< disable TV                                                         
< disable LVDS                                                       
< init memmap                                                         
< init common                                                         
< init crtc1                                                         
< init pll1                                                           
< restore memmap                                                     
< (II) RADEON(0): RADEONRestoreMemMapRegisters() :                   
< (II) RADEON(0):   MC_FB_LOCATION   : 0xc3ffc000 0x1fff0000         
< (II) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0                     
< restore common                                                     
< restore crtc1                                                       
< restore pll1                                                       
< set RMX                                                             
< set LVDS                                                           
< enable LVDS                                                         
< disable primary dac                                                 
< disable FP1                                                         
< disable TV                                                         
< (II) RADEON(0): [RESUME] Attempting to re-init Radeon hardware.     
< (WW) RADEON(0): DRI init changed memory map, adjusting ...         
< (WW) RADEON(0):   MC_FB_LOCATION  was: 0xc3ffc000 is: 0xc3ffc000   
< (WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xffffffc0   
< (II) RADEON(0): RADEONRestoreMemMapRegisters() :                   
< (II) RADEON(0):   MC_FB_LOCATION   : 0xc3ffc000 0xc3ffc000         
< (II) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0                     
< (--) SynPS/2 Synaptics TouchPad: touchpad found                     
< (II) AT Translated Set 2 keyboard: Device reopened after 1 attempts.
< (II) Sleep Button (CM): Device reopened after 1 attempts.           
< (II) Power Button (FF): Device reopened after 1 attempts.           
< (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0             
< (II) RADEON(0): Output: DVI-0, Detected Monitor Type: 0             
< (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2             
< (II) RADEON(0): Added native panel mode: 1280x800                   
< (II) RADEON(0): Output: S-video, Detected Monitor Type: 0           
< (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0             
< (II) RADEON(0): Output: DVI-0, Detected Monitor Type: 0             
< (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2             
< (II) RADEON(0): Added native panel mode: 1280x800                   
< (II) RADEON(0): Output: S-video, Detected Monitor Type: 0           
< (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0             
< (II) RADEON(0): Output: DVI-0, Detected Monitor Type: 0             
< (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2             
< (II) RADEON(0): Added native panel mode: 1280x800                   
< (II) RADEON(0): Output: S-video, Detected Monitor Type: 0           
< (II) RADEON(0): Output: VGA-0, Detected Monitor Type: 0             
< (II) RADEON(0): Output: DVI-0, Detected Monitor Type: 0             
< (II) RADEON(0): Output: LVDS, Detected Monitor Type: 2             
< (II) RADEON(0): Added native panel mode: 1280x800                   
< (II) RADEON(0): Output: S-video, Detected Monitor Type: 0


With Xorg.0.log switching to OpenGL worked and with Xorg.1.log it did not work. It seems like the DRM interface version (1.0 vs. 1.3) is the problem in my case. Does anyone know why the X-Server switches randomly (?) between the DRM versions? Any help is appreciated.

I'm using xorg-server-1.6.3.901-r2, xf86-video-ati-6.12.4, gentoo-sources-2.6.28-r5 and kwin-4.3.2 by the way.


P.S.: My screen becomes almost completely black, if the functionality checks are disabled. There are only some window outlines visble.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The switching of DRI versions indicates a nasty problem with your X configuration. You could try completely reinstalling X, however someone who knows more about Gentoo may know more about the precise problem.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
K.R.
Registered Member
Posts
9
Karma
0
OS
I got a similar problem.

My situation is:
Archlinux kernel 2.6.31
KDE 4.3.2
ATI X1300 Mobility card with open source radeon driver.
glxinfo | grep direct
direct rendering: Yes
Neosano
Registered Member
Posts
14
Karma
0
OS
XRender works fine, but I can't use OpenGL.
It says:
Failed to activate desktop effects using the given configuration options. Setting will be reverted to their previous values.

Check your X configuration. You may also consider advanced options, especially changing the compositing type.


glxinfo | grep direct says
direct rendering: Yes

btw I have Fujitsu Siemens amilo k7600(probably this is the graphic card: VT8375 [ProSavage8 KM266/KL266]). Should I install any drivers?

And
I don't have xorg.conf, is it OK?
K.R.
Registered Member
Posts
9
Karma
0
OS
Today, after upgrade my Xorg to 7.6, my problem got solved.

Neosano wrote:
I don't have xorg.conf, is it OK?

I don't have xorg.conf, too.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]