You are not logged in.

#1 2017-01-17 18:59:54

nuanbajan
Member
Registered: 2017-01-17
Posts: 9

urxvt and transparency problem

Hi,

My urxvt stopped running with fake transparency after reboot. Laptop was up for a month or so (and urxvt was running the whole time). System is up to date. Since last reboot I can see this when launching urxvt:

 % urxvt
urxvt: An X Error occurred, trying to continue after report.
urxvt: + Serial number of failed request:  131
urxvt: + X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
urxvt: + Major opcode of failed request:  14
urxvt: + (which is X_GetGeometry)
urxvt: + Resource id in failed request:  0xc00000

Part of .Xdefaults config:

URxvt*transparent: true
URxvt*shading: 20

I've checked that this error message disappeared when I disable !URxvt*transparent: true option. In both cases it running in the same way showing me solid color of background. So called "true transparency" didn't worked previously and doesn't work now as well.
Laptop with integrated Intel i5 graphic card. WM: awesome3.

Last edited by nuanbajan (2017-01-17 19:02:21)

Offline

#2 2017-01-17 22:42:35

navi_se
Member
Registered: 2015-07-06
Posts: 135

Re: urxvt and transparency problem

I dunno if this can be any help at all, but in my transparency config I have

URxvt*ineheritPixmap: true

and I never run in to problem (can't really remember where my config came from, but you can give it a shot).

Offline

#3 2017-01-17 22:51:32

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: urxvt and transparency problem

nuanbajan wrote:

So called "true transparency" didn't worked previously and doesn't work now as well.

https://bbs.archlinux.org/viewtopic.php?id=57855

How exactly did you attempt to implement the transparency and how exactly did it fail?

True transparency has always worked for me with urxvt, are you running a compositor?

Offline

#4 2017-01-18 02:11:44

ekliot
Member
Registered: 2017-01-18
Posts: 1

Re: urxvt and transparency problem

I'm having the same issue, and the inheritPixmap option did not fix it either.

I have the same config options as OP, and am also using awesome3. The issue is occurring after I had to run a large batch of pacman updates after being away from my system for sometime. The updates included the following xorg packages (and excluding awesome or urxvt, I can post the full list if needed):

xorg-mkfontdir (1.0.7-2 -> 1.0.7-5)
xorg-fonts-misc (1.0.3-4 -> 1.0.3-5)
xorg-server-common (1.18.4-1 -> 1.19.1-1)
xorg-server (1.18.4-1 -> 1.19.1-1)

The options for true transparency don't seem to work either.  The specific error output that I get when running urxvt (with fake transparency) is:

urxvt: An X Error occurred, trying to continue after report.
urxvt: + Serial number of failed request:  126
urxvt: + X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
urxvt: + Major opcode of failed request:  14
urxvt: + (which is X_GetGeometry)
urxvt: + Resource id in failed request:  0x800000

Meanwhile, when running with true transparency config:

urxvt: An X Error occurred, trying to continue after report.
urxvt: + Serial number of failed request:  126

With config options:

URxvt.depth: 32
URxvt.background: [95]#000000

First time posting on these forums, so please let me know if I'm missing any useful info, thanks.

Offline

#5 2017-01-18 10:51:58

nuanbajan
Member
Registered: 2017-01-17
Posts: 9

Re: urxvt and transparency problem

Thanks all,

The config is the easiest. There is just font and color setup.

navi_se wrote:
URxvt*ineheritPixmap: true

This option did not fix it.

Head_on_a_Stick wrote:
How exactly did you attempt to implement the transparency and how exactly did it fail?
True transparency has always worked for me with urxvt, are you running a compositor?

No, I'm not using compositor (and probably this is why it doesn't work). I configured transparency using this article: https://ctkarch.org/documentation/tutor … ranspa.xml

urxvt*depth: 32
urxvt*background: rgba:0000/0000/0200/c800

To ekliot:
I also think the issue might occur after update. I'll try to downgrade packages to check it out.

Offline

#6 2017-01-18 17:36:59

nuanbajan
Member
Registered: 2017-01-17
Posts: 9

Re: urxvt and transparency problem

Hi,

Up to 16.01.17 everything was good. After this update:

[2017-01-18 23:27] [PACMAN] Running 'pacman -Syyuu'
[2017-01-18 23:27] [PACMAN] synchronizing package lists
[2017-01-18 23:27] [PACMAN] starting full system upgrade
[2017-01-18 23:27] [ALPM] transaction started
[2017-01-18 23:27] [ALPM] upgraded cbatticon (1.6.4-1 -> 1.6.5-1)
[2017-01-18 23:27] [ALPM] upgraded diffoscope (67-1 -> 69-1)
[2017-01-18 23:27] [ALPM] upgraded libtasn1 (4.9-2 -> 4.10-1)
[2017-01-18 23:27] [ALPM] upgraded libcups (2.2.1-1 -> 2.2.2-1)
[2017-01-18 23:27] [ALPM] upgraded poppler (0.50.0-1 -> 0.51.0-1)
[2017-01-18 23:27] [ALPM] upgraded poppler-glib (0.50.0-1 -> 0.51.0-1)
[2017-01-18 23:27] [ALPM] upgraded scite (3.7.1-1 -> 3.7.2-1)
[2017-01-18 23:27] [ALPM] upgraded webkit2gtk (2.14.2-2 -> 2.14.3-1)
[2017-01-18 23:27] [ALPM] upgraded xf86-input-evdev (2.10.4-2 -> 2.10.5-1)
[2017-01-18 23:27] [ALPM] upgraded youtube-dl (2017.01.14-1 -> 2017.01.16-1)
[2017-01-18 23:27] [ALPM] transaction completed
[2017-01-18 23:27] [ALPM] running 'texinfo-install.hook'...
[2017-01-18 23:27] [ALPM] running 'update-desktop-database.hook'...

and rebooting (or restarting X) urxvt stopped working well. sad

Offline

#7 2017-01-18 22:13:31

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: urxvt and transparency problem

Well, both fake and true transparency work for me with an HD4600 (bspwm) hmm

This thread looks relevant:

https://bbs.archlinux.org/viewtopic.php?id=195525 EDIT: I don't remember that at all big_smile

Are either of you forcing $TERM?

@OP: does true transparency work for you if you start a compositor?

Last edited by Head_on_a_Stick (2017-01-18 22:33:15)

Offline

#8 2017-01-19 15:39:43

nuanbajan
Member
Registered: 2017-01-17
Posts: 9

Re: urxvt and transparency problem

I did not change $TERM;

I tried compositing. After upgrade to up-to-date packages:

% compton  -c --backend glx --vsync opengl-swc
[     0.03 ] error    9 BadDrawable  request   14 minor    0 serial    355: "BadDrawable (invalid Pixmap or Window parameter)"

Urxvt with true transparency works fine, but background turns to light grey with no picture sad
headbang

Offline

#9 2017-01-20 03:29:03

Gat
Member
Registered: 2012-06-06
Posts: 16

Re: urxvt and transparency problem

Had the same issue today, but after a full system upgrade it disappeared.

EDIT: I take that back. Restarted again today and it reappeared. This is quite peculiar.

Last edited by Gat (2017-01-21 02:53:57)

Offline

#10 2017-01-21 12:23:30

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: urxvt and transparency problem

nuanbajan wrote:

I did not change $TERM;

Not that I don't believe you but can you please post the output of `echo $TERM`?

Urxvt with true transparency works fine, but background turns to light grey with no picture sad

How are you setting the wallpaper?

I find that feh plays nicely with compton.

Offline

#11 2017-01-23 14:22:59

nuanbajan
Member
Registered: 2017-01-17
Posts: 9

Re: urxvt and transparency problem

Hi,

% echo $TERM
screen

I set up wallpaper in theme.lua:

theme.wallpaper = "~/.awesome/my_wallpaper.png"

BTW, it seems like everything is settled down. At least right now smile
After the last updates everything looks good.

Offline

Board footer

Powered by FluxBB