The officially official Devuan Forum!

You are not logged in.

#1 2021-11-08 02:31:51

Ron
Member
Registered: 2018-04-22
Posts: 478  

Installed Devuan 4.0 and have a few problems

I just installed Devuan 4.0 over top of 2.1 and am having a few issues. The first issue is that when I click on .deb files to install apps, instead of installing they open with the archiver. I know these are .deb files that are supposed to install the app.

The second issue is I installed Compton because of screen tearing in the browser. The instructions I was given said after installing it to go to /home/**/.config and open compton.conf and edit some lines. The problem is this file doesn't exit. I double checked and made sure Compton is installed and was added to the list of start up apps, but no config file for it exists.

Offline

#2 2021-11-08 05:55:40

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Installed Devuan 4.0 and have a few problems

Ron wrote:

when I click on .deb files to install apps, instead of installing they open with the archiver

Add this line to ~/.config/mimeapps.list:

application/x-deb=gdebi.desktop
Ron wrote:

The instructions I was given said after installing it to go to /home/**/.config and open compton.conf and edit some lines. The problem is this file doesn't exit.

Debian packages will not alter the contents of $HOME, to do so is in violation of official Debian policy. This also applies to Devuan (and most other distributions).

Ron wrote:

no config file for it exists

Use this to list the package contents:

dpkg -L compton

There is a sample configuration file provided. See if you can find it.


Brianna Ghey — Rest In Power

Offline

#3 2021-11-08 10:51:10

hevidevi
Member
Registered: 2021-09-17
Posts: 230  

Re: Installed Devuan 4.0 and have a few problems

I thought picom was the updated version of compton?

Looks like both binaries are in stable.

Offline

#4 2021-11-08 12:39:28

Ron
Member
Registered: 2018-04-22
Posts: 478  

Re: Installed Devuan 4.0 and have a few problems

Thanks HoaS, I got the .deb file installation working. But I'm still scratching my head over the other issue. I found the sample config file, but it is not matching the instructions I have. My instructions are to find the lines

backend = "xrender";
#backend = "glx";

and change them to

#backend = "xrender";
backend = "glx";

But I can only find this:

# Other
backend = "xrender";
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;

Regarding what hevidevi wrote, is that the case? I still have picom installed. Should I delete one or the other? The whole reason for this is that I have big time screen tearing in my browser.

Last edited by Ron (2021-11-08 12:40:35)

Offline

#5 2021-11-08 14:39:08

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Installed Devuan 4.0 and have a few problems

Ron wrote:

But I can only find this:

Just create a fresh configuration file in $HOME with the correct backend value assigned. It should override the default defined in the sample file.

Ron wrote:

Regarding what hevidevi wrote, is that the case?

Yes. The package information for compton recommends switching to picom instead.


Brianna Ghey — Rest In Power

Offline

#6 2021-11-09 02:30:48

Ron
Member
Registered: 2018-04-22
Posts: 478  

Re: Installed Devuan 4.0 and have a few problems

So I deleted compton and kept picom. I created picom.conf and put it in the .config folder. This is what I put (and only this):

#backend = "xrender";
backend = "glx";

but I sill am experiencing terrible screen tearing. Should I enable or unenable hardware acceleration in the browser? Is there anything else to try?

EDIT
Hardware acceleration was off, so I switched it on. Screen tearing is still bad.

Last edited by Ron (2021-11-09 02:44:19)

Offline

#7 2021-11-09 08:05:52

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Installed Devuan 4.0 and have a few problems

Ron wrote:

Should I enable or unenable hardware acceleration in the browser?

Devuan's Firefox cannot use hardware acceleration under X. The button is lying to you.

Ron wrote:

Is there anything else to try?

The picom developers strongly recommend using the TearFree option for the Intel & AMD DDX drivers and the FullForceComposition pipeline can be used for the NVIDIA blob but if you're using nouveau or modesetting this is not an option.

EDIT: I strongly recommend using Wayland instead because it has completely solved the tearing problem and it does so without the atrocious drag lag that TearFree (and compton/picom) cause in X.

Last edited by Head_on_a_Stick (2021-11-09 08:33:52)


Brianna Ghey — Rest In Power

Offline

Board footer