Bug 230772 - graphics/drm-next-kmod: No blur effect in PLasma 5 and QML
Summary: graphics/drm-next-kmod: No blur effect in PLasma 5 and QML
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Johannes M Dieterich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-20 12:17 UTC by Roman
Modified: 2020-06-16 15:40 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (jmd)


Attachments
System configs (138.24 KB, application/zip)
2018-08-20 12:20 UTC, Roman
no flags Details
Screenshots (600.96 KB, application/zip)
2018-08-20 12:24 UTC, Roman
no flags Details
Xorg log (12.54 KB, text/plain)
2018-08-20 13:07 UTC, Roman
no flags Details
translucency (365.94 KB, image/png)
2019-01-02 02:10 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2018-08-20 12:17:08 UTC
Hello! In the Plasma 5 system or when using QML, at least the blur effect does not work. For more information, see the attached files.
Comment 1 Roman 2018-08-20 12:20:52 UTC
Created attachment 196382 [details]
System configs
Comment 2 Roman 2018-08-20 12:24:55 UTC
Created attachment 196383 [details]
Screenshots
Comment 3 Roman 2018-08-20 13:07:44 UTC
Created attachment 196384 [details]
Xorg log
Comment 4 Johannes M Dieterich freebsd_committer freebsd_triage 2018-08-21 01:22:42 UTC
This does not seem like a shortcoming of the port itself but the LKPI DRM bits. Could you file this with "upstream", i.e., the github please? Thanks!
Comment 5 Roman 2018-08-21 06:34:33 UTC
Well thank you. Added a bug to Githab: https://github.com/FreeBSDDesktop/kms-drm/issues/88
Comment 6 Slava 2018-12-14 02:07:02 UTC
The github issue got closed in October saying "it's a KDE issue"
https://github.com/FreeBSDDesktop/kms-drm/issues/88


Opened ticket on bugs.kde.org:
https://bugs.kde.org/show_bug.cgi?id=402112

Hoping someone can look into this, I miss transparency in Konsole.  I've updated to FreeBSD 12.0-RELEASE and installed drm-current-kmod from ports, but still having same issue.  Please help, there are quite a few people having this issue, and on the github thread, someone switched to Gnome because of this...I don't want to take that approach :)
Comment 7 Slava 2018-12-14 18:13:03 UTC
Hello.  The KDE team came back with a response saying everything in the debug output looks good and FreeBSD team to look into it:
https://bugs.kde.org/show_bug.cgi?id=402112

Any thoughts?
Comment 8 Slava 2018-12-14 19:07:47 UTC
I noticed in the debug output it lists some kwin4 effects...should it not be kwin5?  Could that be where the problem is?  Translucency is listed there...do we need some kde4 dependencies for these?  qt libs?

kwin4_effect_logout
kwin4_effect_login
kwin4_effect_frozenapp
kwin4_effect_fade
kwin4_effect_translucency
kwin4_effect_windowaperture
kwin4_effect_dialogparent
kwin4_effect_maximize
kwin4_effect_morphingpopups






Here is the full debug output:

$ qdbus org.kde.KWin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. http://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 5.12.7
Qt Version: 5.11.2
Qt compile version: 5.11.2
XCB compile version: 1.13.1

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11804000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0,Regular
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: KWin::X11StandalonePlatform

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: true
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 101
glPlatformInterface: 1
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: LVDS1
Geometry: 0,0,1600x900
Scale: 1
Refresh Rate: 59.9712


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile 
OpenGL version string: 3.0 Mesa 18.1.9
OpenGL platform interface: GLX
OpenGL shading language version string: 1.30
Driver: Intel
GPU class: IvyBridge
OpenGL version: 3.0
GLSL version: 1.30
Mesa version: 18.1.9
X server version: 1.18.4
Direct rendering: Requires strict binding: yes
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
zoom
kwin4_effect_logout
kwin4_effect_login
kwin4_effect_frozenapp
kwin4_effect_fade
kwin4_effect_translucency
kwin4_effect_windowaperture
kwin4_effect_dialogparent
kwin4_effect_maximize
kwin4_effect_morphingpopups
slidingpopups
wobblywindows
screenshot
magiclamp
flipswitch
desktopgrid
cubeslide
cube
colorpicker
resize
presentwindows
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

kwin4_effect_logout:

kwin4_effect_login:

kwin4_effect_frozenapp:

kwin4_effect_fade:

kwin4_effect_translucency:

kwin4_effect_windowaperture:

kwin4_effect_dialogparent:

kwin4_effect_maximize:

kwin4_effect_morphingpopups:

slidingpopups:
fadeInTime: 150
fadeOutTime: 250

wobblywindows:
stiffness: 0.15
drag: 0.8
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveEffectEnabled: true
openEffectEnabled: false
closeEffectEnabled: false
moveWobble: true
resizeWobble: true

screenshot:

magiclamp:
animationDuration: 250

flipswitch:
tabBox: false
tabBoxAlternative: false
duration: 200
angle: 30
xPosition: 0.33000001311302185
yPosition: 1
windowTitle: true

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

cubeslide:
rotationDuration: 500
dontSlidePanels: true
dontSlideStickyWindows: false
usePagerLayout: true
useWindowMoving: false

cube:
cubeOpacity: 0.800000011920929
opacityDesktopOnly: false
displayDesktopName: true
reflection: true
rotationDuration: 500
backgroundColor: #000000
capColor: #eff0f1
paintCaps: true
closeOnMouseRelease: false
zPosition: 100
useForTabBox: false
invertKeys: false
invertMouse: false
capDeformationFactor: 0
useZOrdering: false
texturedCaps: true

colorpicker:

resize:
textureScale: true
outline: false

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:
blurRadius: 12
cacheTexture: true

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 9 Graham Perrin freebsd_committer freebsd_triage 2019-01-02 02:10:38 UTC
Created attachment 200692 [details]
translucency

(In reply to Slava from comment #6)

> … transparency in Konsole …

I have at least (the default) translucency when dragging Windows. Effective with Konsole and other applications, screenshot attached. 

drm-legacy-kmod with 13.0-CURRENT, AMD Radeon HD 7570M.
Comment 10 Roman 2019-01-09 14:57:28 UTC
(In reply to Graham Perrin from comment #9)

With the transparency of windows there are no problems with me. The only problem is the blurring effect.
Comment 11 Slava 2019-01-20 03:32:18 UTC
Hello.

I just updated to mesa-libs and mesa-dri 18.3.2 and transparency in panel and konsole is working again.
Comment 12 Niclas Zeising freebsd_committer freebsd_triage 2019-07-10 08:46:10 UTC
Sounds like this is fixed by updating mesa, closing this.
If this is still an issue, please reopen this PR or create a new one.