Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2007 08:17:52 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Xorg on FreeBSD does not work
Message-ID:  <45D487B0.4060403@u.washington.edu>
In-Reply-To: <20070215091832.5877929e.wmoran@collaborativefusion.com>
References:  <2b5834fa0702142114v5e2d37b0t30eef03c892b9819@mail.gmail.com>	<499c70c0702142202m74264384k3d36bd70e326a961@mail.gmail.com>	<14989d6e0702150010v799dc698n93e2ac003e8d77bd@mail.gmail.com>	<2b5834fa0702150054r33e4be56xd93c3e1ba0fad3d5@mail.gmail.com> <20070215091832.5877929e.wmoran@collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Moran wrote:
> In response to "Neeraj Sharma" <neeraj.dl@gmail.com>:
> 
>> I tried copying my xorg.conf from Ubuntu (which automatically probes
>> everything and creates a xorg.conf) and tried to use on FreeBSD. But still
>> it hangs... I wonder if its because some drivers are missing in FreeBSD for
>> my monitor. My laptop has ATI Radeon 9000IGP in case that rings a bell to
>> someone in the same situation as me b4.
> 
> Are you sure it's "hanging"?  Have you tried CTRL+ALT+BACKSPACE to get
> out?  Do you have a mouse cursor?
> 
> Before you fsck around randomly, check X's log files in /var/log/.  I've
> found them to be incredibly verbose, but frequently helpful.
> 
>> Here is xorg.conf from my Ubuntu Install
>> # /etc/X11/xorg.conf (xorg X Window System server configuration file)
>> #
>> # This file was generated by dexconf, the Debian X Configuration tool, using
>> # values from the debconf database.
>> #
>> # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
>> # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
>> #
>> # This file is automatically updated on xserver-xorg package upgrades *only*
>> # if it has not been modified since the last upgrade of the xserver-xorg
>> # package.
>> #
>> # If you have edited this file but would like it to be automatically updated
>> # again, run the following commands:
>> #
>> #   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
>> #   sudo sh -c 'md5sum /etc/X11/xorg.conf
>>> /var/lib/xfree86/xorg.conf.md5sum'
>> #   sudo dpkg-reconfigure xserver-xorg
>>
>> Section "Files"
>>     FontPath    "unix/:7100"            # local font server
>>     # if the local font server has problems, we can fall back on these
>>     FontPath    "/usr/lib/X11/fonts/misc"
>>     FontPath    "/usr/lib/X11/fonts/cyrillic"
>>     FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
>>     FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
>>     FontPath    "/usr/lib/X11/fonts/Type1"
>>     FontPath    "/usr/lib/X11/fonts/CID"
>>     FontPath    "/usr/lib/X11/fonts/100dpi"
>>     FontPath    "/usr/lib/X11/fonts/75dpi"
>>         # paths to defoma fonts
>>     FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
>>     FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
>> EndSection
>>
>> Section "Module"
>>     Load    "bitmap"
>>     Load    "dbe"
>>     Load    "ddc"
>>     Load    "dri"
>>     Load    "extmod"
>>     Load    "freetype"
>>     Load    "glx"
>>     Load    "int10"
>>     Load    "record"
>>     Load    "type1"
>>     Load    "vbe"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier    "Generic Keyboard"
>>     Driver        "keyboard"
>>     Option        "CoreKeyboard"
>>     Option        "XkbRules"    "xorg"
>>     Option        "XkbModel"    "pc104"
>>     Option        "XkbLayout"    "us"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier    "Configured Mouse"
>>     Driver        "mouse"
>>     Option        "CorePointer"
>>     Option        "Device"        "/dev/input/mice"
>>     Option        "Protocol"        "ImPS/2"
>>     Option        "Emulate3Buttons"    "true"
>>     Option        "ZAxisMapping"        "4 5"
>> EndSection
>> Section "InputDevice"
>>         Identifier      "Synaptics Touchpad"
>>         Driver          "synaptics"
>>         Option          "SendCoreEvents"        "true"
>>         Option          "Device"                "/dev/psaux"
>>         Option          "Protocol"              "auto-dev"
>>         Option        "HorizScrollDelta"    "0"
>> EndSection
>>
>> Section "Device"
>>     Identifier    "ATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
>> IGP)"
>>     Driver        "ati"
>>     BusID        "PCI:1:5:0"
>> EndSection
>>
>> Section "Monitor"
>>     Identifier    "Generic Monitor"
>>     Option        "DPMS"
>>     Modeline    "1280x800@60" 83.91 1280 1312 1624 1656 800 816 824 841
>> EndSection
>>
>> Section "Screen"
>>     Identifier    "Default Screen"
>>     Device        "ATI Technologies, Inc. Radeon Mobility 9100 U3 (R200
>> IGP)"
>>     Monitor        "Generic Monitor"
>>     DefaultDepth    24
>>     SubSection "Display"
>>         Depth        1
>>         Modes        "1280x800"
>>     EndSubSection
>>     SubSection "Display"
>>         Depth        4
>>         Modes        "1280x800"
>>     EndSubSection
>>     SubSection "Display"
>>         Depth        8
>>         Modes        "1280x800"
>>     EndSubSection
>>     SubSection "Display"
>>         Depth        15
>>         Modes        "1280x800"
>>     EndSubSection
>>     SubSection "Display"
>>         Depth        16
>>         Modes        "1280x800"
>>     EndSubSection
>>     SubSection "Display"
>>         Depth        24
>>         Modes        "1280x800"
>>     EndSubSection
>> EndSection
>>
>> Section "ServerLayout"
>>     Identifier    "Default Layout"
>>     Screen        "Default Screen"
>>     InputDevice    "Generic Keyboard"
>>     InputDevice    "Configured Mouse"
>>     InputDevice    "Synaptics Touchpad"
>> EndSection
>>
>> Section "DRI"
>>     Mode    0666
>> EndSection
>>
>>
>> Thanks for the help!
>>
>> Neeraj
>>
>>
>> On 2/15/07, Christian Walther <cptsalek@gmail.com> wrote:
>>> On 15/02/07, Abdullah Ibn Hamad Al-Marri <almarrie@gmail.com> wrote:
>>>> On 2/15/07, Neeraj Sharma <neeraj.dl@gmail.com> wrote:
>>>>> I am a newbie to FreeBSD world. I am trying to install FreeBSD6.2 on
>>> my HP
>>>>> zv5240us laptop. Everything else went off fine except the X config. I
>>> ran
>>>>> the command X -configure which created a xorg.conf.new file. When I
>>> use that
>>>>> to run X it just shows a blank screen and I am not able to go back to
>>> the
>>>>> console also.
>>>>>
>>>>> I tried playing around with the parameters in xorg.conf.new file but
>>> without
>>>>> success. If anyone can help me with this it will be great...
>>>>>
>>>>> --
>>>>> Thanks & Regards,
>>>>> Neeraj Sharma
>>>> That is alright to show you xorg works or not.
>>> Yes, a blank screen and a locked keyboard is a perfect description of
>>> an X configuration that isn't working. ;-)
>>>
>>>> After doing that press ctrl+alt+backspace
>>>>
>>>> Then #cp /root/xorg.conf.new /etc/X11/xorg.conf then type startx or
>>>> reboot your notebook.
>>> Sorry for correcting, but this is not adviseable at this point. His X
>>> isn't working obviously, so installing xorg.conf into the right place
>>> would lead to more problems, without solving anything.
>>> He can do so when the X configuration is working.
>>>
>>>> --
>>>> Regards,
>>>>
>>>> -Abdullah Ibn Hamad Al-Marri
>>>> Arab Portal
>>>> http://www.WeArab.Net/
>>> Regards
>>> Christian
>>>
>>
>>
>> -- 
>> Thanks & Regards,
>> Neeraj Sharma

The only thing I can see right offhand based on your emails is that you 
are using the ati driver. Now, correct me if I'm wrong but I thought 
that this driver didn't function nearly as well as it does under Linux, 
esp with the newer cards (driver's outdated in FreeBSD). Have you tried 
a safer setup, like vesa first to see whether or not X loads?

Bill's right too--you should check your X logs.

-Garrett



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