Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] WM(w/systray) + picom crashes on xrandr --off
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sheogorath
n00b
n00b


Joined: 05 Jul 2017
Posts: 4

PostPosted: Tue Nov 15, 2022 6:14 pm    Post subject: [SOLVED] WM(w/systray) + picom crashes on xrandr --off Reply with quote

Hello, this is the graphics controller I have

Code:

$ lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)

My xorg crashes when all these conditions are met:

  • i915 is in VIDEO_CARDS and xorg-drivers are compiled with its support
  • I'm running dwm with systray patch https://dwm.suckless.org/patches/systray/
  • There's at least one program displaying its icon in the tray (telegram, qbittorrent, element, etc.)
  • Picom is running
  • I'm turning off the screen (or both if i'm using a second monitor):
    Code:
    xrandr --output eDP1 --off


This is ~/.local/share/xorg/Xorg.0.log: https://paste.opensuse.org/19773213

It probably crashes due to this error:
Code:
[  3660.436] (EE) intel(0): Failed to set backlight intel_backlight for output eDP1, disabling

Earlier in the log there's an error saying its unable to load some lib:
Code:
[  3646.734] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[  3646.734] (EE) AIGLX error: unable to load driver i965


When I dont have i915 in VIDEO_CARDS, I can turn the screen on/off without crashing with picom. This is the xorg log https://paste.opensuse.org/17385748. It has more errors related to loading libs, but xorg does not crash. Also xorg doesnt start when I have
Code:
   Driver       "intel"
   Option "TearFree" "true"
in my config and no i915 support.

So my question is do I need i915 for my graphics controller? Is it a problem with i915 driver? I want to have it because it allows me to use TearFree. For the moment I chose to work without picom, but it would be good to have it working.


Last edited by sheogorath on Thu Nov 17, 2022 3:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30908
Location: here

PostPosted: Tue Nov 15, 2022 6:25 pm    Post subject: Re: DWM(w/systray) + picom crashes on xrandr --off Reply with quote

sheogorath wrote:
[*] i915 is in VIDEO_CARDS and xorg-drivers are compiled with its support

Correct value is "intel" not i915, see intel wiki page (UHD Graphics 620 is a gen9).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sheogorath
n00b
n00b


Joined: 05 Jul 2017
Posts: 4

PostPosted: Tue Nov 15, 2022 7:07 pm    Post subject: Re: DWM(w/systray) + picom crashes on xrandr --off Reply with quote

Quote:
Correct value is "intel" not i915

Yeah, I had both.

I was able to fix screen tearing with setting
Quote:
backend = "glx"
in picom config, so I indeed dont need i915 driver and can instead use intel only.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum