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

[OpenGL] Nope. Stucked with XRender !

Tags: None
(comma "," separated)
User avatar
plaristote
Registered Member
Posts
114
Karma
0
OS
Hi there fellas !

I'm currently stucked with XRender because KWin won't use OpenGL.
For the record, I'm using ArchLinux with KDE4.7.1, and the nvidia driver.

The nvidia driver seems to work well, I do have direct rendering, and good performances. Yet when I tell Kwin to use OpenGL, it just answer me that it can't run on the given configuration and restores the previous one.

I can't even get a proper error because I don't know how to launch Kwin from the console with the not-working configuration !

¿ What's up with that ?

EDIT: Also, this is the output of a "kwin --replace"
Code: Select all
libEGL warning: DRI2: failed to authenticate
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/xorg/modules/dri)
libEGL warning: DRI2: failed to open swrastg (search paths /usr/lib/xorg/modules/dri)
OpenGL vendor string:                   VMware, Inc.
OpenGL renderer string:                 Gallium 0.4 on llvmpipe
OpenGL version string:                  OpenGL ES 2.0 Mesa 7.11
Driver:                                 LLVMpipe
GPU class:                              Unknown
OpenGL version:                         2.0
Mesa version:                           7.11
X server version:                       1.10.4
Linux kernel version:                   3.0
Direct rendering:                       yes
Requires strict binding:                yes
GLSL shaders:                           no
Texture NPOT support:                   yes


RE-EDIT: I also tried compiz-fusion. It works fine.

Last edited by plaristote on Mon Sep 26, 2011 5:17 pm, edited 1 time in total.
User avatar
google01103
Manager
Posts
6668
Karma
25
re: your compiz windows not moving, it should be a config thing in that by default window moving is not enabled (dumb yes but that's how I remember it)

what graphics card and which Nvidia driver?

WAIT! - you're running virtually under VmWare? if so then (iirc) your Mandriva isn't using your hosts Nvidia card but whatever VmWare virtual card has created for guests. Do you have "Accelerate 3D graphics" enabled http://pubs.vmware.com/fusion-4/index.j ... A5E5B.html. Think this might be better addressed by searching VmWare's forum.


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
plaristote
Registered Member
Posts
114
Karma
0
OS
(You're right about Compiz. Damn. Isn't it dumb ? And the same goes for resizing ! Priceless ^^ !)

Uncanny enough, I'm not running from VMWare. Nor from any kind of virtual machine : this is an actual computer.
I'm using the driver nvidia 280.13-1 and my card is a GForce 410M.

(Oh, and I'm a user of Mandriva, but the computer I'm talking about is running ArchLinux :) ! On a laptop I like my OSes lighter)
User avatar
google01103
Manager
Posts
6668
Karma
25
we're out of my league now but you're system is id'ing itself graphically as using a vmware card - and I have no idea why. Nvidia webiste say 280.13 does support the 410m so that shouldn't be it

can you run /usr/bin/nvidia-settings? what does the system info of it say? the GPU 0 section should id the card

this is results of my running kwin --restart
Code: Select all
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 9500 GT/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 280.11
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 280.11
GPU class: G80/G90
OpenGL version: 3.3
GLSL version: 3.30
X server version: 1.9.3
Linux kernel version: 3.0.4
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
plaristote
Registered Member
Posts
114
Karma
0
OS
I see two panes : Server Information and Screen Information.

Under Screen Information there is :
- Screen Number: 0
- Display Name: myhost:0.0
- Dimension: 1366x768
- Resolution: 102x102 per inch
- Depth: 24
- GPUs: GeForce 410M (GPU 0)
- Displays: cPATH (DFP-0)
- Recovered GPU errors: 0
- Stereo Mode: Unknown

And in Server Information :
- Operating System: Linux-x86
- NVIDIA Driver Version: 280.13
- Display Name: myhost:0
- Server Version Number: 11.0
- Server Vendor String: The X,Org Foundation
- Server Vendor Version: 1.10.4 (11004000)
- NV-Control Version: 1.27
- Screens: 1

Everything seems fine to me.
Indeed it is weird. Also, why is it using Gallium ? Isn't it supposed to be a Nouveau thing (which strike me even more because I never installed Nouveau) ?
User avatar
google01103
Manager
Posts
6668
Karma
25
I think you have the nouveau module installed and running, I think you need to blacklist it from being loaded (or such as each distro is probably different)

Code: Select all
lsmod|grep nouv
will show if kernel module is installed

this should help remove it and get proprietary properly installed https://wiki.archlinux.org/index.php/Nv ... au_drivers, obviouls you want the 2nd script


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
plaristote
Registered Member
Posts
114
Karma
0
OS
Damn, you right !
I was sure I didn't install it though... but it was.

Well thanks a lot lad ! Compiz is a fine piece of window manager, but I just can't live without Kwin's Exposé and its windows tabbing.
User avatar
plaristote
Registered Member
Posts
114
Karma
0
OS
Nope.

It didn't work at first, but I don't know why...
I tried again this afternoon and it didn't work.
Then suddenly, by launching it via the command line... it works o_O !

Sorry for upping the post.

(Aaaand the blur effect that doesn't work with Compiz... works with Kwin =3 ! Awesome)


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]