192b8 [Solved] where is xorg.conf - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old May 15th, 2009, 03:10
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default where is xorg.conf

I have a problem with xorg, I installed nvidia drivers, but there is no /etc/x11/xorg.conf, and Xorg -configure gives me error "No devices to configure. Configuration failed.

Last edited by Nikosis; June 8th, 2009 at 23:06.
Reply With Quote
  #2  
Old May 15th, 2009, 04:31
ericturgeon's Avatar
ericturgeon ericturgeon is offline
Member
 
Join Date: Dec 2008
Location: Dieppe NB Canada
Posts: 335
Thanks: 65
Thanked 42 Times in 23 Posts
Cool

Can you show me your /var/log/xorg.0.log file paste it in http://pastebin.com/ and give me the url.
maybe your card is not support By xorg.

Last edited by ericturgeon; May 15th, 2009 at 04:37.
Reply With Quote
  #3  
Old May 15th, 2009, 04:38
Oko's Avatar
Oko Oko is offline
Member
 
Join Date: Nov 2008
Location: Kosovo, Srbija
Posts: 326
Thanks: 27
Thanked 66 Times in 49 Posts
Default

Quote:
Originally Posted by Nikosis View Post
I have a problem with xorg, I installed nvidia drivers, but there is no /etc/x11/xorg.conf, and Xorg -configure gives me error "No devices to configure. Configuration failed.
My personal experience since XOrg 7.2 that X server just works. You do not need xorg.conf file any more. If you do (like me) on one of my laptops then.
Code:
# X -configure  (this creates /root/xorg.conf.new file)
# X -config /root/xorg.conf.new (use full path to probe file)
# mv xorg.conf.new /etc/X11/xorg.conf (of everything is Ok)
IF X -config fails read the log file for clues. Usual suspects
are refreshing rates, and more recently default depth and mode lines. Put default depth to no more than 32.
Reply With Quote
  #4  
Old May 15th, 2009, 06:09
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Here it is http://pastebin.com/m20a77c0c
Besides that what's with USB storage device
Code:
uhub4: device problem (IOERROR), disabling port8
Is it normal after fresh install, and if so, how can I mount my USB device
I tried already
Code:
mount /dev/da2s1 /mnt/usb
mount -t msdos /dev/da2s1 /mnt/usb 
mount -t msdosfs /dev/da2s1 /mnt/usb
mount -t msdosfs -o -m=644,-M=755 /dev/da2s1 /mnt/usb
without success.
Reply With Quote
  #5  
Old May 15th, 2009, 06:27
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Try using a different USB port. Have a tail -f /var/log/messages running and stick it in. Look at what the log says.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #6  
Old May 15th, 2009, 06:33
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I already have, same result
Reply With Quote
  #7  
Old May 15th, 2009, 06:42
ericturgeon's Avatar
ericturgeon ericturgeon is offline
Member
 
Join Date: Dec 2008
Location: Dieppe NB Canada
Posts: 335
Thanks: 65
Thanked 42 Times in 23 Posts
Cool

Code:
(II) Loader running on freebsd
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(WW) checkDevMem: failed to open /dev/mem (Operation not permitted)
Primary device is not PCI
(==) Using default built-in configuration (21 lines)
Code:
(II) LoadModule: "fbdev"
(WW) Warning, couldn't open module fbdev
(II) UnloadModule: "fbdev"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) VESA: driver for VESA chipsets: vesa
(WW) xf86EnableIO: Failed to open /dev/io for extended I/O(EE) No devices detected.

Fatal server error:
no screens found
you need to install x11-drivers/xf86-video-fbdev because its missing.
(EE) Failed to load module "fbdev" (module does not exist, 0)

Install x11-drivers/xf86-video-fbdev.
Code:
cd /usr/ports/x11-drivers/xf86-video-fbdev && make install clean
Reply With Quote
  #8  
Old May 15th, 2009, 07:11
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I did, http://pastebin.com/m46f9fc87
Reply With Quote
  #9  
Old May 15th, 2009, 07:25
ericturgeon's Avatar
ericturgeon ericturgeon is offline
Member
 
Join Date: Dec 2008
Location: Dieppe NB Canada
Posts: 335
Thanks: 65
Thanked 42 Times in 23 Posts
Default

(WW) checkDevMem: failed to open /dev/mem (Operation not permitted)
I think is this part cause your probleme bu i don't know why and what cause this.
Do you did that in root?
__________________
Where there is a shell, there is the way.
Unix Live Free.
Reply With Quote
  #10  
Old May 15th, 2009, 07:33
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Yes I did.
Reply With Quote
  #11  
