Giter VIP home page Giter VIP logo

Comments (18)

actionless avatar actionless commented on August 17, 2024 2

i think psychon meant /usr/local/bin/awesome-no-argb

and instead of /usr/bin/awesome you should put your real path to awesome, ie $ which awesome

from awesome.

actionless avatar actionless commented on August 17, 2024

is that happens only with chromium-based apps?
do you use any compositor? if not can you try to run awesome with --no-argb argument?

from awesome.

gilligan avatar gilligan commented on August 17, 2024

@actionless indeed i think i might have to correct myself. it seems like it only happens with chromium. As for compositor, I use compton. Killing it has no effect. I will try the --no-argb switch and report back

from awesome.

gilligan avatar gilligan commented on August 17, 2024

@actionless awesome is now running with --no-argb but the problem remains. I also tried latest google-crhome. Same problem as with chromium

from awesome.

gilligan avatar gilligan commented on August 17, 2024

@actionless correcting myself again. Running awesome with --no-argb and without compton fixes the problem. My question is: who is to blame for what now and how should I proceed ?

from awesome.

gilligan avatar gilligan commented on August 17, 2024

I also tried some random other composition manager (xcompmgr) with the same result

from awesome.

psychon avatar psychon commented on August 17, 2024

Sorry, but awesome is not to blame. Awesome just places windows (it tells the X11 server where the window should be visible). It's not involved at all in the actual drawing. Everything that is fixed by --no-argb is a bug elsewhere, likely in your X11 video driver (or in this case in xcompmgr). Sorry, but I don't know more.

from awesome.

gilligan avatar gilligan commented on August 17, 2024

@psychon valid points indeed. It is odd however that this only ever occurs in awesome and no other window manager. Regardless of which comp manager is used as well. Maybe i will file bug for chrome and see where that leads.

from awesome.

ViktorNova avatar ViktorNova commented on August 17, 2024

I can confirm this on my laptop as well, with the Intel driver, and the issue only happens on Awesome.
Will report back with more details and tests when I am with the machine

from awesome.

psychon avatar psychon commented on August 17, 2024

@ViktorNova Does --no-argb and/or no compton help you, too?

from awesome.

HHM avatar HHM commented on August 17, 2024

Same problem here. I am using ubuntu and an older version of awesome (3.5.14) and the redrawing does not occur in both chromium and firefox.
Workaround:
Running chromium with the --disable-gpu-compositing option solved the problem for me.

In that sense it is related to the report referenced above:
#195
Where the graphics card seems to be the issue as well.

from awesome.

pakozm avatar pakozm commented on August 17, 2024

I confirm that using --disable-gpu-compositing is also solving the problem for google-chrome.

from awesome.

0jrp0 avatar 0jrp0 commented on August 17, 2024

Same here. With GPU compositing disabled in Chrome the rendering issues go away. For those of you with Intel drivers, the end of this bug on chromium might work:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1309801

from awesome.

slaufmann avatar slaufmann commented on August 17, 2024

if not can you try to run awesome with --no-argb argument?

I have some trouble testing this approach. I use LXDM as a display manager which uses X Desktop Entry files for starting the awesome session. But these files don't allow arguments with two hyphens.
How could I e.g. start an awesome session "manually" from a tty?

from awesome.

psychon avatar psychon commented on August 17, 2024

You could create a file /usr/local/awesome-no-argb (make sure it is executable) with the following content (and then use this file in your .desktop file):

#!/bin/sh
exec /usr/bin/awesome --no-argb "$@"

If you really want to start a session from a tty, something like the following might work: X :5 & sleep 10 ; DISPLAY=:5 awesome.

from awesome.

slaufmann avatar slaufmann commented on August 17, 2024

Thanks, starting from the command line worked.

The workaround with the shell script as executable for the .desktop file didn't work. I kept propted with a message that "awesome-no-argb" couldn't be found even though it was in the right path. I even tried a complete path but that didn't work either.

from awesome.

Elv13 avatar Elv13 commented on August 17, 2024

Unless this is an urelated bug that produces the same result, this has been recently fixed

from awesome.

psychon avatar psychon commented on August 17, 2024

...recently been fixed in Xorg

from awesome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.