GNOME 3 Fails to launch at boot up

PacketMan

Aspiring Daemon

Reaction score: 144
Messages: 895

Ok now were getting further. :) Are you using x11/gdm to log into GNOME or starting your Xsession from the command line using startx(1)? It looks like sysutils/consolekit isn't being started which is required for x11/gnome-shell to function I think. It should be started automatically if your using gdm. If your using startx(1), you'll need to add the following to your ~/.xinitrc file:
Code:
exec ck-launch-session dbus-launch --exit-with-session /usr/local/bin/gnome-session
instead of just
Code:
exec /usr/local/bin/gnome-session
before running startx. Hopefully this helps.
Tried this and same result: white screen with sad face and text "oh no something has gone wrong......" I'll pick at this again soon.
 

PacketMan

Aspiring Daemon

Reaction score: 144
Messages: 895

I'm gonna take a little break from this. As a side note, I've guess I misunderstood something. I'm sure I've read many times, when setting up Xorg, "do not do Xorg -configure, there is no need to do it". I've decided to take one of my machines and try to make it a customized slick XFCE based desktop. I was ready to fling the thing in the woods. I could not get XFCE to work despite having done it a few times now. I chose not to do Xorg -configure saying to myself, the forum folks say don't do it its not needed. Anyway after hours of going down what seemed to be the same path as I am here with GNOME 3 I decided to do Xorg -configure, and copy the file, etc. XFCE now works!! So I tried it for for my GNOME3 machine and still same white page with sad face.

Really wondering if I should go out and buy a certain flavour of NVIDIA card in hopes that would get this working, but I don't know if this is my problem root cause, and if it was what one would I buy.
 

protocelt

Daemon

Reaction score: 408
Messages: 1,253

PacketMan, I misread what you've posted before. My apologies for that. I need to pay more attention to what I'm reading instead of skimming through threads. :(

That said, after re-reading what you've posted, it looks like we're kind of jumping around here. It's hard to tell here whether your having a problem with ports/packages maintenance or a graphics problem causing this issue. Not initializing the GLX extension in your log looks telling. It looks like your using pretty old hardware here. The integrated Nvidia 6100 GPU in your motherboard is about 10 years old at this point so that could be an issue but I don't know. I do have an old MSI socket AM2 motherboard with that same chipset and integrated GPU here but unfortunately don't have any compatible RAM that will fit in it to put it together and test at this time(It's on my list of things to do). Are you by chance mixing ports and packages? If so that can cause a myriad of problems and maybe you would want to sort that out first and then come back to this?
 

PacketMan

Aspiring Daemon

Reaction score: 144
Messages: 895

PacketMan, I misread what you've posted before. My apologies for that. I need to pay more attention to what I'm reading instead of skimming through threads. :(
.........
Are you by chance mixing ports and packages?
No worries protocelt. In this day of text overload it happens to all of us. To answer your question: On this machine. No. Pure ports all the way. I don't consider 10 years to be old hardware, but this seems to be a weakness of FreeBSD, the window of supported hardware seems to be narrower than what other OSs can do. (These and other 10 year old machines I've had up and running Linux/GUI in 30 minutes easy peesy.) I have been mixing ports and pkgs on another machine, just to learn, and so far nothing seems to have gone wrong, (except of course trying to get GNOME3 going). I update the ports tree frequent, use pkg_libchk and portmaster multiple times during a program install, and so far so good. But time will tell.

I can get XFCE and KDE4 up and going on this machine, so what is so fundamentally different about GNOME3? Is there a new decent 'general purpose' video card you know works with FreeBSD and GNOME3? And perhaps lastly I could ask: what log message should I look for to be the silver bullet to confirm that its a video card problem?

If there was a rock solid web page on installing GNOME3 on FreeBSD I would use it, but I have been unable to find it.
 

protocelt

Daemon

Reaction score: 408
Messages: 1,253

I'm not really sure what the problem your having with GNOME is to be honest, sorry. I do know that I installed it last week using the default package repository using all defaults and it did seem work for me. The only thing I noticed was a 10 to 15 second delay between the console coming up after booting and x11/gdm starting and logout and shutdown options were available but didn't seem to work(maybe related?). I don't know if the delay is normal or not but didn't look into it as I use only x11-wm/awesome or x11/kde4 depending on what I'm doing. As far as graphics cards go, any Nvidia card you buy from a store now should work. I have run into none that I've had a problem with so far. I agree a wiki page or similar for GNOME configuration on FreeBSD would nice.
 

PacketMan

Aspiring Daemon

Reaction score: 144
Messages: 895

Right on, thanks protocelt, fair enough. I'm going to try and borrow a video card and see where that takes me. Good way to learn though.
 

PacketMan

Aspiring Daemon

Reaction score: 144
Messages: 895

