Comments (7)
It's still not working for me without patching xrandr or manually setting crtc. I've submitted the patch here if anyone wants to test it on their system.
from autorandr.
I think I'm running into this issue. I have 2 profiles setup when docked at work, one that uses the built-in monitor of the laptop along with 2 other monitors and another that swaps the built-in monitor out for a display hooked into my hdmi port.
When I load the config using the hdmi, everything has the correct layout. When I load the config with the builtin screen it loads that screen in a weird location that overlaps my other two monitors.
Is there a workaround for this or something I could look into fixing? Or is it a bug with xrandr itself?
from autorandr.
I just tested running the command to switch to the new layout 2x and that seems to work.
from autorandr.
This is a bug in xrandr. I'm using the same workaround - but haven't brought myself to integrating it into autorandr yet, because I don't know how specific the issue is. (What graphics card are you using? If it's not an Intel HD card of the Haswell generation, then we do at least have two affected cards..)
from autorandr.
Another workaround I've found is manually setting the --crtc
switch for each output. In my case autorandr (using xrandr) sets the monitors correctly the first time when starting X but if I switch profiles and switch back it doesn't work.
from autorandr.
I've had this issue of overlapping outputs in the past. I have an NVIDIA Quadro 2000M and it occurred on both Arch Linux and FreeBSD.
I've had to use workarounds before but I recently retried using a single invocation of autorandr --change
. And now that's working just fine for me.
My machine is a notebook and I have two external monitors connected. I had assumed that the problem was that my video card only supported driving two outputs at the same time. And while I wanted to turn the notebook's display off and only use the two external monitors xrandr
(or autorandr
) tried to apply the appropriate configuration to all three outputs at the same time, leading to an error. If I configured each output with a separate invocation of xrandr
I was able to get to configuration I wanted. But autorandr
didn't support that at the time.
But as I said the problem is gone now for me. I don't know if something in xrandr
, autorandr
or the proprietary NVIDIA driver changed, but I'm glad it's working now out of the box.
Version information for my machine where it's currently working:
$ pkg query %v py27-autorandr
1.3.p1
$ xrandr --version
xrandr program version 1.5.0
Server reports RandR version 1.5
% pkg query %n-%v libX11 libXrandr nvidia-driver xorg-server
libX11-1.6.5,1
libXrandr-1.5.1
nvidia-driver-384.90
xorg-server-1.18.4_6,1
$ freebsd-version
11.1-RELEASE-p6
Maybe it's working for others now as well?
from autorandr.
I've tried the patch from @Quuz in the hope that it would fix my issue, which is basically that autorandr vertical
does not work (xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --output DP-2-2 --mode 2560x1440 --pos 0x1080
fails), but no luck.
It is likely another issue, will have to investigate. It is not related to autorandr
really, since it also fails to setup this correctly using arandr
.
Linux 4.14.9-1-ARCH, Lenovo X250 (Intel graphics).
from autorandr.
Related Issues (20)
- /home/thinker/./autorandr:49: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import LooseVersion as Version HOT 1
- Question: should autorandr systemd service change profile when external monitor is unplugged? HOT 2
- Use of --skip-options breaks --current HOT 1
- Parsing XRandR output failed HOT 1
- Detected Wayland session 'wayland-0'. Exiting.
- Failed to apply profile because xrandr cannot find mode
- postscript loses authentication for systemctl commands after suspending HOT 1
- Unhandled exception (local variable 'output' referenced before assignment) HOT 1
- Broken regexes due to missing `r` string literal HOT 6
- Unable to save lid state when using NVIDIA GPU (no eDP / LVDS output)
- Total system crash + soundloop could be caused by autorandr
- Total system crash + soundloop could be caused by autorandr
- No XCB_RANDR_NOTIFY_MASK_SCREEN_CHANGE events HOT 2
- Prevent profile change with screen lock HOT 1
- Additional Documentation HOT 7
- autorandr.service "Failed to load profile: 'xxx' : Profile not found" althoug profile exists HOT 1
- Failed to apply profile due to `--crtc` option HOT 2
- Incorrect profile settings HOT 1
- autorandr /usr/bin/autorandr:210: SyntaxWarning: invalid escape sequence '\s' XRANDR_OUTPUT_REGEXP = """(?x) /usr/bin/autorandr:236: SyntaxWarning: invalid escape sequence '\s' """ + XRANDR_PROPERTIES_REGEXP + """ | # Properties to include in the profile /usr/bin/autorandr:248: SyntaxWarning: invalid escape sequence '\S' XRANDR_OUTPUT_MODES_REGEXP = """(?x) /usr/bin/autorandr:592: SyntaxWarning: invalid escape sequence '\s' version = re.search("xrandr program version\s+([0-9\.]+)", version_string).group(1) /usr/bin/autorandr:888: SyntaxWarning: invalid escape sequence '\+' match = re.match("(?P<w>[0-9]+)x(?P<h>[0-9]+)(?:\+(?P<x>[0-9]+))?(?:\+(?P<y>[0-9]+))?.*", output.options["panning"]) HOT 4
- please support appimage , or binary file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autorandr.