From owner-freebsd-x11@FreeBSD.ORG Sat Sep 29 15:30:33 2007 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D47C16A41B for ; Sat, 29 Sep 2007 15:30:33 +0000 (UTC) (envelope-from gofdx-freebsd-x11@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D360E13C457 for ; Sat, 29 Sep 2007 15:30:32 +0000 (UTC) (envelope-from gofdx-freebsd-x11@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IbcwI-0005I2-KB for freebsd-x11@freebsd.org; Sat, 29 Sep 2007 14:05:02 +0000 Received: from 150.21.202.62.fix.bluewin.ch ([62.202.21.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Sep 2007 14:05:02 +0000 Received: from oli by 150.21.202.62.fix.bluewin.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Sep 2007 14:05:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-x11@freebsd.org From: Olivier Brisson Date: Sat, 29 Sep 2007 13:58:40 +0000 (UTC) Lines: 416 Message-ID: References: <20070927202749.GA67864@demeter.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 62.202.21.150 (Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.7) Gecko/20070924 Firefox/2.0.0.7) Sender: news Subject: Re: xorg-7.3 fails after ACPI events X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 15:30:33 -0000 Chad Perrin apotheon.com> writes: > > After some ACPI events, x.org-7.3 fails on my system. In particular, the > screen simply goes black and the laptop ceases to respond to anything > except SSH from a remote system if it is running on battery power, and > and goes black if I try to put the system in sleep mode. With x.org > versions 6.x neither of these problems existed on this system. > > Once I've plugged the system in and restarted, I can only get startx to > work if I've first run Xorg -keeptty as root. > > It's using an ATI Mobility Radeon M300, with the generic 2D "ati" driver. > Switching to the 2D "radeon" driver doesn't help any. > > Is this a known issue that I haven't been able to track down online, or > am I suffering alone with this one for the moment? Is there any > troubleshooting advice for this particular problem that anyone can offer > me? > I have exactly the same problem since i upgraded from 7.2 to 7.3 with my ATI Radeon 9200. After fighting with the new x.org for two weeks now (reading messages on various lists, trying hints and cvsuping/portupgrading everything on a daily basis), i was able to have a result with using the following 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/Type1/" FontPath "/usr/local/lib/X11/fonts/CID/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XKBRules" "xorg" Option "XKBModel" "pc104" Option "XKBLayout" "ch" Option "XKBVariant" "fr" Option "XKBOptions" "eurosign:e" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 340 270 # mm Identifier "Monitor0" VendorName "VSN" ModelName "V7 L17EB" ### Comment all HorizSync and VertSync values to use DDC: HorizSync 31.0 - 80.0 VertRefresh 56.0 - 75.0 Option "DPMS" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional Option "NoAccel" "True" # [] #Option "SWcursor" # [] #Option "Dac6Bit" # [] #Option "Dac8Bit" # [] #Option "BusType" # [] #Option "CPPIOMode" # [] #Option "CPusecTimeout" # #Option "AGPMode" # #Option "AGPFastWrite" "True" # [] #Option "AGPSize" # #Option "GARTSize" # #Option "RingSize" # #Option "BufferSize" # #Option "EnableDepthMoves" # [] #Option "EnablePageFlip" # [] #Option "NoBackBuffer" # [] #Option "DMAForXv" # [] #Option "PanelOff" # [] #Option "DDCMode" # [] #Option "MonitorLayout" # [] #Option "IgnoreEDID" # [] #Option "UseFBDev" # [] #Option "MergedFB" # [] #Option "CRT2HSync" # [] #Option "CRT2VRefresh" # [] #Option "CRT2Position" # [] #Option "MetaModes" # [] #Option "MergedDPI" # [] #Option "MergedXinerama" # [] #Option "MergedXineramaCRT2IsScreen0" # [] #Option "MergedNonRectangular" # [] #Option "MergedMouseRestriction" # [] #Option "DisplayPriority" # [] #Option "PanelSize" # [] #Option "ForceMinDotClock" # #Option "ColorTiling" # [] #Option "VideoKey" # #Option "RageTheatreCrystal" # #Option "RageTheatreTunerPort" # #Option "RageTheatreCompositePort" # #Option "RageTheatreSVideoPort" # #Option "TunerType" # #Option "RageTheatreMicrocPath" # #Option "RageTheatreMicrocType" # #Option "RenderAccel" # [] #Option "SubPixelOrder" # [] #Option "ShowCache" # [] #Option "DynamicClocks" # [] #Option "BIOSHotkeys" # [] #Option "VGAAccess" # [] #Option "ReverseDDC" # [] #Option "LVDSProbePLL" # [] #Option "AccelMethod" # Identifier "Card0" Driver "radeon" VendorName "ATI Technologies Inc" BoardName "RV280 [Radeon 9200 SE]" BusID "PCI:2:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 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 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" EndSubSection EndSection But i still have problems: * leds are not working as reported by many people on this list. * Awfully slow: scrolling pages in Firefox is very slow. If i put Option "NoAccel" "False", X fails to start and freezes and i have to ssh in the system again. * Fonts are horrible in rxvt Here are other informations that can be interesting: ---------------------------------------------------- Here is the result of xrandr: 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/Type1/" FontPath "/usr/local/lib/X11/fonts/CID/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XKBRules" "xorg" Option "XKBModel" "pc104" Option "XKBLayout" "ch" Option "XKBVariant" "fr" Option "XKBOptions" "eurosign:e" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 340 270 # mm Identifier "Monitor0" VendorName "VSN" ModelName "V7 L17EB" ### Comment all HorizSync and VertSync values to use DDC: HorizSync 31.0 - 80.0 VertRefresh 56.0 - 75.0 Option "DPMS" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional Option "NoAccel" "True" # [] #Option "SWcursor" # [] #Option "Dac6Bit" # [] #Option "Dac8Bit" # [] #Option "BusType" # [] #Option "CPPIOMode" # [] #Option "CPusecTimeout" # #Option "AGPMode" # #Option "AGPFastWrite" "True" # [] #Option "AGPSize" # #Option "GARTSize" # #Option "RingSize" # #Option "BufferSize" # #Option "EnableDepthMoves" # [] #Option "EnablePageFlip" # [] #Option "NoBackBuffer" # [] #Option "DMAForXv" # [] #Option "PanelOff" # [] #Option "DDCMode" # [] #Option "MonitorLayout" # [] #Option "IgnoreEDID" # [] #Option "UseFBDev" # [] #Option "MergedFB" # [] #Option "CRT2HSync" # [] #Option "CRT2VRefresh" # [] #Option "CRT2Position" # [] #Option "MetaModes" # [] #Option "MergedDPI" # [] #Option "MergedXinerama" # [] #Option "MergedXineramaCRT2IsScreen0" # [] #Option "MergedNonRectangular" # [] #Option "MergedMouseRestriction" # [] #Option "DisplayPriority" # [] #Option "PanelSize" # [] #Option "ForceMinDotClock" # #Option "ColorTiling" # [] #Option "VideoKey" # #Option "RageTheatreCrystal" # #Option "RageTheatreTunerPort" # #Option "RageTheatreCompositePort" # #Option "RageTheatreSVideoPort" # #Option "TunerType" # #Option "RageTheatreMicrocPath" # #Option "RageTheatreMicrocType" # #Option "RenderAccel" # [] #Option "SubPixelOrder" # [] #Option "ShowCache" # [] #Option "DynamicClocks" # [] #Option "BIOSHotkeys" # [] #Option "VGAAccess" # [] #Option "ReverseDDC" # [] #Option "LVDSProbePLL" # [] #Option "AccelMethod" # Identifier "Card0" Driver "radeon" VendorName "ATI Technologies Inc" BoardName "RV280 [Radeon 9200 SE]" BusID "PCI:2:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 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 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" EndSubSection EndSection But i still have problems: * leds are not working (USB Keyboard)(as reported by many people on this list). * Awfully slow: scrolling pages in Firefox is very slow. If i put Option "NoAccel" "True", X fails to start and freezes and i have to ssh in the system. * Fonts are horrible in rxvt. Antialiased fonts are not affected. Same problem as here: http://article.gmane.org/gmane.os.freebsd.devel.x11/5152 * Option "XKBOptions" "eurosign:e" does not work any more * Also tested to change the driver to "ati" instead of "radeon" and it did not change anything. Here are other informations that may be interesting: ---------------------------------------------------- Here is the result of xrandr: haribo% xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1200 VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm 1280x1024 59.9* 60.0 1152x864 74.8 1024x768 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 66.7 60.0 720x400 70.1 S-video disconnected (normal left inverted right x axis y axis) Here is the type of the system: haribo% uname -a FreeBSD haribo.unixcraft.org 5.5-RELEASE-p15 FreeBSD 5.5-RELEASE-p15 #3: Tue Sep 18 02:08:06 CEST 2007 oli@haribo.unixcraft.org:/usr/obj/usr/src/sys/GENERIC i386 Here are the installed packages: xorg-7.3_1 xorg-apps-7.3 xorg-cf-files-1.0.2_2 xorg-docs-1.4,1 xorg-drivers-7.3 xorg-fonts-100dpi-7.3 xorg-fonts-7.3 xorg-fonts-75dpi-7.3 xorg-fonts-cyrillic-7.3 xorg-fonts-miscbitmaps-7.3 xorg-fonts-truetype-7.3 xorg-fonts-type1-7.3 xorg-libraries-7.3_1 xorg-protos-7.3 xorg-server-1.4,1 xf86-input-keyboard-1.2.2 xf86bigfontproto-1.1.2 xf86-input-mouse-1.2.2 xf86dga-1.0.2 xf86-video-ati-6.7.193 xf86dgaproto-2.0.3 xf86-video-dummy-0.2.0_1 xf86driproto-2.0.3 xf86-video-i128-1.2.1_1 xf86miscproto-0.9.2 xf86-video-vesa-1.3.0_1 xf86rushproto-1.1.2 xf86-video-vga-4.1.0_1 xf86vidmodeproto-2.2.2 Thank you any help! Olivier