Looks like you're not using a monitor section at all or do not specify it properly with
Option "Monitor-outputname" "monitorsection"
Still it's a bug in the patch of comment #14, since you get a Nullpointer
reference when not using a monitor section. This should not happen. I stumbled
across this today as well ...
Looks like you're not using a monitor section at all or do not specify it properly with
Option "Monitor- outputname" "monitorsection"
Still it's a bug in the patch of comment #14, since you get a Nullpointer
reference when not using a monitor section. This should not happen. I stumbled
across this today as well ...
Better version of this patch:
diff --git a/hw/xfree86/ modes/xf86RandR 12.c b/hw/xfree86/ modes/xf86RandR 12.c modes/xf86RandR 12.c modes/xf86RandR 12.c teScreenResourc es (ScreenPtr pScreen)
xf86Output Ptr output = config- >output[ config- >compat_ output] ;
xf86CrtcPt r crtc = output->crtc;
index 38435c9..135356d 100644
--- a/hw/xfree86/
+++ b/hw/xfree86/
@@ -426,8 +426,18 @@ xf86RandR12Crea
- if (crtc && crtc->mode.HDisplay && >conf_monitor && >conf_monitor- >mon_width > 0 || >conf_monitor- >mon_height > 0)) >conf_monitor- >mon_width; >conf_monitor- >mon_height;
- output->mm_width && output->mm_height)
+ if (output-
+ (output-
+ output-
+ {
+ /*
+ * Prefer user configured DisplaySize
+ */
+ mmWidth = output-
+ mmHeight = output-
+ }
+ else if (crtc && crtc->mode.HDisplay &&
+ output->mm_width && output->mm_height)
{
/*
* If the output has a mode and a declared size, use that