Old May 15th, 2009, 07:56
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I'll give it one more try.
Reply With Quote
  #12  
Old May 15th, 2009, 08:11
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

What is the output of $ sysctl kern.securelevel?
Reply With Quote
  #13  
Old May 15th, 2009, 21:26
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I reinstall the whole system, so I can't check that anymore, but I think it was -2. I did change the security level, so I think that what it was.
I was able to configure xorg finally, but it's so slow, and usb mouse doesn't work.
Thanks for your help
Reply With Quote
  #14  
Old May 15th, 2009, 21:52
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Here is my xorg.conf
Code:
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 "ServerFlags"
	Option   "AllowNonLocalModInDev"
	Option   "GLX" "off"
	Option   "Xinerama" "0"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option      "AutoRepeat" "500 30"
	Option      "XkbRules"   "xorg"
	Option      "XkbModel"   "dell101"
	Option      "XkbLayout"  "us"
EndSection

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

Section "Monitor"
	Identifier   "DELL 0"
	VendorName   "DELL"
	ModelName    "DELL E193FP"
	HorizSync    30.0 - 82.0
	VertRefresh  56.0 - 76.0
EndSection
Section "Monitor"
	#DisplaySize	  380   300	# mm
	Identifier   "NEC 1"
	VendorName   "NEC"
	ModelName    "LCD1960NXi"
	HorizSync    31.5 - 80.0
	VertRefresh  56.0 - 75.0
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier       "Nvidia Quadro FX1100"
	Driver           "nvidia"
	VideoRam         131072
	Option           "RenderAccel"             "true"
	Option           "AllowGLXWithComposite"   "true"
EndSection
Section "Device"
	Identifier       "Videocard0"
	Driver           "nvidia"
	VendorName       "NVIDIA Corporation"
	BoardName        "Quadro FX 1100"
	BusID            "PCI:1:0:0"
	Screen            0
EndSection
Section "Device"
	Identifier       "Videocard1"
	Driver           "nvidia"
	VendorName       "NVIDIA Corporation"
	BoardName        "Quadro FX 1100"
	BusID            "PCI:1:0:0"
	Screen            1
EndSection
Section "Screen"
	Identifier     "Screen 0"
	Device         "Videocard0"
	Monitor        "DELL 0"
	DefaultDepth    24
	Subsection "Display"
		Depth          24
		Modes          "1280x1240"
		ViewPort       0 0
	EndSubsection
#	Option         "TwinView" "0"
#	Option         "metamodes" "CRT: 1280x1240_60 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0"
EndSection
Section "Screen"
	Identifier     "Screen 1"
	Device         "Videocard1"
	Monitor        "NEC 1"
	DefaultDepth    24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
#	Option      "TwinView" "0"
#	Option      "metamodes" "DFP: 1280x1024_60 +0+0"
EndSection
Section "ServerLayout"
	Identifier       "Simple Layout"
	Screen      0    "Screen 0" 0 0
	Screen      1    "Screen 1" RightOf "Screen 0"
#	InputDevice "Mouse1" "CorePointer"
	InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Extensions"
	Option    "Composite"  "enable"
EndSection
Reply With Quote
  #15  
Old May 15th, 2009, 23:12
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

As it seems you are running the binary nvidia driver, IMHO your configuration is not correct.
For example, from what I can recall from my memory, dri should be removed from the module section.
You may want to check the page in the nvidia docs about manually configuring xorg (try under /usr/local/share/doc/NVIDIA_GLX-1.0) or install and run x11/nvidia-xconfig from ports.
Check also the output of $ glxinfo | grep vendor, it should always report "NVIDIA Corporation".
Reply With Quote
  #16  
Old May 16th, 2009, 03:18
Nikosis Nikosis is offline
Junior Member
 
Join Date: May 2009
Posts: 28
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Yes, x11/nvidia-xconfig, x11/nvidia-settings already installed. Also made some changes to xorg.conf and it works, mouse problem solved by adding hald_enable="YES" and dbus_enable="YES" to rc.conf. So far it's all good.

Thank you for help
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
Use PC-BSD xorg.conf IN FreeBSD ligregni X.Org 4 February 18th, 2009 12:35
EEE901 - Looking for xorg.conf xteraco X.Org 9 February 9th, 2009 22:46
Possible values for card driver in xorg.conf jemate18 X.Org 1 February 6th, 2009 10:24
xorg.conf for intel 845G chip (FreeBSD 7.0) eujedi X.Org 6 February 3rd, 2009 16:12
What different tuning from kernel, sysctl.conf, rc.conf and loader.conf? darkstar General 3 November 24th, 2008 11:48


All times are GMT +1. The time now is 20:28.


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