[SOLVED] ATI, KWin, Effects, OpenGL Problem

[SOLVED] ATI, KWin, Effects, OpenGL Problem

Postby yankee495 » Jun 17th, '14, 03:38

Hello,

I had never seen the reflections on the Desktop Cube effect in KWin partly because I never played with it and it doesn't work in anything above OpenGL 1.2.

Using System Settings> Advanced> Compositing Type

OpenGL 1.2 = Reflections
OpenGL 2.0 = No reflections
OpenGL 3.1 = No reflections

It does seem that OpenGL 2 is functional. I used the Invert effect which can be enabled in Systemsettings -> Desktop Effects -> All Effects tab. After enabling the screen was inverted. If it inverts OpenGL 2 is used, if it does nothing OpenGL 1 is used.

http://userbase.kde.org/Desktop_Effects_Performance#OpenGL_Version

System info:

Code: Select all
[john@localhost ~]$ glxinfo | grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series
OpenGL core profile version string: 4.3.12618 Core Profile Context 13.251
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.3.12618 Compatibility Profile Context 13.251
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:


Code: Select all
[john@localhost ~]$ glxinfo | grep glx
server glx vendor string: ATI
server glx version string: 1.4
server glx extensions:
client glx vendor string: ATI
client glx version string: 1.4
client glx extensions:


Maybe I'm mistaken but since OpenGL 2 is working, shouldn't I have reflections with it? What about 3.1?
Last edited by yankee495 on Jun 19th, '14, 02:34, edited 1 time in total.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: ATI, KWin, Effects, OpenGL Problem

Postby pete910 » Jun 17th, '14, 17:25

Running gl 3.1 and have said reflections.

You running 13.12 ?

Currently using the cat 14.6 betas though.

Code: Select all
[pete@com1 ~]$  glxinfo | grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon R9 200 Series
OpenGL core profile version string: 4.3.12967 Core Profile Context 14.20
OpenGL core profile shading language version string: 4.40
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.12967 Compatibility Profile Context 14.20
OpenGL shading language version string: 4.40
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
[pete@com1 ~]$
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: ATI, KWin, Effects, OpenGL Problem

Postby yankee495 » Jun 17th, '14, 18:03

It's 13.25

I knew it should be working, something is wrong or the driver just doesn't support it. I tried registering at the KDE form and it is messed up. The Sysadmin is working on it and I'll ask them.

From Catalyst:
Version 013.012.000.019.000000
Driver Packaging Version 13.251-131206a-166303C-ATI
2D Driver Version 13.25.5

I get this when I run kwin --replace in konsole:

Code: Select all
[john@localhost ~]$ kwin --replace
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
OpenGL vendor string:                   ATI Technologies Inc.
OpenGL renderer string:                 AMD Radeon HD 6800 Series
OpenGL version string:                  4.3.12618 Compatibility Profile Context 13.251
OpenGL shading language version string: 4.30
Driver:                                 Catalyst
Driver version:                         4.3.12618
GPU class:                              NI
OpenGL version:                         4.3.12618
GLSL version:                           4.30
X server version:                       1.14.5
Linux kernel version:                   3.12.20
Direct rendering:                       yes
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no


And this:

Code: Select all
[john@localhost ~]$ es2_info
libEGL warning: DRI2: failed to authenticate
EGL_VERSION: 1.4 (DRI2)
EGL_VENDOR: Mesa Project
EGL_EXTENSIONS:
    EGL_KHR_surfaceless_context
