Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th November 2009
gpatrick gpatrick is offline
Package Pilot
Join Date: Nov 2009
Posts: 148
Thanked 0 Times in 0 Posts
Default Xorg hangs on exit

Using OpenBSD 4.6 on a Toshiba satellite L505D-S5983 laptop. At first when I tried to start X it would give me a black screen and the entire machine would freeze. Only a hard reset would work. It uses the radeonhd driver and ATI card.

I tried (using all combinations):
Option "DRI" "True"
Option "UseAtomBIOS" "True"
Option "AtomBIOS" "pll=on"

Found one forum where someone had the exact problem and solved it using the option "UseAtomBIOS" but that doesn't work for me.

Only when I switched the driver to vesa does X start and I have a working display. The only problem is when I try to exit, it closes all apps and then hangs. Nothing in the log file indicating a problem when using the vesa driver at exit. Nothing in the log file at all when using the radeonhd driver.

My /etc/X11/xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

Section "Files"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/OTF"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"

Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "freetype"

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
Option "ZAxisMapping" "4 5 6 7"

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"

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 "AccelMethod" # [<str>]
#Option "offscreensize" # [<str>]
#Option "SWcursor" # [<bool>]
#Option "ignoreconnector" # [<str>]
#Option "forcereduced" # [<bool>]
#Option "forcedpi" # <i>
#Option "useconfiguredmonitor" # [<bool>]
#Option "HPD" # <str>
#Option "NoRandr" # [<bool>]
#Option "RROutputOrder" # [<str>]
#Option "DRI" # [<bool>]
#Option "TVMode" # [<str>]
#Option "ScaleType" # [<str>]
#Option "UseAtomBIOS" # [<bool>]
#Option "AtomBIOS" # [<str>]
#Option "UnverifiedFeatures" # [<bool>]
#Option "Audio" # [<bool>]
#Option "HDMI" # [<str>]
#Option "COHERENT" # [<str>]
Identifier "Card0"
#Driver "radeonhd"
Driver "vesa"
VendorName "ATI"
BoardName "Unknown Board"
BusID "PCI:1:5:0"

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
SubSection "Display"
Viewport 0 0
Depth 4
SubSection "Display"
Viewport 0 0
Depth 8
SubSection "Display"
Viewport 0 0
Depth 15
SubSection "Display"
Viewport 0 0
Depth 16
SubSection "Display"
Viewport 0 0
Depth 24

Last edited by gpatrick; 26th November 2009 at 07:56 AM. Reason: add laptop model
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
make build hangs chill OpenBSD Installation and Upgrading 5 2nd April 2009 05:03 PM
openbsd hangs momentarily at boot bogd OpenBSD General 11 9th January 2009 02:53 PM
FreeBSD hangs on boot Bubba_HoTep FreeBSD General 3 29th November 2008 10:25 PM
FreeBSD 7.0 hangs with USB disk drive. map7 FreeBSD General 7 9th August 2008 03:02 AM
Warning error every exit of X aleunix OpenBSD Packages and Ports 2 6th June 2008 08:46 PM

All times are GMT. The time now is 11:33 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick