Date: Sat, 29 Sep 2007 13:58:40 +0000 (UTC) From: Olivier Brisson <oli@unixcraft.org> To: freebsd-x11@freebsd.org Subject: Re: xorg-7.3 fails after ACPI events Message-ID: <loom.20070929T132156-324@post.gmane.org> References: <20070927202749.GA67864@demeter.hydra>
next in thread | previous in thread | raw e-mail | index | archive | help
Chad Perrin <perrin <at> 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: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional Option "NoAccel" "True" # [<bool>] #Option "SWcursor" # [<bool>] #Option "Dac6Bit" # [<bool>] #Option "Dac8Bit" # [<bool>] #Option "BusType" # [<str>] #Option "CPPIOMode" # [<bool>] #Option "CPusecTimeout" # <i> #Option "AGPMode" # <i> #Option "AGPFastWrite" "True" # [<bool>] #Option "AGPSize" # <i> #Option "GARTSize" # <i> #Option "RingSize" # <i> #Option "BufferSize" # <i> #Option "EnableDepthMoves" # [<bool>] #Option "EnablePageFlip" # [<bool>] #Option "NoBackBuffer" # [<bool>] #Option "DMAForXv" # [<bool>] #Option "PanelOff" # [<bool>] #Option "DDCMode" # [<bool>] #Option "MonitorLayout" # [<str>] #Option "IgnoreEDID" # [<bool>] #Option "UseFBDev" # [<bool>] #Option "MergedFB" # [<bool>] #Option "CRT2HSync" # [<str>] #Option "CRT2VRefresh" # [<str>] #Option "CRT2Position" # [<str>] #Option "MetaModes" # [<str>] #Option "MergedDPI" # [<str>] #Option "MergedXinerama" # [<bool>] #Option "MergedXineramaCRT2IsScreen0" # [<bool>] #Option "MergedNonRectangular" # [<bool>] #Option "MergedMouseRestriction" # [<bool>] #Option "DisplayPriority" # [<str>] #Option "PanelSize" # [<str>] #Option "ForceMinDotClock" # <freq> #Option "ColorTiling" # [<bool>] #Option "VideoKey" # <i> #Option "RageTheatreCrystal" # <i> #Option "RageTheatreTunerPort" # <i> #Option "RageTheatreCompositePort" # <i> #Option "RageTheatreSVideoPort" # <i> #Option "TunerType" # <i> #Option "RageTheatreMicrocPath" # <str> #Option "RageTheatreMicrocType" # <str> #Option "RenderAccel" # [<bool>] #Option "SubPixelOrder" # [<str>] #Option "ShowCache" # [<bool>] #Option "DynamicClocks" # [<bool>] #Option "BIOSHotkeys" # [<bool>] #Option "VGAAccess" # [<bool>] #Option "ReverseDDC" # [<bool>] #Option "LVDSProbePLL" # [<bool>] #Option "AccelMethod" # <str> 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: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional Option "NoAccel" "True" # [<bool>] #Option "SWcursor" # [<bool>] #Option "Dac6Bit" # [<bool>] #Option "Dac8Bit" # [<bool>] #Option "BusType" # [<str>] #Option "CPPIOMode" # [<bool>] #Option "CPusecTimeout" # <i> #Option "AGPMode" # <i> #Option "AGPFastWrite" "True" # [<bool>] #Option "AGPSize" # <i> #Option "GARTSize" # <i> #Option "RingSize" # <i> #Option "BufferSize" # <i> #Option "EnableDepthMoves" # [<bool>] #Option "EnablePageFlip" # [<bool>] #Option "NoBackBuffer" # [<bool>] #Option "DMAForXv" # [<bool>] #Option "PanelOff" # [<bool>] #Option "DDCMode" # [<bool>] #Option "MonitorLayout" # [<str>] #Option "IgnoreEDID" # [<bool>] #Option "UseFBDev" # [<bool>] #Option "MergedFB" # [<bool>] #Option "CRT2HSync" # [<str>] #Option "CRT2VRefresh" # [<str>] #Option "CRT2Position" # [<str>] #Option "MetaModes" # [<str>] #Option "MergedDPI" # [<str>] #Option "MergedXinerama" # [<bool>] #Option "MergedXineramaCRT2IsScreen0" # [<bool>] #Option "MergedNonRectangular" # [<bool>] #Option "MergedMouseRestriction" # [<bool>] #Option "DisplayPriority" # [<str>] #Option "PanelSize" # [<str>] #Option "ForceMinDotClock" # <freq> #Option "ColorTiling" # [<bool>] #Option "VideoKey" # <i> #Option "RageTheatreCrystal" # <i> #Option "RageTheatreTunerPort" # <i> #Option "RageTheatreCompositePort" # <i> #Option "RageTheatreSVideoPort" # <i> #Option "TunerType" # <i> #Option "RageTheatreMicrocPath" # <str> #Option "RageTheatreMicrocType" # <str> #Option "RenderAccel" # [<bool>] #Option "SubPixelOrder" # [<str>] #Option "ShowCache" # [<bool>] #Option "DynamicClocks" # [<bool>] #Option "BIOSHotkeys" # [<bool>] #Option "VGAAccess" # [<bool>] #Option "ReverseDDC" # [<bool>] #Option "LVDSProbePLL" # [<bool>] #Option "AccelMethod" # <str> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?loom.20070929T132156-324>