Coder Social home page Coder Social logo

Comments (5)

phillipberndt avatar phillipberndt commented on May 24, 2024

The issue might be that autorandr does not correctly distinguish between disconnected and connected outputs when disabling them.

Is the log from before or after the script tried to run autorandr? If it's from after, please disable the udev script for now (or recreate the log from the sleep.d-script, before autorandr is run) and attach what xrandr --verbose outputs then. autorandr -c --dry-run's output and the two configuration files for your default configuration might be helpful, too.

I also find it funny that autorandr reports all of your configurations as "detected".. is this intentional? If it isn't, please also post those configuration/setup files!

from autorandr.

ma1ko avatar ma1ko commented on May 24, 2024

I am no longer able to reproduce this issue. I installed wertarbyte/autorandr, with which everything worked. Than I again installed your version of autorandr, which then also worked.

The posted log file was after running autorandr. However, the output is the same before and after running autorandr, since it aborted with an error and did not change anything.

Autorandr should not have detected the 'extern' configuration, since it used both external monitors which were not connected anymore.

from autorandr.

phillipberndt avatar phillipberndt commented on May 24, 2024

The posted log file was after running autorandr. However, the output is the same before and after
running autorandr, since it aborted with an error and did not change anything.

xrandr does not revert to the old settings if a part of the command fails. A non-zero exit state does not imply that nothing changed.

Autorandr should not have detected the 'extern' configuration, since it used both external monitors
which were not connected anymore.

Do you still have the setup file for the extern configuration?

from autorandr.

ma1ko avatar ma1ko commented on May 24, 2024

Do you still have the setup file for the extern configuration?

    $cat extern/config
    output DP1
    off
    output DP2
    off
    output DP3
    off
    output HDMI1
    off
    output HDMI2
    off
    output VIRTUAL1
    off
    output LVDS1
    off
    output VGA1
    mode 1920x1080
    pos 0x0
    rate 60.00
    output HDMI3
    mode 1680x1050
    pos 1920x0
    rate 59.88

    $cat extern/setup
    HDMI3 00ffffffffffff001e6d78567202010007120103ea312078eaaec5a2574a9c25125054a76b80950081808140714f01010101010101017c2e90a0601a1e4030203600da281100001a21399030621a274068b03600da281100001c000000fd00384b1e530f000a202020202020000000fc0057323234320a2020202020202000f0
    LVDS1 00ffffffffffff0030aeb240000000000113010380221378ea2135ad5037aa24115054000000010101010101010101010101010101014c368082703832403c30aa0058c1100000183f2d8082703832403c30aa0058c1100000180000000f00d10932d109281b190006af5634000000fe004231353648573031205634200a00d6
    VGA1 00ffffffffffff0034a44536010101012714010368341e782aeed5a555489b26125054bfef80b300a940950081408180950f714f9040023a801871382d40582c450009252100001e000000ff005630333954533630353034350a000000fd00374c1d5111000a202020202020000000fc004d442032303331300a202020200057

the default configuration has VGA1 und HDMI3 turned off and only LVDS1 (the laptop monitor) turned on

from autorandr.

phillipberndt avatar phillipberndt commented on May 24, 2024

Thanks! I can't reproduce this either. Apparently this was fixed with 36372f5 (HEAD~49), that was the newest version for which I could reproduce this issue.

from autorandr.

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.