LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-17-2014, 11:22 PM   #1
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
openbox + tint2 + xcompmgr bug


This bug is actually pretty hard to describe, and even harder to trigger, but it certainly comes up with some frequency.

I think it has to do with the openbox + tint2 + xcompmgr combination I am running, but I can't be sure. It certainly never never happens in KDE. It looks something like this:

It gets triggered when I start an application. I feel like it's okular quite often, but sometimes it's konsole or dolphin or something else. So call it application foo. So I start that application, and its window mostly fails to draw over some part of the screen, like a rectangle, usually in upper left. In fact, nothing gets redrawn in that rectangle anymore while the application foo is running. The lower and right margins of the screen get drawn OK: there I can see the application foo as well as everything else. When I kill the application foo, everything goes back to normal. Sometimes, killing all windows fixes the bug. Other times, restarting tint2 fixes the bug. Sometimes (quite rarely), only killing X fixes the bug, and that is the only thing that always works. Anyone seen anything like that?
 
Old 01-18-2014, 01:16 AM   #2
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Sounds similar to what I occasionally experience with my Debian system. I also have Openbox, tint2 and xcompmgr, but I am not convinced any of those are the problem. For me, the trigger seems to be connected with the file manage and the game Simultrans. If Thunar or PCManFM is running when Simultrans is started a second time it occasionally generates a problem. It never happens the first time the game is started.

Edit
I forgot to mention two things.
It happens with Thunar and PCManFM, but not with Krusader.
The work around I have found to restore a normal desktop is to open an Ace of Penguins game. I have no idea why, but it works.

Last edited by Randicus Draco Albus; 01-18-2014 at 07:06 AM.
 
Old 01-23-2014, 11:15 AM   #3
qweasd
Member
 
Registered: May 2010
Posts: 621

Original Poster
Rep: Reputation: Disabled
Ah, finally found it (or something very similar): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683556

Looks like it's fixed in 3.5.2. Any news on SlackBuild?

Last edited by qweasd; 01-23-2014 at 11:38 AM.
 
Old 01-23-2014, 06:12 PM   #4
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185

Rep: Reputation: 32
Why not switch to compton, sounds like a compositor problem? Used compton with OB and tint2 for a while with no sweat. You can build it from git with src2pkg and have a package for it very easily, no extra make or configure options. Just src2pkg /path/to/compton/

Last edited by bmarley83; 01-23-2014 at 06:18 PM.
 
Old 01-23-2014, 06:35 PM   #5
qweasd
Member
 
Registered: May 2010
Posts: 621

Original Poster
Rep: Reputation: Disabled
Wow never heard of compton before. But running it now. OMG, I don't even care if this bug persists. This is just dreamy.
 
Old 01-24-2014, 03:38 PM   #6
bmarley83
Member
 
Registered: Apr 2013
Location: Pennsylvania
Distribution: Slackware, Debian
Posts: 185

Rep: Reputation: 32
Cool! I started with xcompmgr and thought it was kinda limited especially with transparency options. Here's my compton start up line if you want, but I'm not using transparency but you could tweak it, the main thing that the backend glx solved for me was being able to stop screen tearing on my desktop (Nvidia) and laptop (hd4000) plus it stopped a lot of glitches I was getting while watching video in vlc while using nvidia hardware decoding!

this is the line I use on my desktop(Nvidia):

compton -c -C -r 6 -l -8 -t -8 -m 0.9 -G --backend glx --paint-on-overlay --glx-no-stencil --vsync opengl-swc -b

Last edited by bmarley83; 01-24-2014 at 03:40 PM.
 
Old 01-25-2014, 03:28 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Indeed, compton is nice, I use it with i3 for some nice transparency effects and smoother workspace switching.
This is my compton command:
Quote:
compton --config /home/tobi/Dropbox/configs/compton
There is no need for a complicated command line, compton has nice configuration file.
 
Old 01-25-2014, 07:53 AM   #8
BratPit
Member
 
Registered: Jan 2011
Posts: 253

Rep: Reputation: 100Reputation: 100
Composite problem or not it definitely good thing to change xcompmgr to compton.
A whole bunch of pluses. Tearing free video, a lot less cpu utilization in OpenGL eg. games and a lot more.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] can't get openbox to start tint2 and xcompmgr like it says in the OB wiki slacker_ Linux - Desktop 2 09-02-2013 10:06 PM
Configure tint2 panel and transparent console on openbox vectrum Linux - Desktop 7 11-12-2012 03:33 PM
tint2 configs. trademark91 Linux - Member Desktop Screenshots 3 12-13-2011 01:37 PM
openbox/tint2- grouping tabs in panel? daweefolk Linux - General 0 10-26-2011 10:44 AM
Openbox autostart.sh and setting alias on openbox start Jelloir Linux - Desktop 1 07-03-2011 04:56 AM

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

All times are GMT -5. The time now is 07:17 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