Working!! Now I just need to consider better capable hardware. It actually works pretty darn good considering it only has 1GB of ram and a old single core 64bit cpu. Borrowed an ZOTAC NVIDEA GT 640 card. Reboot and still got sad face. So I went through all the bits n pieces again.

I can't say thank you enough for your support through this. I might have a nice desktop up and running, but the more important thing is I learned a lot through this. Will have to do a brain dump later and make some notes.

My config:

/boot/loader.conf
Code:
nvidia_load="YES"
linux_enable="YES"
/etc/rc.conf
Code:
hald_enable="YES"
dbus_enable="YES"
gdm_enable="YES"
gnome_enable="YES"
My driver:
x11/nvidia-driver
I compiled the driver without a linux emulator option though.

Note I had to do section 6.5 in the handbook to get this to work.
Xorg -configure
I had already deleted the previous file, and then did cp /root/xorg.conf.new /etc/X11/xorg.conf

So I have:
/etc/X11/xorg.conf
Code:
Section "ServerLayout"
  Identifier  "X.org Configured"
  Screen  0  "Screen0" 0 0
  Screen  1  "Screen1" RightOf "Screen0"
  Screen  2  "Screen2" RightOf "Screen1"
  Screen  3  "Screen3" RightOf "Screen2"
  InputDevice  "Mouse0" "CorePointer"
  InputDevice  "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  ModulePath  "/usr/local/lib/xorg/modules"
  FontPath  "/usr/local/share/fonts/misc/"
  FontPath  "/usr/local/share/fonts/TTF/"
  FontPath  "/usr/local/share/fonts/OTF/"
  FontPath  "/usr/local/share/fonts/Type1/"
  FontPath  "/usr/local/share/fonts/100dpi/"
  FontPath  "/usr/local/share/fonts/75dpi/"
EndSection

Section "Module"
  Load  "glx"
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  "Monitor Vendor"
  ModelName  "Monitor Model"
EndSection

Section "Monitor"
  Identifier  "Monitor1"
  VendorName  "Monitor Vendor"
  ModelName  "Monitor Model"
EndSection

Section "Monitor"
  Identifier  "Monitor2"
  VendorName  "Monitor Vendor"
  ModelName  "Monitor Model"
EndSection

Section "Monitor"
  Identifier  "Monitor3"
  VendorName  "Monitor Vendor"
  ModelName  "Monitor Model"
EndSection

Section "Device"
  ### Available Driver options are:-
  ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
  ### <percent>: "<f>%"
  ### [arg]: arg optional
  #Option  "SWcursor"  # [<bool>]
  #Option  "HWcursor"  # [<bool>]
  #Option  "NoAccel"  # [<bool>]
  #Option  "ShadowFB"  # [<bool>]
  #Option  "UseFBDev"  # [<bool>]
  #Option  "Rotate"  # [<str>]
  #Option  "VideoKey"  # <i>
  #Option  "FlatPanel"  # [<bool>]
  #Option  "FPDither"  # [<bool>]
  #Option  "CrtcNumber"  # <i>
  #Option  "FPScale"  # [<bool>]
  #Option  "FPTweak"  # <i>
  #Option  "DualHead"  # [<bool>]
  Identifier  "Card0"
  Driver  "nv"
  BusID  "PCI:2:0:0"
EndSection

Section "Device"
  Identifier  "Card1"
  Driver  "nvidia"
  BusID  "PCI:2:0:0"
EndSection

Section "Device"
  ### Available Driver options are:-
  ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
  ### <percent>: "<f>%"
  ### [arg]: arg optional
  #Option  "ShadowFB"  # [<bool>]
  #Option  "Rotate"  # <str>
  #Option  "fbdev"  # <str>
  #Option  "debug"  # [<bool>]
  Identifier  "Card2"
  Driver  "fbdev"
  BusID  "PCI:2:0:0"
EndSection

Section "Device"
  ### Available Driver options are:-
  ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
  ### <percent>: "<f>%"
  ### [arg]: arg optional
  #Option  "ShadowFB"  # [<bool>]
  #Option  "DefaultRefresh"  # [<bool>]
  #Option  "ModeSetClearScreen"  # [<bool>]
  Identifier  "Card3"
  Driver  "vesa"
  BusID  "PCI:2:0:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device  "Card0"
  Monitor  "Monitor0"
  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
  EndSubSection
EndSection

Section "Screen"
  Identifier "Screen1"
  Device  "Card1"
  Monitor  "Monitor1"
  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
  EndSubSection
EndSection

Section "Screen"
  Identifier "Screen2"
  Device  "Card2"
  Monitor  "Monitor2"
  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
  EndSubSection
EndSection

Section "Screen"
  Identifier "Screen3"
  Device  "Card3"
  Monitor  "Monitor3"
  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
  EndSubSection
EndSection
 
Top