Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 19:37:37 GMT
From:      Bernd Strauß <no_bs@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117726: xorg7.3/mga ignores modeline definitions in /etc/X11/xorg.conf + other weird things.
Message-ID:  <200710311937.l9VJbbo3065379@www.freebsd.org>
Resent-Message-ID: <200710311940.l9VJe1iU054138@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117726
>Category:       ports
>Synopsis:       xorg7.3/mga ignores modeline definitions in /etc/X11/xorg.conf + other weird things.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 31 19:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Strauß
>Release:        7.0-BETA1
>Organization:
>Environment:
7.0-BETA1 FreeBSD 7.0-BETA1 #6: Wed Oct 31 17:53:15 CET 2007
Matrox G400 graphics card
>Description:
Up until X.org 7.2 the screen resolution could be set with a
"ModeLine" definition in the "Monitor" section in xorg.conf.
With 7.3 the ModeLine is ignored. X starts in a lower resolution
and flickers badly.
>How-To-Repeat:
Put something like this in the "Monitor" section of xorg.conf:

ModeLine     "1200x960@83" 131.00 1200 1204 1324 1588 960 961 964 992
Option       "PreferredMode" "1200x960@83"

And repeat the identifier "1200x960@83" as Modes in the "Screen" 
section, "Display" subsections. Start X and see it come up
in 1152x768 at 55Hz or something.
>Fix:
Workaraound: Create a subdirectory /etc/X11/xinit/xinitrc.d
and put a (executable) text file in it containing something
like this:

xrandr --newmode "1200x960@83" 131.00 1200 1204 1324 1588 960 961 964 992
xrandr --addmode VGA "1200x960@83"
xrandr --output VGA --mode "1200x960@83"

However, I'm experiencing several issues when using RANDR
to set the resolutions:
 - It only works on the session, i.e. after you log in with
   xdm / gdm. Xdm itself is still displayed in the wrong
   resolution and flickers badly.
 - In the session, mplayer no longer works with XV video
   output. Instead you get a blue window now. X11 output 
   still works, but sucks.
 - In QEMU, when starting Windows, the mouse pointer
   disappears when you click on the desktop which makes
   it unusable.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710311937.l9VJbbo3065379>