Comments (18)
I am also seeing a similar error as above, using the slimlock-git
package in the Arch Linux AUR freshly installed just a moment ago.
(Using the existing default slimlock.conf).
$ slimlock
X Error of failed request: BadRRCrtc (invalid Crtc parameter)
Major opcode of failed request: 154 (RANDR)
Minor opcode of failed request: 20 (RRGetCrtcInfo)
Crtc id in failed request: 0x0
Serial number of failed request: 18
Current serial number in output stream: 18
Not sure if the information is relevant, but I use slim, xmonad, and do not have compositing enabled.
from slimlock.
Another Arch user here, same AUR package, exact same error message.
Also using slim, openbox, no compositing. Systemd if it matters, just trying to launch from command line.
from slimlock.
in my laptop it's ok, but in desktop i have the same problem
from slimlock.
Confirming the issue.
slim version 1.3.4-4
slimlock-git version 20121114-1
from slimlock.
slimlock's developer declined further application support.
from slimlock.
Thanks for letting me know.
Sigh might be time for a switch then.
from slimlock.
This may be due to an X configuration problem. I've just started experiencing it myself (I'm the maintainer of the AUR -git package), and I've just switched from nouveau without an xorg.conf (which worked fine), to nvidia with a xorg.conf.
I'll have a poke around and see if I can find a solution. It may be helpful if you can confirm whether you're using the same sort of setup (nvidia+xorg.conf) or not.
from slimlock.
Yes, I used Nvidia card, without xorg.conf
from slimlock.
Yes, but are you using the nvidia driver, or nouveau?
from slimlock.
In desktop computer I use nvidia driver, proprietary. Slimlock doesn't work, in my laptop i use intel + nvidia bumblebee, by default used intel driver, slimlock works
from slimlock.
Seems like it may be a bug in the nvidia driver then. I've a tried out a number of xorg "device" options to no avail, so I don't think this is something that can be fixed on a configuration level.
I guess we'll either have to switch to something else or petition one of the active forks to investigate. Boo.
from slimlock.
in panel.cpp around line 597
replace
crtc_info = XRRGetCrtcInfo(Dpy, resources, primary_info->crtc);
with
if (primary_info->crtc < 1) {
if (primary_info->ncrtc > 0) {
// just use the first one.
// i do not know what the consequences
// of this will be. it seems to be that the index
// is which monitor to use.
crtc = primary_info->crtcs[0];
} else {
cerr << "Cannot get crtc from xrandr.\n";
exit(EXIT_FAILURE);
}
} else {
crtc = primary_info->crtc;
}
the call to XRRGetOutputInfo is returning the RRCrtc in the members that are for arrays instead of the single ones.
from slimlock.
eh left a few things out.
here is a working fork. https://github.com/dannyn/slimlock-ABANDONED
from slimlock.
Thanks, dannyn
from slimlock.
dear dannyn,
Well, thank you very much.
Date: Thu, 6 Dec 2012 23:04:53 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [slimlock-ABANDONED] Can not lock the screen (#19)
eh left a few things out.
here is a working fork. https://github.com/dannyn/slimlock-ABANDONED
¡ª
Reply to this email directly or view it on GitHub.
from slimlock.
Many thanks, dannyn!
If you could rename your fork and pull in renatoaguiar's minor changes, I'll update the AUR package's PKGBUILD to point at your fork instead of theirs. Or, if you'd prefer, could you send a pull request to them?
Thanks again!
from slimlock.
I've merged his changes. I've also added it so if you have multiple monitors the background should display on all of them (although it will use the resolution of the first one for all of them, I plan on fixing that).
Before you update the AUR, somebody should probably test to make sure that it works on one monitor, and that it still works for people who didnt have the problem I fixed in the first place. I feel pretty confident that there will not be an issue, but you never know.
from slimlock.
Well it's been working fine all day here, so it seems to work okay on single-monitor setups. I implemented the crtc fix yesterday by way of a patch, and I haven't had any complaints from anyone yet. Assuming that there's none overnight, I'll update the AUR package tomorrow. I still think you should drop the "ABANDONED" from the repo name though. :P
Cheers!
from slimlock.
Related Issues (17)
- Possible bypass HOT 8
- Provide Download Files HOT 4
- slimlock does not receive keyboard input when left running for a while HOT 5
- Add dual screen capability HOT 1
- installs without themes HOT 1
- Not finding freetype headers properly? HOT 1
- Errors in console
- Support for fprintd HOT 2
- Syntax error when compiling Pop OS HOT 1
- slimlock make problem HOT 1
- resume from suspend HOT 1
- cannot suspend HOT 6
- Build fails on Arch Linux due to DSOLinkChange HOT 1
- (solved) gentoo: "slimlock: could not load panel image", but image is existing HOT 16
- slimlock segfaults after unlock HOT 12
- Mouse pointer disappears after waking up
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 slimlock.