From nobody@FreeBSD.org  Wed Oct 17 10:12:47 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 39DD016A475
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Oct 2007 10:12:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 289FB13C442
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Oct 2007 10:12:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9HACZeA088539
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Oct 2007 10:12:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l9HACZ4R088538;
	Wed, 17 Oct 2007 10:12:35 GMT
	(envelope-from nobody)
Message-Id: <200710171012.l9HACZ4R088538@www.freebsd.org>
Date: Wed, 17 Oct 2007 10:12:35 GMT
From: Markus Dolze <bsdfan@nurfuerspam.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wdm crashes after upgrade to Xorg 7.3
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117267
>Category:       ports
>Synopsis:       x11/wdm crashes after upgrade to Xorg 7.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xride
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 17 10:20:01 UTC 2007
>Closed-Date:    Mon Dec 29 22:57:51 UTC 2008
>Last-Modified:  Mon Dec 29 22:57:51 UTC 2008
>Originator:     Markus Dolze
>Release:        FreeBSD-6.2
>Organization:
>Environment:
FreeBSD kirika.intra.mdolze.de 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #3: Sun Mar 25 12:03:48 CEST 2007     root@rymelda.intra.mdolze.de:/usr/obj/usr/src/sys/KIRIKA  i386
>Description:
After upgrading Xorg from 7.2 to 7.3 wdm crashes upon startup.

In /var/log/xdm-errors.log this message is recorded:

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 6.2-RELEASE i386 
Current Operating System: FreeBSD kirika.intra.mdolze.de 6.2-RELEASE-p3 FreeBSD 
6.2-RELEASE-p3 #3: Sun Mar 25 12:03:48 CEST 2007     root@rymelda.intra.mdolze.d
e:/usr/obj/usr/src/sys/KIRIKA i386
Build Date: 16 October 2007  11:37:52AM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 17 12:03:49 2007
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "xrandr" (module does not exist, 0)
(II) Module "ramdac" already built-in
(II) Module "ddc" already built-in
f000:6b07: 01 ILLEGAL EXTENDED X86 OPCODE!
(II) Module "i2c" already built-in
(II) Module "ddc" already built-in
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Cannot open config file. Using builtin defaults
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  2 (X_ChangeWindowAttributes)
  Serial number of failed request:  1338
  Current serial number in output stream:  1340
Greet: guarenteed_read error, UNMANAGE DISPLAY
Greet: pipe read error with /usr/local/bin/wdmLogin
Server crash rate too high: removing display :0
FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc/" refcount is 2, should be 1; f
ixing.


On another computer wdm is running fine with Xorg 7.3. I created a package on the machine is working and installed it on the problematic machine, but wdm still crashes.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->xride 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Oct 17 13:41:45 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117267 

From: Soeren Straarup <xride@x12.dk>
To: bsdfan@nurfuerspam.de, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/117267: x11/wdm crashes after upgrade to Xorg 7.3
Date: Sat, 20 Oct 2007 08:12:14 +0200

 Hi,
 
 This might be the problem:
 (EE) Failed to load module "xrandr" (module does not exist, 0)
 
 Try and install this port:
 x11/libXrandr
 
 Best regards Soeren
 
 -- 
 Soeren Straarup   | aka OZ2DAK aka Xride
 FreeBSD committer | FreeBSD since 2.2.6-R
   If a program is not working right, then send a patch

From: Soeren Straarup <xride@x12.dk>
To: Markus Dolze <bsdfan@nurfuerspam.de>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/117267: x11/wdm crashes after upgrade to Xorg 7.3
Date: Sat, 20 Oct 2007 18:28:15 +0200

 On Sat, 20 Oct 2007 18:17:24 +0200
 Markus Dolze <bsdfan@nurfuerspam.de> wrote:
 
 > Hi,
 > 
 > it's strange libXrandr IS already installed. But this does not seem to
 > be the problem.
 > 
 > My problem seems to be related to the Xorg settings I use. The machine
 > is an old Toshiba laptop with a Trident Cyber video chip ("trident"
 > driver) with 2.5M RAM. 1024x768 only works with 16 bit color
 > depth:
 > 
 > Section "Device"
 > 	Identifier  "Card0"
 > 	Driver      "trident"
 > 	VendorName  "Trident Microsystems"
 > 	BoardName   "Cyber 9525"
 > 	BusID       "PCI:0:4:0"
 > EndSection
 > 
 > Section "Screen"
 > 	Identifier "Screen0"
 > 	Device     "Card0"
 > 	Monitor    "LCD"
 > 	DefaultDepth 16
 > 	SubSection "Display"
 > 		Modes     "1024x768" "800x600" "640x480"
 > 		Viewport   0 0
 > 		Depth     16
 > 	EndSubSection
 > EndSection
 > 
 > If I comment out the DefaultDepth setting, wdm starts (but only with
 > 800x600). Also if I change DefaultDepth and Depth to "8" wdm starts
 > (1024x768, but with ugly 8 bit color depth).
 > 
 
 Have you tried 'X -configure' and compared it with the current config
 file?
 
 I have noticed that i needed to do that configure option and then
 correct it to may original settings.
 
 > The crash is reproducable with the settings from the "Screen" section
 > above on another computer.
 > 
 > Regards
 > Markus
 > 
 > Soeren Straarup wrote:
 > > Hi,
 > > 
 > > This might be the problem:
 > > (EE) Failed to load module "xrandr" (module does not exist, 0)
 > > 
 > > Try and install this port:
 > > x11/libXrandr
 > > 
 > > Best regards Soeren
 > > 
 
 /Soeren.
 
 -- 
 Soeren Straarup   | aka OZ2DAK aka Xride
 FreeBSD committer | FreeBSD since 2.2.6-R
   If a program is not working right, then send a patch

From: Markus Dolze <bsdfan@nurfuerspam.de>
To: Soeren Straarup <xride@x12.dk>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/117267: x11/wdm crashes after upgrade to Xorg 7.3
Date: Sat, 20 Oct 2007 18:17:24 +0200

 Hi,
 
 it's strange libXrandr IS already installed. But this does not seem to
 be the problem.
 
 My problem seems to be related to the Xorg settings I use. The machine
 is an old Toshiba laptop with a Trident Cyber video chip ("trident"
 driver) with 2.5M RAM. 1024x768 only works with 16 bit color
 depth:
 
 Section "Device"
 	Identifier  "Card0"
 	Driver      "trident"
 	VendorName  "Trident Microsystems"
 	BoardName   "Cyber 9525"
 	BusID       "PCI:0:4:0"
 EndSection
 
 Section "Screen"
 	Identifier "Screen0"
 	Device     "Card0"
 	Monitor    "LCD"
 	DefaultDepth 16
 	SubSection "Display"
 		Modes     "1024x768" "800x600" "640x480"
 		Viewport   0 0
 		Depth     16
 	EndSubSection
 EndSection
 
 If I comment out the DefaultDepth setting, wdm starts (but only with
 800x600). Also if I change DefaultDepth and Depth to "8" wdm starts
 (1024x768, but with ugly 8 bit color depth).
 
 The crash is reproducable with the settings from the "Screen" section
 above on another computer.
 
 Regards
 Markus
 
 Soeren Straarup wrote:
 > Hi,
 > 
 > This might be the problem:
 > (EE) Failed to load module "xrandr" (module does not exist, 0)
 > 
 > Try and install this port:
 > x11/libXrandr
 > 
 > Best regards Soeren
 > 

From: Markus Dolze <bsdfan@nurfuerspam.de>
To: Soeren Straarup <xride@x12.dk>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/117267: x11/wdm crashes after upgrade to Xorg 7.3
Date: Sun, 21 Oct 2007 10:16:16 +0200

 Soeren Straarup wrote:
 > 
 > Have you tried 'X -configure' and compared it with the current config
 > file?
 > 
 > I have noticed that i needed to do that configure option and then
 > correct it to may original settings.
 > 
 
 Compared to a freshly generated xorg.conf my config contains only small
 differences (keyboard layout, monitor timings) and the 16 bit color
 depth setting.
 
 It really seems like the 16 bit color depth is the culprit. If I force X
 to use 24 bpp and a 24 pixmap (by replacing the 16 bit settings with 24
 bit and by adding a "ServerFlags" Section with "Option Pixmap 24") wdm
 starts correctly in 1024x768. Without the "Pixmap 24" option, X will
 only start in 800x600, because X normally uses a 32 bit pixmap and my
 graphic memory is too small for 1024x768x32.
 
 Unfortunately the trident driver disables acceleration in 24bpp mode,
 resulting in a very slow X (e.g. scrolling is unacceptable slow). This
 was the reason I used 16bpp.
 
 So the title of this PR should read "wdm crashes in high-color (16bit)
 mode".
 
 Regards
 Markus
 

From: Alexander Logvinov <ports@logvinov.com>
To: bug-followup@FreeBSD.org, bsdfan@nurfuerspam.de
Cc:  
Subject: Re: ports/117267: x11/wdm crashes after upgrade to Xorg 7.3
Date: Tue, 30 Oct 2007 15:47:16 +0900

 ------------61857F43ABC38
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: quoted-printable
 
 Hello!
 
   Same problems with wdm-1.28_2, xorg-server-1.4_1,1 and DefaultDepth 16 :
 
 # grep wdm /etc/ttys
 ttyv8   "/usr/local/bin/wdm -nodaemon"  xterm   on secure
 
 # cat /usr/local/etc/X11/xorg.conf
 Section "ServerLayout"
         Identifier     "X.org Configured"
         Screen      0  "Screen0" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection
 
 Section "Files"
         RgbPath      "/usr/local/share/X11/rgb"
         ModulePath   "/usr/local/lib/xorg/modules"
         FontPath     "/usr/local/lib/X11/fonts/misc/"
         FontPath     "/usr/local/lib/X11/fonts/TTF/"
         FontPath     "/usr/local/lib/X11/fonts/OTF"
         FontPath     "/usr/local/lib/X11/fonts/Type1/"
         FontPath     "/usr/local/lib/X11/fonts/100dpi/"
         FontPath     "/usr/local/lib/X11/fonts/75dpi/"
 EndSection
 
 Section "Module"
         Load  "GLcore"
         Load  "dbe"
         Load  "dri"
         Load  "extmod"
         Load  "glx"
         Load  "record"
         Load  "xtrap"
         Load  "freetype"
         Load  "type1"
 EndSection
 
 Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
 EndSection
 
 Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "auto"
         Option      "Device" "/dev/sysmouse"
         Option      "ZAxisMapping" "4 5 6 7"
 EndSection
 
 Section "Monitor"
         Identifier   "Monitor0"
         VendorName   "Monitor Vendor"
         ModelName    "Monitor Model"
         HorizSync    30.0 - 83.0
         VertRefresh  56.0 - 60.0
         Option       "DPMS"
 EndSection
 
 Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "noaccel"                   # [<bool>]
         #Option     "swcursor"                  # [<bool>]
         #Option     "slow_dram_refresh"         # [<bool>]
         #Option     "slow_dram"                 # [<bool>]
         #Option     "slow_edodram"              # [<bool>]
         #Option     "slow_vram"                 # [<bool>]
         Identifier  "Card0"
         Driver      "s3"
         VendorName  "S3 Inc."
         BoardName   "86c775/86c785 [Trio 64V2/DX or /GX]"
         BusID       "PCI:0:8:0"
 EndSection
 
 Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         DefaultDepth 16
         SubSection "Display"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     16
                 Modes     "1024x768"
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
                 Modes   "1024x768"
         EndSubSection
 EndSection
 
 # cat /var/log/xdm-errors.log
 
 X.Org X Server 1.4.0
 Release Date: 5 September 2007
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 6.2-RELEASE-p8 i386
 Current Operating System: FreeBSD bgsc02.blg.akavia.ru 6.2-RELEASE FreeBSD =
 6.2-RELEASE #0: Fri Jan 1
 2 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/G=
 ENERIC i386
 Build Date: 29 October 2007  04:55:07AM
 
         Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (=3D=3D) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 30 15:34:43 2007
 (=3D=3D) Using config file: "/usr/local/etc/X11/xorg.conf"
 (II) Module "ramdac" already built-in
 Cannot open config file. Using builtin defaults
 X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  2 (X_ChangeWindowAttributes)
   Serial number of failed request:  1338
   Current serial number in output stream:  1340
 Server crash rate too high: removing display :0
 FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc/" refcount is 2, should be=
  1; fixing.
  =20
 
 --
 WBR
 ------------61857F43ABC38
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP MESSAGE-----
 Version: GnuPG v1.4.7 (MingW32)
 
 iQEVAwUBRybTdCvkNOkwqtvMAQLlvQf/cN/ZIB4godv3aSCuh6KttWJlFhV2Q/RI
 WiGabdOP4IprXNZaHCY/VnpUaoTvO3RhRHn6KMrpFQiQMMjZW5xFs5whkDGEd6rl
 3Y4gSGqaNpFM60C/uWd5Q3dulIZ6eB8y52AxCAayWXqX4UzWiwkRQKxHCi0ye7bi
 w0FsJC2PCLTRFA4W2L/4an3Hs/aAT3raoTvitGv5sd9OOY8rW44faUdvqUHi+GYS
 liaMU+6cVzzFOtwFW50DlWUv27OfQ32NeVIxepY80nY+ZHpRSiVkPKvgWOgZWjdU
 WDoDpNmSK9uEFV30VEyQQQs1/MEBdemPPQEwSw6wHAuvrKE7lcVK9g==
 =CFSO
 -----END PGP MESSAGE-----
 
 ------------61857F43ABC38--
 

From: Soeren Straarup <xride@freebsd.org>
To: bug-followup@FreeBSD.org, bsdfan@nurfuerspam.de
Cc:  
Subject: Re: ports/117267: x11/wdm crashes after upgrade to Xorg 7.3
Date: Mon, 31 Mar 2008 20:48:54 +0200

 Is the problem still there?
 
 best regards Soeren
 
 -- 
 Soeren Straarup   | aka OZ2DAK aka Xride
 FreeBSD committer | FreeBSD since 2.2.6-R
   If a program is not working right, then send a patch

From: Markus Dolze <bsdfan@nurfuerspam.de>
To: Soeren Straarup <xride@freebsd.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/117267: x11/wdm crashes after upgrade to Xorg 7.3
Date: Tue, 01 Apr 2008 07:46:25 +0200

 I don't know. In the meantime I have switched to xdm. I can still do a 
 test if you would like to verify if the problem persists.
 
 Soeren Straarup wrote:
 > Is the problem still there?
 > 
 > best regards Soeren
 > 

From: Soeren Straarup <xride@x12.dk>
To: Alexander Logvinov <ports@logvinov.com>
Cc: bsdfan@nurfuerspam.de, bug-followup@FreeBSD.org
Subject: Re: ports/117267: x11/wdm crashes after upgrade to Xorg 7.3
Date: Sun, 28 Dec 2008 19:25:24 +0100

 Hi Alexander Logvinov,
 
 Do you still have the problem described in PR:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=117267
 
 /Soeren
 
 -- 
 Soeren Straarup   | aka OZ2DAK aka Xride
 FreeBSD committer | FreeBSD since 2.2.6-R
   If a program is not working right, then send a patch
State-Changed-From-To: open->closed 
State-Changed-By: xride 
State-Changed-When: Mon Dec 29 22:57:15 UTC 2008 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=117267 
>Unformatted:
