28627 problem with gdm - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Window Managers > GNOME

GNOME The GNOME desktop environment

Reply
 
Thread Tools Display Modes
  #1  
Old February 9th, 2012, 09:20
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default problem with gdm

Dear Friends:

FreeBSD installed properly. But when start gdm for gnome2-lite, problem as:

Code:
**(gdm-binary:1693): WARNING **: Could not acquire name; bailing out
Need help. Thanks in advance.

Last edited by DutchDaemon; February 10th, 2012 at 06:05. Reason: Capitalization: http://en.wikipedia.org/wiki/Capitalization
Reply With Quote
  #2  
Old February 9th, 2012, 11:07
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Set a proper hostname in /etc/rc.conf:
Code:
hostname="something.example.com"
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old February 9th, 2012, 12:05
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Set a proper hostname in /etc/rc.conf:
Code:
hostname="something.example.com"

There's a host name already.

Thanks your help
Reply With Quote
  #4  
Old February 9th, 2012, 12:28
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Make sure both HAL and DBUS are running. Also make sure /proc/ is mounted.

It's also possible it's already running.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
xwwu (February 9th, 2012)
  #5  
Old February 9th, 2012, 12:40
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Make sure both HAL and DBUS are running. Also make sure /proc/ is mounted.

It's also possible it's already running.
rc.conf is:

Code:
hostname="xxx.xxx.xxx.xxx"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
dbus_enable="YES"
hald_enable="YES"
gnome_enable="YES"
gdm_enable="YES"
proc added as your help in fstab:
Code:
proc            /proc           procfs    sw 0       0
but problem is still there.

Last edited by DutchDaemon; February 10th, 2012 at 06:06.
Reply With Quote
  #6  
Old February 9th, 2012, 13:25
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Did you verify it's not already running?

ps -aux | grep gdm
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #7  
Old February 9th, 2012, 13:34
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Did you verify it's not already running?

ps -aux | grep gdm
Code:
# ps -aux | grep gdm
root        1722   0.0  0.0  16424   1404   0  R+    8:33PM  0:00.01 grep gdm
thanks!
Reply With Quote
  #8  
Old February 9th, 2012, 13:40
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

I'm a bit at a loss now.. Is there anything in /var/log/Xorg.0.log or /var/log/messages that might give us a clue?
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #9  
Old February 9th, 2012, 13:57
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
I'm a bit at a loss now.. Is there anything in /var/log/Xorg.0.log or /var/log/messages that might give us a clue?
Yes. The log file is:
Code:
hasee# vi Xorg.0.log

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-RELEASE amd64
Current Operating System: FreeBSD xxx.xxx.xxx.xxx 9.0-RELEASE FreeBSD 9.0-RE
LEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj
/usr/src/sys/GENERIC amd64
Build Date: 09 February 2012  02:57:26PM

Current version of pixman: 0.24.2
        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: Thu Feb  9 20:50:58 2012
(II) Loader magic: 0x7ba500
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 6.0
        X.Org XInput driver : 7.0
        X.Org Server Extension : 2.0
Xorg.0.log: unmodified: line 1

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-RELEASE amd64
Current Operating System: FreeBSD xxx.xxx.xxx.xxx 9.0-RELEASE
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.bu
ffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 09 February 2012  02:57:26PM

Current version of pixman: 0.24.2
        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: Thu Feb  9 20:50:58 2012
(II) Loader magic: 0x7ba500
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 6.0
        X.Org XInput driver : 7.0
        X.Org Server Extension : 2.0
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(!!) More than one possible primary device found
(--) PCI: (0:0:2:0) 8086:0116:152d:0875 Intel Corporation 2nd
 Generation Core Processor Family Integrated Graphics Controller
 rev 9, Mem @ 0xe
2400000/4194304, 0xd8000000/134217728, I/O @ 0x00005000/64, BIOS
 @ 0x????????/65536
(--) PCI: (0:1:0:0) 10de:0dce:152d:0875 NVIDIA Corporation GF106
 [GeForce GT 555M] rev 161, Mem @ 0xe0000000/33554432, 
0xc0000000/268435456, 0xd0000000/67108864, I/O @ 0x00004000/128,
 BIOS @ 0x????????/65536 Primary device is not PCI
(==) Using default built-in configuration (21 lines)
(==) --- Start of built-in configuration ---
        Section "Device"
                Identifier      "Builtin Default vesa Device 0"
                Driver  "vesa"
        EndSection
        Section "Screen"
                Identifier      "Builtin Default vesa Screen 0"
                Device  "Builtin Default vesa Device 0"
        EndSection
        Section "Device"
                Identifier      "Builtin Default fbdev Device 0"
                Driver  "fbdev"
        EndSection
        Section "Screen"
                Identifier      "Builtin Default fbdev Screen 0"
                Device  "Builtin Default fbdev Device 0"
        EndSection
        Section "ServerLayout"
                Identifier      "Builtin Default Layout"
                Screen  "Builtin Default vesa Screen 0"
                Screen  "Builtin Default fbdev Screen 0"
        EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default vesa Screen 0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default vesa Device 0"
