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
failed with old xorg #413
Comments
Looks like this is because you're missing the xrandr extension, or its an outdated version. What does |
|
See #364 |
Dunst requires xrandr of 1.5 and above to work. It was supposed to automatically detect the outdated version and use Xinerama by default but there's a bug in the detection logic (fixed by #364) that prevents it. As a workaround you can enable force_xinerama in the config but keep in mind that by doing that dunst won't be notified of monitor layout updates and it can cause some very weird glitches if you change it without restarting dunst. |
Thanx! force_xinerama fixed this issue. |
I'll keep this issue open until #364 is merged since it's directly related. |
@zaza42 I'm curious. Which distro and distroversion are you using? |
@bebehei Debian Buster with Xorg 1.12.4 |
@zaza42 and how do you manage to get such an old X11 version? |
@zaza42 I'm wondering, because repology lists only Ubuntu 14.04 and ROSA Linux 14.1 as the only two distros left using xrandr < 1.5. (While for both ship xrandr 1.5 in their updates and trusty is outdated in 6 months anyway.). <Edit>And on the debian packages site lists xorg 1.12.4 only for oldoldstable(wheezy).</Edit> Honestly, on that databasis, I don't see any reason checking for xrandr < 1.5 anymore. |
@bebehei: I've followed these instructions: SiS 771/671 VGA driver in Debian Jessie [hacky solution] I thought one of goals of dunst is being lightweight (on old hardware). I've tried a bunch of notification daemons, and arrived to dunst, which is as lightweight as it can. I suggest to support these old hardware, because the more heavier notification daemons still support it. I have no idea why can't fit some lines of codes to support old xorg on old hardwares. At least please put in documentation this "force_xinerama" workaround, or please, please keep supporting old hardwares which never get newer drivers in newer xorgs! (Or what other lightweight notification daemon do you suggest for these machines?) |
@zaza42 I see your point. I started caring about this issue, when I realized #364's author is unresponsive and it's on our roadmap for 1.3. I wanted to give it a try and setup a VM for reproducibility. I searched for distros, which match xrandr < 1.4, but there were only these two pretty old distros left. I got sceptical and it also smelled fishy when you stated your xorg and distroversions. But your explanation makes absolutely sense.
You're right. Based on your thorough explanation, I had enough reasons to put some effort into this. I configured today different VMs and Ubuntu installs. But I hadn't been able to install a VM with xorg supporting xrandr protocol up to 1.4 and libxrandr == 1.5. I'm not able to do anything here. I can't deliver a fix in code. Maybe someone else has got more luck. |
You can easily reproduce the problem. Install Debian Buster i386 in VM, and add my repository to sources.list:
...aand |
@zaza42 The path was much harder. I had to find your GPG key and for some reasons, your repo does not provide Also I had to find the old packages for my mouse driver. I had been to tweak my VM very hard, until |
Fixed on master via #364 |
@bebehei : Sorry, I forgot to mention to use the original wheezy repo as well, which contains libudev0 and all xorg drivers for that old version. Thanx for the fix, anyway! |
I am using an old version of Xorg (due to a deprecated driver), and the new version of dunst fails to start:
Xorg 1.12.4, dunst 1.2.0
The text was updated successfully, but these errors were encountered: