Closed GoogleCodeExporter closed 9 years ago
The same occurs for me with radeon (open source driver), not fglrx closed one.
Original comment by xiterrex@gmail.com
on 24 Oct 2011 at 1:53
same here since Ubuntu 12.04 upgrade yesterday
Original comment by zbo...@gmail.com
on 27 Apr 2012 at 11:54
Same issue over here, 11.10 xubuntu x64, open source driver.
Original comment by infin...@cybershade.org
on 5 May 2012 at 4:06
confirmed with a fresh 12.04 (x64) install on a new hard drive. Same PC
demonstrated the same problem after updating 11.10 (i386) to 12.04.
Original comment by zbo...@gmail.com
on 5 May 2012 at 4:58
Here is a patch.
It seems XRRGetScreenResourcesCurrent() returns a fantom monitor on some
configs.
--- tint2-read-only/src/server.c 2012-06-25 16:25:35.712224880 +0200
+++ tint2-dev/src/server.c 2012-06-25 16:18:55.539307027 +0200
@@ -280,6 +280,10 @@
server.monitor[i].width = crtc_info->width;
server.monitor[i].height = crtc_info->height;
server.monitor[i].names = malloc((crtc_info->noutput+1) * sizeof(char*));
+ // on some recent configs, XRRGetScreenResourcesCurrent returns a fantom
monitor at last position
+ if ( !(crtc_info->x|crtc_info->y|crtc_info->width|crtc_info->height) &&
(i==res->ncrtc-1)) {
+ res->ncrtc -= 1;
+ }
for (j=0; j<crtc_info->noutput; ++j) {
XRROutputInfo* output_info = XRRGetOutputInfo(server.dsp, res, crtc_info->outputs[j]);
printf("xRandr: Linking output %s with crtc %d\n", output_info->name, i);
Original comment by Boris.Ha...@gmail.com
on 25 Jun 2012 at 2:27
i have build tint2 with this patch but unfortunately i still observe this
behavior, e.g. tint2 reserves space and reacts to interaction but is fully
transparent (because compositing is enabled, otherwise it's black square).
This is the output from tint:
real transparency on... depth: 32
xRandr: Found crtc's: 3
xRandr: Linking output HDMI2 with crtc 1
xRandr: Linking output HDMI3 with crtc 2
tint2 : nb monitor 3, nb monitor used 3, nb desktop 6
icon with depth: 24
tint2 : not icon_swallow
What can i do to help debug the issue? // this is Arch with Openbox, notebook
on a docking stating set up via XRandr.
Original comment by e.yunak
on 10 Sep 2012 at 3:23
In my case, they were all equal to 0 for the last (non-existent) detected
monitor.
Seeing that you use HDMI2 and HDMI3, maybe in your case it is the first monitor
that is wrongly detected.
To help, you should try to add a debug print on the following values :
crtc_info->x
crtc_info->y
crtc_info->width
crtc_info->height
Original comment by Boris.Ha...@gmail.com
on 10 Sep 2012 at 3:41
after upgrading to Ubuntu 12.10 (and the new tint2 package), I had the same
problem. Fixed after building tint2 from source with the patch listed in
comment #5
Original comment by Boris.Ha...@gmail.com
on 24 Oct 2012 at 1:25
had to do it again after upgrading to 13.04
Original comment by Boris.Ha...@gmail.com
on 26 Apr 2013 at 4:13
Original comment by mrovi9...@gmail.com
on 21 Jan 2015 at 11:27
Patch applied in r663, thank you!
Original comment by mrovi9...@gmail.com
on 22 Jan 2015 at 12:13
Original issue reported on code.google.com by
l.erlac...@gmail.com
on 9 Jun 2011 at 5:10Attachments: