LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 01-30-2019, 01:18 AM   #31
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665

@naughtoloose

Video is tearing here also in VLC or smplayer. I did not do any great research why this happens (and you are right the compton does not help in this case) but I have found a solution for me. MPV player works great without any taering or screen artifacts. Not ideal solution if you like your favourite player but working.

Stefan
 
1 members found this post helpful.
Old 01-30-2019, 01:28 AM   #32
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
oops, double post. I have to find out how to delete it

Last edited by the_waiter; 01-30-2019 at 01:29 AM.
 
Old 01-30-2019, 06:12 AM   #33
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by the_waiter View Post
Video is tearing here also in VLC or smplayer.
i don't have any issues in vlc. is this possibly hardware dependent? is there maybe a setting or .conf file i could share that would help show why mine doesn't tear?
 
Old 01-30-2019, 07:18 AM   #34
naughtoloose
LQ Newbie
 
Registered: Feb 2012
Distribution: Bodhi
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by cordx View Post
i don't have any issues in vlc. is this possibly hardware dependent? is there maybe a setting or .conf file i could share that would help show why mine doesn't tear?
Possibly, your $(HOME)/.config/vlc/vlcrc file for comparison, would be nice.

For my part it is not hardware dependent (as in the hardware is capable: Intel i5-6300U CPU @ 2.40GHz with HD Graphics 520).
Under BL4.x Setting VLC's video output module setting to OpenGl would solve all tearing issues. Under BL5 this seems to have no effect at all; nor do any of the other video out settings (same result 3 different computers, similar Intel HW). Ubuntu & Mint (live) do not show tearing.

Compton has helped a lot now that it is working. I now have less tearing and what tearing there is has shifted position to the top 1/5 of the screen whereas before it was pretty much in the centre of the screen.

Last edited by naughtoloose; 01-30-2019 at 07:20 AM. Reason: Added a sentence for completeness.
 
1 members found this post helpful.
Old 01-30-2019, 03:42 PM   #35
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
out of curiosity i scanned through my vlcrc and only saw two lines (out of almost 4800) that weren't commented out. i went ahead and threw it in a google doc so i wouldn't spam the thread with that much info:

https://docs.google.com/document/d/1...it?usp=sharing
 
Old 02-04-2019, 01:32 AM   #36
naughtoloose
LQ Newbie
 
Registered: Feb 2012
Distribution: Bodhi
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by cordx View Post
out of curiosity i scanned through my vlcrc and only saw two lines (out of almost 4800) that weren't commented out. i went ahead and threw it in a google doc so i wouldn't spam the thread with that much info:
Thx for your effort
I swapped them out (vlcrc) just for testing: no difference.

No matter, the tearing is less and bearable with Compton running as is atm.
 
1 members found this post helpful.
Old 02-04-2019, 07:13 AM   #37
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
i was happy to at least try. sorry to hear it is still an issue, but bearable is good
 
Old 02-13-2019, 04:12 AM   #38
Randy4bodhi
Member
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Ubuntu with custom LXDE-GTK & Bodhi Linux
Posts: 83

Original Poster
Rep: Reputation: Disabled
Here are my compton configs, maybe one will help. I found these online somewhere. But I have tweaked some apps in them.

Compton-glx.conf

backend = "glx";
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
vsync = "opengl-swc";

# These are important. The first one enables the opengl backend. The last one is the vsync method. Depending on the driver you might need to use a different method.
# The other options are smaller performance tweaks that work well in most cases.
# You can find the rest of the options here: https://github.com/chjj/compton/wiki/perf-guide, and here: https://github.com/chjj/compton/wiki/vsync-guide


# Shadow
shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don't draw shadows on DND windows.
clear-shadow = false; # Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-exclude = [
"! name~=''",
"n:e:Notification",
"g:e:Synapse", #"g:e:Conky",
"g:e:cairo-dock",
"g:e:fehlstart",
"n:w:*Firefox*",
"n:w:*Seamonkey*",
"n:w:*Chrome*",
"n:w:*Chromium*",
"class_g ?= 'totem'",
"class_g ?= 'Notify-osd'"
];

# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.

# Fading
fading = true; # Fade windows during opacity changes.
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing


#################################
#
# Opacity
#
#################################

menu-opacity = 1;
inactive-opacity = .8;
active-opacity = 1;
frame-opacity = .9;
inactive-opacity-override = false;
alpha-step = 0.06;
focus-exclude = [
"name = "Firefox'"
];

# Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
#blur-kern = "7,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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-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-kern = "3,3,1,1,1,1,1,1,1,1"
blur-background = false;
# Blur background of opaque windows with transparent frames as well.
blur-background-frame = false;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
blur-background-exclude = [
"class_g ?= 'totem'",
"window_type = 'dock'",
"window_type = 'desktop'"
];

detect-client-opacity = true; # This prevents opacity being ignored for some apps. For example without this enabled my xfce4-notifyd is 100% opacity no matter what.

#opacity-rule = [ ""class_g = 'Firefox'"];
#opacity-rule = [ "70:name *= 'skippy-xd'"];

detect-rounded-corners = true;

# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; };
};


**************************************************************************************************** *************************************


compton-nogl.conf



backend = "xrender";
#paint-on-overlay = true;
#glx-no-stencil = false;
#glx-no-rebind-pixmap = false;
#vsync = "xrender";

# These are important. The first one enables the opengl backend. The last one is the vsync method. Depending on the driver you might need to use a different method.
# The other options are smaller performance tweaks that work well in most cases.
# You can find the rest of the options here: https://github.com/chjj/compton/wiki/perf-guide, and here: https://github.com/chjj/compton/wiki/vsync-guide


# Shadow
shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don't draw shadows on DND windows.
clear-shadow = false; # Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-exclude = [
"! name~=''",
"n:e:Notification",
"g:e:Synapse",
"g:e:Conky",
"g:e:wbar",
"g:e:fehlstart",
"n:w:*Firefox*",
"n:w:*Chrome*",
"n:w:*Chromium*",
"class_g ?= 'totem'",
"class_g ?= 'Notify-osd'"
];

# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.

# Fading
fading = true; # Fade windows during opacity changes.
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing


#################################
#
# Opacity
#
#################################

menu-opacity = 1;
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = .9;
inactive-opacity-override = true;
alpha-step = 0.06;
focus-exclude = [
"name = 'Google Chrome'"
];

# Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
#blur-kern = "7,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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-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-kern = "3,3,1,1,1,1,1,1,1,1"
blur-background = false;
# Blur background of opaque windows with transparent frames as well.
blur-background-frame = false;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"
];

detect-client-opacity = true; # This prevents opacity being ignored for some apps. For example without this enabled my xfce4-notifyd is 100% opacity no matter what.

opacity-rule = [ "90:name *= 'OFMenu'"];

detect-rounded-corners = true;

# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; };
};
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compton freezes the desktop sevenyears Linux Mint 1 01-24-2018 07:03 PM
[SOLVED] Compton Compositions RafaBR Slackware 8 11-24-2016 07:01 AM
[SOLVED] Icewm and compton GreenFireFly Slackware 8 02-27-2015 03:28 PM
[SOLVED] Weird issue with compton moisespedro Slackware 10 04-21-2014 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 04:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration