You are not logged in.

#1 2018-05-02 13:29:52

Dizzy
Member
Registered: 2018-05-02
Posts: 3

[SOLVED]Polybar and link hover graphical problem

Hello community, I hope I'm posting in the right place.

A few weeks ago I booted my pc and run into this problem: https://i.imgur.com/vIiqUkW.png

The colours and the text of the bar are messed up. The same thing occurs when I hover over a link (as seen in the top right section of the screen). Nothing else is affected.

I tried reinstalling polybar, i3, the graphics driver, X but nothing works and I'm having a hard time pinpointing the problem.

Please help.

Last edited by Dizzy (2018-05-02 19:42:44)

Offline

#2 2018-05-02 14:29:43

robg
Member
Registered: 2015-03-05
Posts: 225

Re: [SOLVED]Polybar and link hover graphical problem

Hello Dizzy and welcome to the forum.

It would help if you could tell us as much as possible about your graphics setup: Your hardware details (integrated graphics, nvidia, amd, ...?), all installed graphics-related drivers, any xorg configuration details or kernel parameters, info on your display manager (if used) and / or your .xinitrc should do for starters.

Last edited by robg (2018-05-02 14:29:55)

Offline

#3 2018-05-02 15:16:51

Dizzy
Member
Registered: 2018-05-02
Posts: 3

Re: [SOLVED]Polybar and link hover graphical problem

Sure.

I have a Radeon RX 580 (amd), kernel driver/kernel module: amdgpu. OpenGL implementation: mesa.
I don't have a xorg.conf file.
I don't use a display manager.

/etc/X11/xinit/xinitrc

 
#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

~.xinitrc

[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
exec i3

Kernel parameters

cat /proc/cmdline (Hope this is what you were asking for)

BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sda5

Everything has been working perfectly for months and I didn't change any file or configuration before the problem occurred.

Offline

#4 2018-05-02 17:31:29

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED]Polybar and link hover graphical problem

I may be mis-remembering, but it seems there was a thread about this a week or so ago. If memory serves it has something to do with the Meas package. Is your machine fully updated?


Matt

"It is very difficult to educate the educated."

Offline

#5 2018-05-02 19:42:25

Dizzy
Member
Registered: 2018-05-02
Posts: 3

Re: [SOLVED]Polybar and link hover graphical problem

Thank you for the keywords. After some googling I found out it's a problem that affects compton which was introduced with the latest mesa package .

I installed compton-git as suggested here and everything is working fine now.

Offline

Board footer

Powered by FluxBB