Bug 255266 - Windows content not visible when trilinear texture filter is enabled
Summary: Windows content not visible when trilinear texture filter is enabled
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 23:30 UTC by pixecs
Modified: 2010-11-06 08:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Two sample windows (893.08 KB, image/png)
2010-10-25 23:30 UTC, pixecs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pixecs 2010-10-25 23:30:14 UTC
Created attachment 52869 [details]
Two sample windows

Version:           4.4 (using KDE 4.4.4) 
OS:                Linux

I have a Radeon 5770 graphic card and i'm using ATI Catalyst proprietary display driver version 10.9.
Because of bug https://bugs.kde.org/show_bug.cgi?id=202274 i disabled functionality checks in desktop effects window.
When trilinear texture filter is active, after a reboot, windows appear empty (no content is displayed)

Reproducible: Always

Steps to Reproduce:
On "Configure desktop effects" window
1) Check "Disable functionality checks"
2) Select trilinear texture filter
3) Apply and reboot

Actual Results:  
After login no matter what application i open, the application window is empty (even a console window)
Tooltips appear normally displayed

Expected Results:  
Windows with content displayed

Kernel: 2.6.34.7-0.4-desktop x86_64
KDE: Platform Version 4.4.4 (KDE 4.4.4) "release 3"
Graphic card: Radeon 5770
Graphic driver: ATI Catalyst(TM) Proprietary Driver-8.771

With bilinear or nearest texture filter no errors appear.
Comment 1 Thomas Lübking 2010-10-26 00:54:56 UTC
simple solution: don't use trilinear filtering ;-)

it sounds a lot like a driver issue.

do you really have to reboot or does just applying the setting or maybe restarting X11  (log out/in, in doubt "telinit 3; telinint 5" after the logout) cause this?

does this occur with the free driver (xf86-video-ati/radeonhd) as well?
Comment 2 pixecs 2010-10-26 23:25:24 UTC
The issue appear after a reboot/X11 restart/log out.
I never tried the free driver, but i will install the driver this weekend.
Comment 3 pixecs 2010-10-30 12:41:44 UTC
There is no support for Radeon 5770 in radeonhd drivers (xorg-x11-driver-video-radeonhd-1.3.0_20100325_f6c9991-1.13) and i have no ideea how to install (and if is working) xf86 driver.
I installed ati-fglrxG02-8.762-31.1 driver and the same issue is present.
Updated drivers to ATI Catalyst(TM) Proprietary Driver-8.783 and, of course, issue is present.

I forgot to mention: OS openSUSE 11.3
Comment 4 Thomas Lübking 2010-10-30 13:08:25 UTC
the driver is part of xorg and should be provided by your distribution (it's usually called somewhat like xf86-video-ati)
please be aware that visual glitches when using trilinear filtering on ati chips is a _minor_ problem :-(
glGenerateMipmapsEXT is often reported to simply crash on ati cards :-(

see eg.
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=251072
Comment 5 pixecs 2010-11-03 07:06:05 UTC
After git cloning and compiling latest version of xf86-video-ati i found that the driver do not support dri so i can't activate video effects.
Comment 6 Thomas Lübking 2010-11-03 21:44:48 UTC
dunno whether or not this is supported by the driver (got no ati), but kwin compositing should run w/o dri (just don't check direct rendering...)
Comment 7 pixecs 2010-11-05 23:39:11 UTC
Using XRender as compositing type with xf86 or proprietary drivers and trilinear texture filter, the issue does not appear. 
If i activate OpenGL compositing tipe with xf86 driver and nearest/bilinear/trilinear texture filter, the entire desktop appear black with white windows frames and windows content not visible (black)
Comment 8 Thomas Lübking 2010-11-06 00:00:34 UTC
atiisinabadshape... :-(

xrender is a complete different system and does not support trilinear filtering - these settings are only for opengl.

for xrender you can just activate "smooth scaling" (what in fact is a bilinear filter) but i've no idea how fast that is with ati (don't expect gl speed)

just stay with fglrx then and away from trilinear filtering until ati fixed their drivers - iff ever, sorry :-(
Comment 9 pixecs 2010-11-06 08:31:41 UTC
i guess i'll stay with bilinear texture filter for now :-(