EGL_CLIENT_APIS: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
GL_VERSION: OpenGL ES 3.0 Mesa 10.0.5
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.3, 256 bits)
GL_EXTENSIONS:
    GL_EXT_blend_minmax, GL_EXT_multi_draw_arrays,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_format_BGRA8888,
    GL_OES_compressed_ETC1_RGB8_texture, GL_OES_depth24,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, GL_OES_mapbuffer,
    GL_OES_rgb8_rgba8, GL_OES_standard_derivatives, GL_OES_stencil8,
    GL_OES_texture_3D, GL_OES_texture_npot, GL_OES_EGL_image,
    GL_OES_depth_texture, GL_OES_packed_depth_stencil,
    GL_EXT_texture_type_2_10_10_10_REV, GL_OES_get_program_binary,
    GL_APPLE_texture_max_level, GL_EXT_discard_framebuffer,
    GL_EXT_read_format_bgra, GL_NV_fbo_color_attachments,
    GL_OES_EGL_image_external, GL_OES_vertex_array_object,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_EXT_texture_rg, GL_EXT_unpack_subimage, GL_NV_draw_buffers,
    GL_NV_read_buffer, GL_EXT_map_buffer_range, GL_OES_depth_texture_cube_map,
    GL_OES_surfaceless_context, GL_EXT_color_buffer_float


I'm not sure what it all means but GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.3, 256 bits) indicates software rendering and this error libEGL warning: DRI2: failed to authenticate confuses me. It can be normal if not supported by your card I've read. I'd like to find a fix with the Mageia packages so I could post it for others. I'll try a complete uninstall/reinstall of fglrx and see what happens.

Also I read that kwin_gles --replace is no longer going to work so that may be the es2_info problem. I really need a KDE developer to show me what is normal and Martins blog was down. Appears to be back up. Since you installed your own driver I thought you like to know kwin is going to be renamed kwin_x11, some users don't know it's current name.

http://blog.martin-graesslin.com/blog/
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: ATI, KWin, Effects, OpenGL Problem

Postby pete910 » Jun 17th, '14, 21:34

That's due to using the Cat. gl layer rather than mesa's .

Heres my output.

Code: Select all
[pete@com1 ~]$ es2_info
libEGL warning: DRI2: failed to authenticate
EGL_VERSION: 1.4 (DRI2)
EGL_VENDOR: Mesa Project
EGL_EXTENSIONS:
    EGL_KHR_surfaceless_context
EGL_CLIENT_APIS: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3
GL_VERSION: OpenGL ES 3.0 Mesa 10.0.5
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.3, 128 bits)
GL_EXTENSIONS:
    GL_EXT_blend_minmax, GL_EXT_multi_draw_arrays,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_format_BGRA8888,
    GL_OES_compressed_ETC1_RGB8_texture, GL_OES_depth24,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, GL_OES_mapbuffer,
    GL_OES_rgb8_rgba8, GL_OES_standard_derivatives, GL_OES_stencil8,
    GL_OES_texture_3D, GL_OES_texture_npot, GL_OES_EGL_image,
    GL_OES_depth_texture, GL_OES_packed_depth_stencil,
    GL_EXT_texture_type_2_10_10_10_REV, GL_OES_get_program_binary,
    GL_APPLE_texture_max_level, GL_EXT_discard_framebuffer,
    GL_EXT_read_format_bgra, GL_NV_fbo_color_attachments,
    GL_OES_EGL_image_external, GL_OES_vertex_array_object,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_EXT_texture_rg, GL_EXT_unpack_subimage, GL_NV_draw_buffers,
    GL_NV_read_buffer, GL_EXT_map_buffer_range, GL_OES_depth_texture_cube_map,
    GL_OES_surfaceless_context, GL_EXT_color_buffer_float
[pete@com1 ~]$


Only difference I see is
Code: Select all
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.3, 128 bits)


:?

Try the 14.4 driver!
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: ATI, KWin, Effects, OpenGL Problem

Postby doktor5000 » Jun 17th, '14, 21:49

For fglrx driver, aren't there dedicated commands like fglrxinfo and fglrxgears ?
And that last output you posted definitely indicates software rendering, I'd say. How did you install the ati driver?
EDIT: As Pete posted, that output about mesa and gallium software renders could be red herrings ...

Not sure about ati driver, but have a look at the configuration of the GL libaries - as root, run
Code: Select all
alternatives --list gl_conf
alternatives --display gl_conf
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: ATI, KWin, Effects, OpenGL Problem

Postby pete910 » Jun 18th, '14, 01:13

doktor5000 wrote:For fglrx driver, aren't there dedicated commands like fglrxinfo and fglrxgears ?


Yea, there is. keep fogetting about it tbh :oops:

Here's my output from fglrxinfo

Code: Select all
fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon R9 200 Series
OpenGL version string: 4.4.12967 Compatibility Profile Context 14.20
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: ATI, KWin, Effects, OpenGL Problem

Postby yankee495 » Jun 18th, '14, 02:00

Ok, here is this:

Code: Select all
[root@localhost john]# alternatives --list gl_conf
/etc/ld.so.conf.d/GL/standard.conf
/etc/ld.so.conf.d/GL/ati.conf
/etc/fglrx/pxpress-free.ld.so.conf
[root@localhost john]#
[root@localhost john]# alternatives --display gl_conf
gl_conf - status is manual.
 link currently points to /etc/ld.so.conf.d/GL/ati.conf
/etc/ld.so.conf.d/GL/standard.conf - priority 500
 slave xorg_extra_modules: /usr/lib64/xorg/xorg-1.6-extra-modules
/etc/ld.so.conf.d/GL/ati.conf - priority 1000
 slave xorg_extra_modules: /usr/lib64/fglrx/xorg
 slave lib64AMDXvBA_cap: /usr/lib64/fglrx/libAMDXvBA.cap
 slave xvmcconfig: /etc/fglrx/XvMCConfig
 slave libAMDXvBA_cap: /usr/lib64/fglrx/libAMDXvBA.cap
/etc/fglrx/pxpress-free.ld.so.conf - priority 50
Current `best' version is /etc/ld.so.conf.d/GL/ati.conf.


I used the other because they show a little more but here is fglrxinfo:

Code: Select all
[root@localhost john]# fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series
OpenGL version string: 4.3.12618 Compatibility Profile Context 13.251


Also, I uninstalled them and re installed them, no change (fglrx packages). I installed them through MCC>hardware> setup the graphical server. I don't know what all that means that Dok had me do, but I see it does have .conf files.

Still no reflections in anything above OpenGL 1.2, KDE forum still won't complete registration and I have hours in this. Will probably turn out to be something simple. The real problem is, I wonder what else isn't working right, like games, not a gamer.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: ATI, KWin, Effects, OpenGL Problem

Postby pete910 » Jun 18th, '14, 18:23

Seems to be using the correct one, Driver bug maybe.

Have you tried any of the 14 series drivers?
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: ATI, KWin, Effects, OpenGL Problem

Postby yankee495 » Jun 18th, '14, 18:46

I appreciate the help. I've been all through it and don't know. After some sleep I finally tried flgrxinfo --help to get more info.

Code: Select all
[root@localhost john]# fglrxinfo --help
Usage: fireglinfo [Options]
Options:
        (no switch):            Print brief adapter info
        -x:                     Print lib strings with extensions
        -n:                     Print normal information
        -t:                     Print wide table
        -v:                     Print verbose information
        -o:                     Print information on overlays
        -display [displayname]: Specify the X display to interogate
        -h: --help:             Print usage information (this screen)

[root@localhost john]# fglrxinfo -o
Error: couldn't find an overlay visual!


If reflections use an overlay then that's it, but I believe it just means there is no active overlay. I wanted to fix it with the Mageia packages so everyone could have a simple fix because everyone may not be able to install fglrx using AMD's method. I'll try new drivers, the beta posted above that is working.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: [SOLVED] ATI, KWin, Effects, OpenGL Problem

Postby yankee495 » Jun 19th, '14, 02:42

I got some updates a few minutes ago, fglrx and Kernel 3.12.21 that fixed it.

I haven't done any diagnostics other than to check if I had reflections and I'm happy

to report that I now have reflections in OpenGL 1.2, 2.0 and 3.1

I sure spent a lot of time looking for it thinking an update wouldn't fix it because it was present on all kernels. Something got fixed with this update so I'm very happy. I had noticed Konsole would crash KDE and kick you to the login screen if you fiddled with it by resizing it, opening options and resizing that, and just playing without changing any settings.

Thanks for the help guys...
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest