PDA

View Full Version : [Solved] can not run gnome, possible xorg problem or something else?


admail2
June 30th, 2009, 12:56
The video card is "ATI ES1000"


# lspci
06:05.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)


Please help me to check the problem, thanks so much. :(:(
I'm following X11 document but I could not run gnome, what I did was:


Xorg -configure
# black screen

Xorg -config xorg.conf.new -retro
# I can see a black and grey grid and an X mouse cursor appear,but can not move X mouse cursor.



Gnome was installed during I install BSD7.2, by CD. But when I did "startx", it stoped and back to command line, no gnome screen showing up.


# cat .xinitrc
exec gnome-session


xorg.conf in /etc/X11 folder:


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "DontZap" "Off"

EndSection

Section "Files"
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/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load "dbe"
Load "dri"
Load "dri2"
Load "extmod"
Load "glx"
Load "record"
EndSection

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

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

Section "Monitor"
Identifier "Monitor0"
VendorName "AVO"
ModelName "Smart Cable"
HorizSync 30.0 - 95.0
VertRefresh 40.0 - 100.0
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" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<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 "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<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 "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "ES1000"
BusID "PCI:6:5:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection

admail2
June 30th, 2009, 13:00
how can I upload my Xorg.log.0 file?

Thanks,

admail2
June 30th, 2009, 13:06
To check this if you can get it:

http://xdicry.googlepages.com/xorg.log.0

thanks,

adamk
June 30th, 2009, 13:19
There is nothing in your Xorg log file to indicate that X is failing to start up. When you are dropped back to the console after running 'startx' do you get any errors?

Adam

ale
June 30th, 2009, 15:08
For the mouse, read the sticky thread (http://forums.freebsd.org/showthread.php?t=4224) in the X.org forum.

For starting gnome, read the handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html#X11-WM-GNOME-INSTALL

admail2
June 30th, 2009, 15:27
The following is stderr, collected by "startx &> err.log"

It kind of like a dbus problem,


xauth: creating new authority file /root/.serverauth.28356


X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-PRERELEASE i386
Current Operating System: FreeBSD earth.testclub.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 22 April 2009 02:40:51PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 30 21:23:40 2009
(==) Using config file: "/etc/X11/xorg.conf"
XRANDR name: VGA-0
Connector: VGA
CRT1: INTERNAL_DAC1
DDC reg: 0x60
finished output detect: 0
finished all detect
before xf86InitialConfiguration
after xf86InitialConfiguration
Entering TV Save
Save TV timing tables
saveTimingTables: reading timing tables
TV Save done
disable primary dac
disable primary dac
disable primary dac
init memmap
init common
init crtc1
init pll1
freq: 65000000
best_freq: 65000000
best_feedback_div: 130
best_ref_div: 9
best_post_div: 6
restore memmap
restore common
restore crtc1
restore pll1
finished PLL1
set RMX
set primary dac
enable primary dac
gnome-session[28378]: WARNING: Could not connect to ConsoleKit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
gnome-session[28378]: CRITICAL: dbus_g_connection_get_connection: assertion `gconnection' failed
process 28378: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3298.
This is normally a bug in some application using the D-Bus library.
D-Bus not compiled with backtrace support so unable to print a backtrace
gdm[28386]: ******************* START **********************************
gdm[28386]: ******************* END **********************************

waiting for X server to shut down disable primary dac
finished PLL1
Entering Restore TV
Restore TV PLL
Restore TVHV
Restore TV Restarts
Restore Timing Tables
Restore TV standard
Leaving Restore TV

admail2
June 30th, 2009, 15:41
I just enabled dbus and hal in rc.conf, after that, I see gnome desktop, it is resolved.

thanks all.



dbus_enable="YES"
polkitd_enable="YES"
hald_enable="YES"

ale
July 1st, 2009, 00:37
FWIK, polkitd_enable isn't required anymore.