-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRM method: "open: No such file or directory" #72
Comments
If I am understanding this correctly. You have one graphics card. I have one screen with two monitors and have not tested one two
Replacing To adjust two monitors concurrently you will need to use As for DRM, I will have to look into that. |
@maandree first of all, I found out that RandR was somehow disabled in my config, so I've enabled it with:
But still:
Using the repo from both the latest version and the version in the PR, I get the following message when I try to run on the second screen:
Running with the all flag just seems to enable it on the primary screen:
PS: Running your version (redshift on the arch repositories and redshift-git on AUR) works with screen=1 |
What is the output of If you cannot get output from |
I thought you disabled Xinerama in xorg.conf. |
Wait, sorry, there's a conf.d in /etc/X11 now:
|
You probably have one screen with two outputs. To clarify incase there is confusion about the nomenclature, display: what you start when you run startx. (synonym for CRTC in Windows and Mac.) |
In src/gamma-drm.c, between the lines. state->fd = open(pathname, O_RDWR | O_CLOEXEC);
if (state->fd < 0) { insert printf("Using DRM file: %s\n", pathname); What is its output, and what does Edit: Use the branch ‘master’. The lines are no. 67 and 68. |
Very interesting results: I moved my config outside of /etc/X11, ran Looking at However, xrandr now works:
and redshift uses randr to dim the screen by default. Running with
Obviously I can't test if using screen=all or screen=1 works now because my secondary monitor isn't "on". I'll turn it back on and see what happens. |
I've managed to get it to work! I discovered that by using the "Multi-display desktop with display(s)2" setting, I have the exact same setup as before, but I don't need xinerama. This allows me to run xrandr, which sees both monitors as the same screen. Therefore, running drm still isn't working though, happy to help you debug that further |
Your system does have a file named /dev/dri/card0 right? |
My system doesn't have a /dev/dri directory at all. I can't do that today but I'll have a look for you when I get some spare time 😄 |
That is weird. That directory is taken directly from the libdrm headers. |
I'm closing this for now. Please reopen with more information if the issue persists. |
Hi there,
I'm trying to get redshift to work on my desktop running AMD catalyst drivers, but it's not working:
As you can probably tell from the xorg.conf file, I've got two monitors. I'm running from a Radeon HD 7950. Running redshift with the default mode works for the first screen, but not for the second.
The text was updated successfully, but these errors were encountered: