Open hxw opened 6 years ago
I can confirm. Using quassel-irc I have a square at the bottom right without more graphic detail
And sometime no square
And after a notification
I have a top bar, so the the icon is mirrored, but otherwise very similar.
There is another effect with claws, the claws icon does show, but if I open anothe app with a tray icon (e.g. diligent) the claws icon is duplicated. So now two claws icons are shown left is real claws and right is diligent. Although I think it is simply that the right hand space was not updated. closing claws does remove one of the icons.
I think currently claws is the only program I have that can dsiplay an icon
Can you try installing the "compton" package (compositing manager for handling the visuals of window-embeds), or the "xcompmgr" package (same thing - only provides software rendering instead of hardware-backed like compton)? I have a feeling like this is related to something with the current graphics driver and how the resources are available via X11, and compositing managers such as compton or xcompmgr are specifically designed to detect/fix these kinds of issues.
It is running, anything look wrong? this is copied from TrueOS, so maybe needs change for FreeBSD 11.2 perhaps.
# Shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 5;
shadow-offset-x = -5;
shadow-offset-y = -5;
# shadow-opacity = 0.7;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
# shadow-exclude = "n:e:Notification";
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;
# Opacity
menu-opacity = 1.0;
inactive-opacity = 1.0;
# active-opacity = 0.8;
frame-opacity = 1.0;
inactive-opacity-override = false;
alpha-step = 0.06;
# inactive-dim = 0.2;
# inactive-dim-fixed = true;
# blur-background = true;
# blur-background-frame = true;
blur-kern = "3x3box"
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
# blur-background-fixed = true;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
# opacity-rule = [ "80:class_g = 'URxvt'" ];
# Fading
fading = true;
# fade-delta = 30;
fade-in-step = 0.2;
fade-out-step = 0.2;
# no-fading-openclose = true;
# no-fading-destroyed-argb = true;
fade-exclude = [ ];
# Other
backend = "glx"
mark-wmwin-focused = true;
mark-ovredir-focused = true;
# use-ewmh-active-win = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
# sw-opti = true;
# unredir-if-possible = true;
# unredir-if-possible-delay = 5000;
# unredir-if-possible-exclude = [ ];
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
# resize-damage = 1;
# GLX backend
# glx-no-stencil = true;
glx-copy-from-front = false;
# glx-use-copysubbuffermesa = true;
# glx-no-rebind-pixmap = true;
glx-swap-method = "undefined";
# glx-use-gpushader4 = true;
# xrender-sync = true;
# xrender-sync-fence = true;
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.85; focus = true; };
};
Nothing looks out of the ordinary with that compton.conf file. I do notice this though:
# Other
backend = "glx"
What xorg driver are you using? It is possible that compton's glx backend might not be working with your current driver, and you need to change that to backend = "xrender"
instead.
seems to make no difference at least on T580 resolution:3840x2160 (have not tried on T420s 1600x900 yet)
T580 shows driver as:
[1268434.668] (II) LoadModule: "glx"
[1268434.668] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[1268434.668] (II) Module glx: vendor="X.Org Foundation"
[1268434.668] compiled for 1.18.4, module version = 1.0.0
[1268434.669] ABI class: X.Org Server Extension, version 9.0
[1268434.669] (==) AIGLX enabled
[1268434.669] (II) LoadModule: "intel"
[1268434.669] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[1268434.669] (II) Module intel: vendor="X.Org Foundation"
[1268434.669] compiled for 1.18.4, module version = 2.99.917
[1268434.669] Module class: X.Org Video Driver
[1268434.669] ABI class: X.Org Video Driver, version 20.0
[1268434.669] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[1268434.669] (II) intel: Driver for Intel(R) HD Graphics
[1268434.669] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[1268434.669] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[1268434.669] (--) Using syscons driver with X support (version 2.0)
[1268434.669] (++) using VT number 9
I have set the DPI manually to 282 to get a reasonably readable screen, though some apps ignore the DPI, e.g. diligent, but I do not think that would affect the tray
I have just copied the t580 (Intel GPU) root dataset to my desktop (Nvidia GPU) as a new boot environment. The tray seems to be working here so maybe its a problem with i915kms and/or xorg-intel driver or its configuration
I found a way to make this work on the T580 using xrandr:
# xrandr -display :0 --newmode "1920x1080" 173.5 1920 2048 2256 2600 1080 1082 1094 1112 -hsync +vsync
# xrandr -display :0 --addmode eDP1 1920x1080
# xrandr -display :0 --output eDP1 --mode 1920x1080
The numbers came from a combination of existing modes (1920x1440 and 1400x1050) with a biot of scaling to get to 1080. I determined the 173.5MHz clock to get a vertical refresh of 60.01Hz
The DPI was reset to 96 and the above lines added to .xprofile and now the tray icons are showing correctly. (If I manually run the commands over ssh I can get the login screen to scale also, but there does not seem to be an way to add them to the PCDMd script
(Note: I did try xrandr --scale 0.5x0.5
but performance is really poor: seconds to fill screen or move a window)
Interestingly after I converted the above to ab xorg.conf mode line the tray icons no longer work :disappointed:
This is a FreeBSD 11.2 install on ThinkPad notebook using i915kms driver and pcdm as login manager
The system tray is present and individual items menus pop up, just that no icons show up. It seems that the position of the icon is a square area and does not receive updates, any graphic element that overlaps this is left behind. e.g. After a notification is dismissed a small white triangle is left where the icon should be - this is the remains of the notification "speech ballon"
lumina packages: