Fw: Re: Update:Xorg build and performance.

Justin P. Mattock justinmattock at gmail.com
Mon Apr 26 06:39:08 PDT 2010


On 04/26/2010 12:33 AM, Alex Deucher wrote:
> On Mon, Apr 26, 2010 at 3:20 AM, Justin P. Mattock
> <justinmattock at gmail.com>  wrote:
>> On 04/25/2010 11:30 PM, Super Biscuit wrote:
>>>
>>> Please read all of this.
>>>
>>> --- On *Sun, 4/25/10, Super Biscuit /<super_bisquit at yahoo.com>/* wrote:
>>>
>>>
>>>     From: Super Biscuit<super_bisquit at yahoo.com>
>>>     Subject: Re: Update:Xorg build and performance.
>>>     To: "Nathan Whitehorn"<nwhitehorn at freebsd.org>
>>>     Cc: freebsd-ppc at freebsd.org
>>>     Date: Sunday, April 25, 2010, 10:38 PM
>>>
>>>
>>>
>>>     --- On *Sun, 4/25/10, Nathan Whitehorn /<nwhitehorn at freebsd.org>/*
>>>     wrote:
>>>
>>>
>>>         From: Nathan Whitehorn<nwhitehorn at freebsd.org>
>>>         Subject: Re: Update:Xorg build and performance.
>>>         To: "Super Biscuit"<super_bisquit at yahoo.com>
>>>         Cc: freebsd-ppc at freebsd.org
>>>         Date: Sunday, April 25, 2010, 10:23 PM
>>>
>>>         On 04/25/10 16:40, Super Biscuit wrote:
>>>>
>>>>
>>>>         --- On *Sun, 4/25/10, Nathan Whitehorn
>>>>         /<nwhitehorn at freebsd.org>/* wrote:
>>>>
>>>>
>>>>             From: Nathan Whitehorn<nwhitehorn at freebsd.org>
>>>>             Subject: Re: Update:Xorg build and performance.
>>>>             To: "Super Biscuit"<super_bisquit at yahoo.com>
>>>>             Date: Sunday, April 25, 2010, 9:21 PM
>>>>
>>>>             On 04/25/10 16:06, Super Biscuit wrote:
>>>>>
>>>>>
>>>>>             --- On *Sun, 4/25/10, Nathan Whitehorn
>>>>>             /<nwhitehorn at freebsd.org>/* wrote:
>>>>>
>>>>>
>>>>>                 From: Nathan Whitehorn<nwhitehorn at freebsd.org>
>>>>>                 Subject: Re: Update:Xorg build and performance.
>>>>>                 To: "Super Biscuit"<super_bisquit at yahoo.com>
>>>>>                 Date: Sunday, April 25, 2010, 8:38 PM
>>>>>
>>>>>                 On 04/25/10 15:16, Super Biscuit wrote:
>>>>>>
>>>>>>
>>>>>>                 --- On *Sun, 4/25/10, Nathan Whitehorn
>>>>>>                 /<nwhitehorn at freebsd.org>/* wrote:
>>>>>>
>>>>>>
>>>>>>                     From: Nathan Whitehorn<nwhitehorn at freebsd.org>
>>>>>>                     Subject: Re: Update:Xorg build and performance.
>>>>>>                     To: "Super Biscuit"<super_bisquit at yahoo.com>
>>>>>>                     Date: Sunday, April 25, 2010, 6:53 PM
>>>>>>
>>>>>>                     Super Biscuit wrote:
>>>>>>                     >
>>>>>>                     >
>>>>>>                     >  --- On *Sun, 4/25/10, Nathan Whitehorn
>>>>>>                     /<nwhitehorn at freebsd.org>/* wrote:
>>>>>>                     >
>>>>>>                     >
>>>>>>                     >  From: Nathan Whitehorn<nwhitehorn at freebsd.org>
>>>>>>                     >  Subject: Re: Update:Xorg build and performance.
>>>>>>                     >  To: "Super Biscuit"<super_bisquit at yahoo.com>
>>>>>>                     >  Cc: "Garrett Cooper"<yanefbsd at gmail.com>,
>>>>>>                     freebsd-ppc at freebsd.org
>>>>>>                     >  Date: Sunday, April 25, 2010, 3:09 PM
>>>>>>                     >
>>>>>>                     >  Super Biscuit wrote:
>>>>>>                     >  >  --- On Sat, 4/24/10, Garrett Cooper
>>>>>>                     <yanefbsd at gmail.com
>>>>>>                     >  </mc/compose?to=yanefbsd at gmail.com>>  wrote:
>>>>>>                     >  >
>>>>>>                     >  >  From: Garrett Cooper<yanefbsd at gmail.com
>>>>>>                     >  </mc/compose?to=yanefbsd at gmail.com>>
>>>>>>                     >  >  Subject: Re: Update:Xorg build and performance.
>>>>>>                     >  >  To: "Super Biscuit"<super_bisquit at yahoo.com
>>>>>>                     >  </mc/compose?to=super_bisquit at yahoo.com>>
>>>>>>                     >  >  Date: Saturday, April 24, 2010, 10:12 AM
>>>>>>                     >  >
>>>>>>                     >  >  On Sat, Apr 24, 2010 at 2:57 AM, Super Biscuit
>>>>>>                     >  <super_bisquit at yahoo.com
>>>>>>                     </mc/compose?to=super_bisquit at yahoo.com>>
>>>>>>                     >  wrote:
>>>>>>                     >  >  >>  --- On Fri, 4/23/10, Olivier Gautherot
>>>>>>                     <olivier at gautherot.net
>>>>>>                     >  </mc/compose?to=olivier at gautherot.net>>  wrote:
>>>>>>                     >  >>
>>>>>>                     >  >>  From: Olivier Gautherot<olivier at gautherot.net
>>>>>>                     >  </mc/compose?to=olivier at gautherot.net>>
>>>>>>                     >  >>  Subject: Re: Update:Xorg build and performance.
>>>>>>                     >  >>  To: "Super Biscuit"<super_bisquit at yahoo.com
>>>>>>                     >  </mc/compose?to=super_bisquit at yahoo.com>>
>>>>>>                     >  >>  Cc: "Nathan Whitehorn"<nwhitehorn at freebsd.org
>>>>>>                     >  </mc/compose?to=nwhitehorn at freebsd.org>>,
>>>>>>                     freebsd-ppc at freebsd.org
>>>>>>                     >  </mc/compose?to=freebsd-ppc at freebsd.org>
>>>>>>                     >  >>  Date: Friday, April 23, 2010, 8:06 PM
>>>>>>                     >  >>
>>>>>>                     >  >>  Hi,
>>>>>>                     >  >>
>>>>>>                     >  >>  On Fri, Apr 23, 2010 at 3:55 PM, Super Biscuit
>>>>>>                     >  <super_bisquit at yahoo.com
>>>>>>                     </mc/compose?to=super_bisquit at yahoo.com>>
>>>>>>                     >  wrote:
>>>>>>                     >  >>
>>>>>>                     >  >>
>>>>>>                     >  >>  Xorg still does not start.
>>>>>>                     >  >>
>>>>>>                     >  >>  No screens found
>>>>>>                     >  >>
>>>>>>                     >  >>  I added then removed the fbdev.
>>>>>>                     >  >>
>>>>>>                     >  >>  Will I need to compile Xorg without fbdev?
>>>>>>                     >  >>
>>>>>>                     >  >>  The file xorg.conf is non existent on my system
>>>>>>                     >  >>
>>>>>>                     >  >>  If you need more information, tell me.
>>>>>>                     >  >>
>>>>>>                     >  >>  For some reason, Xorg is lacking a device
>>>>>>                     or something -
>>>>>>                     >  basically, it does not find a refresh mode
>>>>>>                     compatible with your
>>>>>>                     >  graphics card and your screen. Could you post
>>>>>>                     your xorg.log somewhere?
>>>>>>                     >  >>
>>>>>>                     >  >>
>>>>>>                     >  >>
>>>>>>                     >  >>  Cheers
>>>>>>                     >  >>  --
>>>>>>                     >  >>  Olivier Gautherot
>>>>>>                     >  >>  olivier at gautherot.net
>>>>>>                     </mc/compose?to=olivier at gautherot.net>
>>>>>>                     >  >>
>>>>>>                     >  >>
>>>>>>                     >  >>  I'll post right after I get pastebin installed.
>>>>>>                     >  >>  Thanks for replying.
>>>>>>                     >  >>  >
>>>>>>                     >  >  http://pastebin.com/ (no installation required)?
>>>>>>                     >  >  -Garrett
>>>>>>                     >  >
>>>>>>                     >  >
>>>>>>                     >  >  I had to reinstall 9.0 SNAPHOT.
>>>>>>                     >  >  Here i the pastebin url.
>>>>>>                     >  >
>>>>>>                     >  >  http://slexy.org/view/s20QpUxwW3
>>>>>>                     >  >
>>>>>>                     >  >  The author name is moleque. I also did not
>>>>>>                     install the
>>>>>>                     >  framebuffer, vesa, or dummy drivers this time.
>>>>>>                     >  >
>>>>>>                     >  >  Thanks for replying.
>>>>>>                     >  >  What modules did you install? It looks like
>>>>>>                     you may not have
>>>>>>                     >  installed
>>>>>>                     >  any. You need at least a driver for your
>>>>>>                     graphics card
>>>>>>                     >  (xf86-video-r128)
>>>>>>                     >  and the keyboard and mouse drivers.
>>>>>>                     >  -Nathan
>>>>>>                     >
>>>>>>                     >
>>>>>>                     >  I've installed, deinstalled, and reinstalled
>>>>>>                     the r128 driver.
>>>>>>                     >  Mouse works because I can see the pointer in
>>>>>>                     the console. Keyboard
>>>>>>                     >  works.
>>>>>>                     >
>>>>>>                     >  Here is my xorg.conf
>>>>>>                     >  http://slexy.org/view/s2RSRtoWae submitted as
>>>>>>                     moleque.
>>>>>>                     >
>>>>>>                     >  Is the fbdev required for the G series?
>>>>>>                     >
>>>>>>                     >
>>>>>>                     FBdev is something that exists only on Linux,
>>>>>>                     and is both unnecessary and cannot be used on
>>>>>>                     FreeBSD.
>>>>>>
>>>>>>                     You do need to install the X11 keyboard and
>>>>>>                     mouse drivers to interface with the FreeBSD
>>>>>>                     console drivers, and you should check that the
>>>>>>                     sysctl hw.ofwfb.relax_mmap is 1. Your xorg.conf
>>>>>>                     looks basically identical to mine. Did you
>>>>>>                     change anything since the last X server log you
>>>>>>                     sent out?
>>>>>>                     -Nathan
>>>>>>
>>>>>>                     I tried using ati as the driver then switched it
>>>>>>                     back to r128. I reinstalled r128. Pkg_info |grep
>>>>>>                     xf86 lists the keyboard and mouse drivers as
>>>>>>                     already installed.
>>>>>>                     When I type dmesg|grep pci it lists the address
>>>>>>                     for the card as a vgapci.
>>>>>>                     Which log message or system file do you need me
>>>>>>                     to send?
>>>>>>
>>>>>>
>>>>>                 Xorg.0.log with logverbose set to 9.
>>>>>                 -Nathan
>>>>>
>>>>>                 I did startx -- -logverbose 9 -logfile
>>>>>                 /var/log/Xorg.0.log
>>>>>
>>>>>                 And sent the results to http://slexy.org/view/s2IF73TSxW
>>>>>
>>>>>                 Thanks for helping me through this.
>>>>>
>>>>>
>>>>             Add "AllowEmptyInput" "Off" in your "ServerLayout" section?
>>>>             -Nathan
>>>>
>>>>             Okay, I fixed the log error. My apologies about that. What
>>>>             remains is "no screens found.'
>>>>             I also restarted dbus and hal.
>>>>
>>>>
>>>         Is it actually loading the r128 module? The last log you sent
>>>         didn't have it. You may also get better luck asking on freebsd-x11@
>>>         -Nathan
>>>
>>>
>>>         I've joined the x11 list and sent the links .
>>>         Thank you for helping me through this.
>>>
>>>     Here is the entire conversation with links.
>>>
>>>
>>
>>
>> cool.. looking at the log files
>> (not sure if you fixed this or not),but this:
>>
>> (II) Loading extension DRI2
>> (II) LoadModule: "fbdev"
>> (WW) Warning, couldn't open module fbdev
>> (II) UnloadModule: "fbdev"
>> (EE) Failed to load module "fbdev" (module does not exist, 0)
>> (EE) No drivers available.
>> Fatal server error:
>> no screens found
>>
>> if you look in:
>> /usr/lib/xorg/modules/* (or wherever your os is putting them)
>> there should be a library
>> that is called fbdev.. if not you need to install
>> http://cgit.freedesktop.org/xorg/driver/xf86-video-fbdev/
>>
>> hope this helps.
>>
>
> *bsd doesn't support the Linux fbdev interface.  You need to add:
> Option "UseFBdev" "False"
> to the device section of your xorg config.
>
> Alex

ahh.. I knew there was something todo in xorg.conf
but didn't know how..(thanks for the info).

Justin P. Mattock



More information about the xorg mailing list