Opened 3 months ago

Closed 6 weeks ago

Last modified 5 weeks ago

#951 closed System Defect (deferred)

Nvidia driver doesn't work

Reported by: aht0 Owned by: kris
Priority: major Milestone: 9.2
Component: Misc Version: 9.2-RELEASE
Keywords: Cc: trac-bugs@…

Description

First, that issue is present for me in both, PC-BSD10RC5 and 9.2-Release. Both 64bit variants

With "10", OS wont even load VESA driver. Whole thing is stuck on first console screen in endless loop "Please Wait... Starting X" Something more (as text) flickers in background but that comes and goes so fast that I can't read it.

With "9.2", OS starts up Xorg but by using VESA driver only.
I tried forcing it to use nvidia. Kernel module loads but upon starting Xorg I get this on my screen or in Xorg logs.

vgapci0: child nvidia0 requested pci_enable_io

I went as far as downloading latest FreeBSD x64 driver package from Nvidia (NVIDIA-FreeBSD-x86_64-331.38.tar.gz) and compiled new kernel module (using source file stashed on same installation medium I used for installing the OS)

Same vgapci0: child nvidia requested pci_enable_io error

System os AMD FX8350 using Asus M5A99X EVO R2.0 motherboard

LSPCI data
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx0 port B) (rev 02)
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port B)
00:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port C)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port D)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port E)
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port F)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port G)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 GTX 660 Ti? (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed? USB Host Controller
05:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
06:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed? USB Host Controller

Xorg logs.

X.Org X Server 1.12.4
Release Date: 2012-08-27
[ 15.946] X Protocol Version 11, Revision 0
[ 15.946] Build Operating System: FreeBSD 9.2-RELEASE-p11 amd64
[ 15.946] Current Operating System: FreeBSD asgerd 9.2-RELEASE-p11 FreeBSD 9.2-RELEASE-p11 #0 r+7962ca0: Mon Dec 2 16:13:10 UTC 2013 root@bellicose:/usr/obj/root/pcbsd-build/git/freebsd/sys/GENERIC amd64
[ 15.947] Build Date: 31 December 2013 09:16:15AM
[ 15.947]
[ 15.947] Current version of pixman: 0.32.4
[ 15.947] Before reporting problems, check http://wiki.x.org

to make sure that you have the latest version.

[ 15.947] Markers: (--) probed, () from config file, (==) default setting,

(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[ 15.947] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 25 07:42:49 2014
[ 15.967] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 15.967] (==) No Layout section. Using the first Screen section.
[ 15.967] (==) No screen section available. Using defaults.

[ 15.967] ()>Screen "Default Screen Section" (0) [ 15.967] () |>Monitor "<default monitor>"

[ 15.968] (==) No monitor specified for screen "Default Screen Section".

Using a default monitor configuration.

[ 15.968] (==) Automatically adding devices
[ 15.968] (==) Automatically enabling devices
[ 16.011] (==) FontPath? set to:

/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF/,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/

[ 16.011] (==) ModulePath? set to "/usr/local/lib/xorg/modules"
[ 16.011] (II) The server relies on HAL to provide the list of input devices.

If no devices become available, reconfigure HAL or disable AutoAddDevices?.

[ 16.011] (II) Loader magic: 0x7c0080
[ 16.011] (II) Module ABI versions:
[ 16.011] X.Org ANSI C Emulation: 0.4
[ 16.011] X.Org Video Driver: 12.1
[ 16.011] X.Org XInput driver : 16.0
[ 16.011] X.Org Server Extension : 6.0
[ 16.011] (--) PCI:*(0:1:0:0) 10de:1183:1458:3552 rev 161, Mem @ 0xfd000000/16777216, 0xf0000000/134217728, 0xf8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/65536
[ 16.011] (II) LoadModule?: "extmod"
[ 16.019] (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
[ 16.027] (II) Module extmod: vendor="X.Org Foundation"
[ 16.027] compiled for 1.12.4, module version = 1.0.0
...skipping...
[ 17.458] Module class: X.Org XInput Driver
[ 17.458] ABI class: X.Org XInput driver, version 16.0
[ 17.458] (II) Using input driver 'mouse' for 'ROCCAT Lua'
[ 17.458] () ROCCAT Lua: always reports core events
[ 17.458] () Option "Device" "/dev/sysmouse"
[ 17.458] (==) ROCCAT Lua: Protocol: "Auto"
[ 17.458] () ROCCAT Lua: always reports core events
[ 17.458] (==) ROCCAT Lua: Emulate3Buttons, Emulate3Timeout: 50
[ 17.458] () ROCCAT Lua: ZAxisMapping: buttons 4 and 5
[ 17.458] () ROCCAT Lua: Buttons: 5
[ 17.458] () Option "config_info" "hal:/org/freedesktop/Hal/devices/usb_device_1e7d_2c2e_noserial_if0"
[ 17.458] (II) XINPUT: Adding extended input device "ROCCAT Lua" (type: MOUSE, id 6)
[ 17.458] () ROCCAT Lua: (accel) keeping acceleration scheme 1
[ 17.458] () ROCCAT Lua: (accel) acceleration profile 0
[ 17.458] () ROCCAT Lua: (accel) acceleration factor: 2.000
[ 17.458] () ROCCAT Lua: (accel) acceleration threshold: 4
[ 17.458] (II) ROCCAT Lua: SetupAuto?: hw.iftype is 4, hw.model is 0
[ 17.458] (II) ROCCAT Lua: SetupAuto?: protocol is SysMouse?
[ 17.460] (II) config/hal: Adding input device USB Keyboard
[ 17.460] (II) LoadModule?: "kbd"
[ 17.461] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[ 17.469] (II) Module kbd: vendor="X.Org Foundation"
[ 17.469] compiled for 1.12.4, module version = 1.8.0
[ 17.469] Module class: X.Org XInput Driver
[ 17.469] ABI class: X.Org XInput driver, version 16.0
[ 17.469] (II) Using input driver 'kbd' for 'USB Keyboard'
[ 17.469] () USB Keyboard: always reports core events
[ 17.469] () USB Keyboard: always reports core events
[ 17.469] () Option "Protocol" "standard"
[ 17.469] (WW) Option "Device" requires an string value
[ 17.469] () Option "XkbRules?" "base"
[ 17.469] () Option "XkbModel?" "pc105"
[ 17.469] () Option "XkbLayout?" "us"
[ 17.469] () Option "config_info" "hal:/org/freedesktop/Hal/devices/usb_device_4d9_1702_noserial_if0"
[ 17.469] (II) XINPUT: Adding extended input device "USB Keyboard" (type: KEYBOARD, id 7)
[ 17.471] (II) config/hal: Adding input device AT Keyboard
[ 17.471] (II) Using input driver 'kbd' for 'AT Keyboard'
[ 17.471] () AT Keyboard: always reports core events
[ 17.471] () AT Keyboard: always reports core events
[ 17.471] () Option "Protocol" "standard"
[ 17.471] (WW) Option "Device" requires an string value
[ 17.471] () Option "XkbRules?" "base"
[ 17.471] () Option "XkbModel?" "pc105"
[ 17.472] () Option "XkbLayout?" "us"
[ 17.472] () Option "config_info" "hal:/org/freedesktop/Hal/devices/atkbd_0"
[ 17.472] (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD, id 8)
[ 57.821] [mi] Increasing EQ size to 512 to prevent dropped events.

Attachments (2)

xorg.conf (1.8 KB) - added by aht0 3 months ago.
Xorg.0.log (12.0 KB) - added by aht0 3 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 3 months ago by kris

Sounds like it may be a bug in the nvidia driver with this particular card model, especially since it fails the same way with the manually compiled driver.

Can you try these things though?

First, boot to the console and run "nvidia-xconfig", does it create a /etc/X11/xorg.conf file or fail with an error?

If it works, can you post your /etc/X11/xorg.conf file it created?

When you try to start X, does any other odd messages show up on the console (Ctrl-Alt-F1) or "dmesg"?

Changed 3 months ago by aht0

Changed 3 months ago by aht0

comment:2 Changed 3 months ago by aht0

I did fresh install from dvd media and tried nvidia-xconfig. It did create new config.
After I killed off shell script looping on first console, it kept modifying the /etc/X11/xorg.conf back

Started X with the new conf but lost mouse and keyboard the moment X started.

Attached couple of files (Xorg log and generated xorg.conf)

comment:3 Changed 2 months ago by joshms

  • Owner set to kris

comment:4 Changed 6 weeks ago by kenmoore

  • Resolution set to deferred
  • Status changed from new to closed

There have been some recent bugfixes to the nvidia driver for FreeBSD 10. Please re-test with the latest PC-BSD ISO once a new one is out (coming soon).

comment:5 Changed 5 weeks ago by cabpa

On my system, i experienced applications not launching and returning Clutter errors like empathy, totem and cheese because I installed all metapackages including NVIDIA even if I do not have an nvidia card. Then I search in the internet and found solutions from forums to uninstall and reinstall nvidia, xorg and mesa driver. I uninstall nvidia from Package Manager Basic view but still the problem exist. I go to the Advanced view and tried to search with nvidia keyboard, i found that there are still nvidia packages in Advance View. So i uninstall all the remaining nvidia packages in Advance View. Then I restarted and tried launching empathy, totem and and suprisingly they launched successfully. Do the nvidia driver/packages creating a mess on the system in PC-BSD 10?

Note: See TracTickets for help on using tickets.