(==) No monitor specified for screen "Builtin Default vesa Screen 0".
        Using a default monitor configuration.
(**) |-->Screen "Builtin Default fbdev Screen 0" (1)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default fbdev Device 0"
(==) No monitor specified for screen "Builtin Default fbdev Screen 0".
        Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/local/lib/X11/fonts/misc/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/Type1/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/75dpi/" does not exist.
        Entry deleted from font path.
(==) FontPath set to:
        /usr/local/lib/X11/fonts/TTF/,
        /usr/local/lib/X11/fonts/OTF
(==) ModulePath set to "/usr/local/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
        If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(==) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "vesa"
(II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 2.3.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(II) Loading /usr/local/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 0.4.2
        ABI class: X.Org Video Driver, version 6.0
(II) VESA: driver for VESA chipsets: vesa
(II) FBDEV: driver for framebuffer: fbdev
(II) Primary Device is:
(WW) Falling back to old probe method for vesa
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/local/lib/xorg/modules/linux/libfbdevhw.so
(EE) LoadModule: Module fbdevhw does not have a fbdevhwModuleData data object.
(II) UnloadModule: "fbdevhw"
(II) Unloading /usr/local/lib/xorg/modules/linux/libfbdevhw.so
(EE) Failed to load module "fbdevhw" (invalid module, 0)
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Last edited by DutchDaemon; February 10th, 2012 at 06:09. Reason: Proper capitalization: http://en.wikipedia.org/wiki/Capitalization
Reply With Quote
  #10  
Old February 9th, 2012, 14:43
T-Daemon T-Daemon is offline
Junior Member
 
Join Date: Oct 2011
Posts: 57
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Code:
...
(!!) More than one possible primary device found
(--) PCI: (0:0:2:0) 8086:0116:152d:0875 Intel Corporation 2nd
 Generation Core Processor Family Integrated Graphics Controller
 rev 9, Mem @ 0xe
2400000/4194304, 0xd8000000/134217728, I/O @ 0x00005000/64, BIOS
 @ 0x????????/65536
(--) PCI: (0:1:0:0) 10de:0dce:152d:0875 NVIDIA Corporation GF106
 [GeForce GT 555M] rev 161, Mem @ 0xe0000000/33554432, 
0xc0000000/268435456, 0xd0000000/67108864, I/O @ 0x00004000/128,
 BIOS @ 0x????????/65536 Primary device is not PCI
...
(EE) No devices detected.
You should install x11/nvidia-driver, load the kernel module and create a xorg.conf to enable the driver.
Reply With Quote
  #11  
Old February 9th, 2012, 14:45
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Ah. D'oh. Yes, you need to make sure Xorg works before you enable GDM.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #12  
Old February 9th, 2012, 14:56
T-Daemon T-Daemon is offline
Junior Member
 
Join Date: Oct 2011
Posts: 57
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Quote:
Originally Posted by xwwu View Post
rc.conf is:

Code:
hostname="hasee.concord.bj.cn"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
dbus_enable="YES"
hald_enable="YES"
gnome_enable="YES"
gdm_enable="YES"
As a side note, in rc.config you don't have to enable hald, dbus and gdm if you have gnome_enable set to yes. More here
Reply With Quote
  #13  
Old February 10th, 2012, 02:57
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thank you all. I installed brand now driver from homepage of nvidia, but the driver does not support freebsd FreeBSD 9.0. Install nvidia-driver from freebsd FreeBSD itself is possible.

Last edited by DutchDaemon; February 10th, 2012 at 06:13. Reason: Write proper posts! Infracted.
Reply With Quote
  #14  
Old February 10th, 2012, 02:58
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

But fedora-release not found and linux_base-f10-10_4 linuxulator is not (kld)loaded. Quite easy, just kldload linux, nvidia-driver will be installed.

Linux compatible is huge.

Last edited by DutchDaemon; February 10th, 2012 at 06:10.
Reply With Quote
  #15  
Old February 10th, 2012, 03:29
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

nvidia-driver installed. But sill no work it still doesn't work. Just have a small white square staying on top left of screen for 1 second.

Last edited by DutchDaemon; February 10th, 2012 at 06:14. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #16  
Old February 10th, 2012, 03:56
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

The video card is i915 + nvidia GT555M. so:

Code:
kldload i915
kldload nvidia
nvidia0: <GeForce GT 555M> on vgapci0
vgapci0: chili nvidia0 requested pci_enable_io
vgapci0: chili nvidia0 requested pci_enable_io

Last edited by DutchDaemon; February 10th, 2012 at 06:14. Reason: Proper capitalization: http://en.wikipedia.org/wiki/Capitalization
Reply With Quote
  #17  
Old February 10th, 2012, 09:55
T-Daemon T-Daemon is offline
Junior Member
 
Join Date: Oct 2011
Posts: 57
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Have you created a xorg.conf file. If you have please post it. If you haven't follow this manual.


Quote:
Originally Posted by xwwu View Post
...
Linux compatible is huge.
Next time when installing nvidia-driver you can disable the Linux compatibility, if you have no use for it.
To enable/disable options, cd into the ports directory execute # make config
Reply With Quote
  #18  
Old February 10th, 2012, 11:42
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by T-Daemon View Post
Have you created a xorg.conf file. If you have please post it. If you haven't follow this manual.

Next time when installing nvidia-driver you can disable the Linux compatibility, if you have no use for it.
To enable/disable options, cd into the ports directory execute # make config
Thanks! When:

Code:
Xorg -configure
(++) Using config file: "/root/xorg.conf.new"
(EE) LoadModule: Module fbdevhw does not have a fbdevhwModuleData data object.
(EE) Failed to load module "fbdevhw" (invalid module, 0)
The problem is no fbdevhw right now. any help?

Last edited by DutchDaemon; February 11th, 2012 at 05:46.
Reply With Quote
  #19  
Old February 10th, 2012, 11:50
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

You don't need it. Remove it from your xorg.conf.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #20  
Old February 10th, 2012, 12:07
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
You don't need it. Remove it from your xorg.conf.
Yes, but Xorg -configure stopped there.

Last edited by DutchDaemon; February 11th, 2012 at 05:46.
Reply With Quote
  #21  
Old February 10th, 2012, 12:10
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Here, use mine. Copy it to /usr/local/etc/X11/xorg.conf:
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
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/"
        FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
        FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
        FontPath     "/usr/local/lib/X11/fonts/webfonts/"
        FontPath     "/usr/local/lib/X11/fonts/dejavu/"
        FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
EndSection

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

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        #BoardName   "G73 [GeForce 7600 GT]"
        #BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #22  
Old February 10th, 2012, 12:57
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Here, use mine. Copy it to /usr/local/etc/X11/xorg.conf:
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
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/"
        FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
        FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
        FontPath     "/usr/local/lib/X11/fonts/webfonts/"
        FontPath     "/usr/local/lib/X11/fonts/dejavu/"
        FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
EndSection

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

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        #BoardName   "G73 [GeForce 7600 GT]"
        #BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
Error information of the log file is:
Code:
Primary Device is:
No devices detected

Fatal server error
no screen found

Last edited by DutchDaemon; February 11th, 2012 at 05:46.
Reply With Quote
  #23  
Old February 10th, 2012, 13:24
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

As you can see in the log file, that machine has both an nvidia and intel GPU. I'm guessing it's one of the new laptops with Optimus, in which case you can not use the nvidia GPU as nvidia only supports Optimus on Windows (and maybe OS X).

If I'm right, you have to use the intel GPU, but to get that working with the intel driver, you need to patch your kernel and update various ports:

http://wiki.freebsd.org/Intel_GPU

Adam
Reply With Quote
  #24  
Old February 11th, 2012, 13:52
xwwu xwwu is offline
Member
 
Join Date: Nov 2008
Posts: 152
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by adamk View Post
As you can see in the log file, that machine has both an nvidia and intel GPU. I'm guessing it's one of the new laptops with Optimus, in which case you can not use the nvidia GPU as nvidia only supports Optimus on Windows (and maybe OS X).

If I'm right, you have to use the intel GPU, but to get that working with the intel driver, you need to patch your kernel and update various ports:

http://wiki.freebsd.org/Intel_GPU

Adam
You're right. But in Gentoo Linux, I just configure i915 in kernel and install nvidia-driver, the gnome windows shows me a nvidia configure option.

Last edited by DutchDaemon; February 11th, 2012 at 23:57. Reason: Proper capitalization: http://en.wikipedia.org/wiki/Capitalization
Reply With Quote
  #25  
Old February 11th, 2012, 14:05
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

But this is not Linux. If you are unable to disable the Intel GPU via the BIOS, then you will be unable to use the nvidia driver here. You will also be unable to use the Intel driver without going through the steps outlined in the link I already provided.

Adam

Last edited by DutchDaemon; February 11th, 2012 at 23:57.
Reply With Quote
Reply

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
GDM 2.26 looks alie GNOME 13 November 7th, 2010 05:13
Missing GDM? mac2x GNOME 10 October 24th, 2010 02:48
Gdm nu2fbsd GNOME 4 April 13th, 2010 07:38
[Solved] Gdm hitchup GNOME 2 December 20th, 2009 01:39
gdm and bus problem SIFE GNOME 6 November 7th, 2009 00:45


All times are GMT +1. The time now is 03:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0