Bug 16560 (davidsun) - nvidia video card not working
Summary: nvidia video card not working
Status: RESOLVED CODE_FIX
Alias: davidsun
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 high
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks: 56331
  Show dependency tree
 
Reported: 2010-08-11 01:18 UTC by sunzheng.david
Modified: 2013-04-09 06:23 UTC (History)
3 users (show)

See Also:
Kernel Version: x86_64 2.6.35-gentoo
Subsystem:
Regression: No
Bisected commit-id:


Attachments
acpidump info (393.95 KB, application/octet-stream)
2010-08-17 02:22 UTC, sunzheng.david
Details

Description sunzheng.david 2010-08-11 01:18:18 UTC
This is what "dmesg" shows.
[    2.445309] ACPI: BIOS _OSI(Linux) query ignored
[    2.446078] ACPI: BIOS _OSI(Linux) query ignored
[    2.446846] ACPI: BIOS _OSI(Linux) query ignored
[    2.447697] ACPI: BIOS _OSI(Linux) query ignored
[    2.448464] ACPI: BIOS _OSI(Linux) query ignored
[    2.449228] ACPI: BIOS _OSI(Linux) query ignored
[    2.450080] ACPI: BIOS _OSI(Linux) query ignored
[    2.450847] ACPI: BIOS _OSI(Linux) query ignored
[    2.451615] ACPI: BIOS _OSI(Linux) query ignored
[    2.452469] ACPI: BIOS _OSI(Linux) query ignored
[    2.453233] ACPI: BIOS _OSI(Linux) query ignored
[    2.454000] ACPI: BIOS _OSI(Linux) query ignored
[    2.454969] ACPI: BIOS _OSI(Linux) query ignored
[    2.455734] ACPI: BIOS _OSI(Linux) query ignored
[    2.459752] ACPI: BIOS _OSI(Linux) query ignored
[    2.460604] ACPI: BIOS _OSI(Linux) query ignored
[    2.461368] ACPI: BIOS _OSI(Linux) query ignored
[    2.462138] ACPI: BIOS _OSI(Linux) query ignored
[    2.462988] ACPI: BIOS _OSI(Linux) query ignored
[    2.463753] ACPI: BIOS _OSI(Linux) query ignored
[    2.464521] ACPI: BIOS _OSI(Linux) query ignored

My video card (NVidia GT335M) cannot be driven using nvidia-drivers-195.36.31, and "dmesg" shows:
[    3.384054] ------------[ cut here ]------------
[    3.384094] WARNING: at fs/proc/generic.c:583 proc_register+0x14b/0x182()
[    3.384140] Hardware name: N82JV
[    3.384165] proc_dir_entry 'video/GFX0' already registered
[    3.384200] Modules linked in:
[    3.384231] Pid: 1, comm: swapper Not tainted 2.6.35-gentoo #9
[    3.384270] Call Trace:
[    3.384297]  [<ffffffff8103c017>] warn_slowpath_common+0x80/0x98
[    3.384337]  [<ffffffff8103c0c3>] warn_slowpath_fmt+0x41/0x43
[    3.384375]  [<ffffffff81126c1f>] proc_register+0x14b/0x182
[    3.384412]  [<ffffffff81127073>] proc_mkdir_mode+0x3d/0x55
[    3.384449]  [<ffffffff8112709c>] proc_mkdir+0x11/0x13
[    3.384488]  [<ffffffff812a77ae>] acpi_video_bus_add+0x260/0xfce
[    3.384529]  [<ffffffff8112e203>] ? __sysfs_add_one+0x33/0x95
[    3.384566]  [<ffffffff8112e95e>] ? sysfs_addrm_finish+0x2f/0xb6
[    3.385520]  [<ffffffff8112eaea>] ? sysfs_add_one+0x1c/0xf3
[    3.386490]  [<ffffffff8154a859>] ? mutex_lock+0x11/0x38
[    3.387479]  [<ffffffff8112f137>] ? sysfs_do_create_link+0x149/0x1a0
[    3.388502]  [<ffffffff812827c7>] acpi_device_probe+0x4b/0x11d
[    3.389559]  [<ffffffff81301209>] driver_probe_device+0xa7/0x136
[    3.390643]  [<ffffffff813012f0>] __driver_attach+0x58/0x7c
[    3.391746]  [<ffffffff81301298>] ? __driver_attach+0x0/0x7c
[    3.392873]  [<ffffffff81300870>] bus_for_each_dev+0x4e/0x83
[    3.394034]  [<ffffffff81301078>] driver_attach+0x19/0x1b
[    3.395216]  [<ffffffff81300cf2>] bus_add_driver+0xb1/0x1ff
[    3.396424]  [<ffffffff813015b9>] driver_register+0x99/0x10a
[    3.397654]  [<ffffffff812830da>] acpi_bus_register_driver+0x3e/0x40
[    3.398911]  [<ffffffff812a7512>] acpi_video_register+0x42/0x6e
[    3.400185]  [<ffffffff812f40e7>] intel_opregion_init+0x3f8/0x45b
[    3.401491]  [<ffffffff812cf82c>] i915_driver_load+0xfe0/0x106f
[    3.402821]  [<ffffffff812ff35f>] ? device_register+0x19/0x1e
[    3.404176]  [<ffffffff812c0fb2>] drm_get_dev+0x373/0x48b
[    3.405559]  [<ffffffff815371eb>] i915_pci_probe+0x10/0x12
[    3.406961]  [<ffffffff8123d97f>] local_pci_probe+0x12/0x16
[    3.408337]  [<ffffffff8123e697>] pci_device_probe+0xc5/0xf5
[    3.409702]  [<ffffffff813010c1>] ? driver_sysfs_add+0x47/0x6c
[    3.411068]  [<ffffffff81301209>] driver_probe_device+0xa7/0x136
[    3.412422]  [<ffffffff813012f0>] __driver_attach+0x58/0x7c
[    3.413769]  [<ffffffff81301298>] ? __driver_attach+0x0/0x7c
[    3.415105]  [<ffffffff81300870>] bus_for_each_dev+0x4e/0x83
[    3.416430]  [<ffffffff81301078>] driver_attach+0x19/0x1b
[    3.417721]  [<ffffffff81300cf2>] bus_add_driver+0xb1/0x1ff
[    3.418985]  [<ffffffff813015b9>] driver_register+0x99/0x10a
[    3.420231]  [<ffffffff8123e8e9>] __pci_register_driver+0x53/0xc3
[    3.421475]  [<ffffffff81ae0e0e>] ? i915_init+0x0/0x96
[    3.422696]  [<ffffffff812bc01f>] drm_init+0x6b/0xd1
[    3.423911]  [<ffffffff81ae0e0e>] ? i915_init+0x0/0x96
[    3.425113]  [<ffffffff81ae0ea2>] i915_init+0x94/0x96
[    3.426298]  [<ffffffff810001ef>] do_one_initcall+0x59/0x149
[    3.427466]  [<ffffffff81ab46bb>] kernel_init+0x175/0x1ff
[    3.428626]  [<ffffffff81003714>] kernel_thread_helper+0x4/0x10
[    3.429795]  [<ffffffff81ab4546>] ? kernel_init+0x0/0x1ff
[    3.430957]  [<ffffffff81003710>] ? kernel_thread_helper+0x0/0x10
[    3.432126] ---[ end trace 9a28475601742eac ]---
[    3.437056] ACPI Warning: _BQC returned an invalid level (20100428/video-640)
[    3.439006] acpi device:4b: registered as cooling_device5
[    3.441168] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:02/input/input4
[    3.442406] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)

And my nvidia driver prints this error message:
(EE) NVIDIA(0): The NVIDIA kernel module does not appear to
(EE) NVIDIA(0):      be receiving interrupts generated by the NVIDIA graphics
(EE) NVIDIA(0):      device PCI:x:x:x. Please see the COMMON PROBLEMS
(EE) NVIDIA(0):      section in the README for additional information.

Also, when playing music under KDE, it shows this error message, and of course, there's no sound (other software, like flash-player, work well).
QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&)  error:  "org.freedesktop.DBus.Error.AccessDenied"

I'm using Asus N82JV notebook with two video cards (one is on board and the other is NVidia GT335M)

This is "lspci -v" info.
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
        Subsystem: ASUSTeK Computer Inc. Device 1c77
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: c0000000-d30fffff
        Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Device 1c77
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 12b2
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at d3400000 (64-bit, non-prefetchable) [size=4M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at e080 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915

00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. Device 1c77
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at d880a000 (64-bit, non-prefetchable) [size=16]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+

00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. Device 1c77
        Flags: bus master, medium devsel, latency 0, IRQ 16
        Memory at d8808000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
        Subsystem: ASUSTeK Computer Inc. Device 12b3
        Flags: bus master, fast devsel, latency 0, IRQ 47
        Memory at d8800000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: d7400000-d87fffff
        Prefetchable memory behind bridge: 00000000d3100000-00000000d32fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1c77
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: d6000000-d73fffff
        Prefetchable memory behind bridge: 00000000d8900000-00000000d8afffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1c77
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 0000a000-0000afff
        Memory behind bridge: d4c00000-d5ffffff
        Prefetchable memory behind bridge: 00000000d8b00000-00000000d8cfffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1c77
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 00009000-00009fff
        Memory behind bridge: d3800000-d4bfffff
        Prefetchable memory behind bridge: 00000000d8d00000-00000000d8efffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1c77
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. Device 1c77
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at d8807000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=32
        Capabilities: [50] Subsystem: ASUSTeK Computer Inc. Device 1c77

00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. Device 1c77
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=10 <?>

00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06) (prog-if 01 [AHCI 1.0])
        Subsystem: ASUSTeK Computer Inc. Device 1c77
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
        I/O ports at e070 [size=8]
        I/O ports at e060 [size=4]
        I/O ports at e050 [size=8]
        I/O ports at e040 [size=4]
        I/O ports at e020 [size=32]
        Memory at d8806000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Capabilities: [b0] PCI Advanced Features
        Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
        Subsystem: ASUSTeK Computer Inc. Device 1c77
        Flags: medium devsel, IRQ 18
        Memory at d8805000 (64-bit, non-prefetchable) [size=256]
        I/O ports at e000 [size=32]

00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
        Subsystem: ASUSTeK Computer Inc. Device 1c77
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at d8804000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 3
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-

01:00.0 VGA compatible controller: nVidia Corporation Device 0caf (rev a2) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 12b2
        Flags: fast devsel, IRQ 11
        Memory at d2000000 (32-bit, non-prefetchable) [disabled] [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [disabled] [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [disabled] [size=32M]
        I/O ports at d000 [disabled] [size=128]
        Expansion ROM at d3000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>

03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
        Subsystem: Device 1a3b:1089
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at d6000000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
        Capabilities: [170] Power Budgeting <?>
        Kernel driver in use: ath9k
        Kernel modules: ath9k

04:00.0 USB Controller: NEC Corporation Device 0194 (rev 03) (prog-if 30)
        Subsystem: ASUSTeK Computer Inc. Device 1019
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at d4c00000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
        Capabilities: [90] MSI-X: Enable- Count=8 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
        Capabilities: [150] #18
        Kernel driver in use: xhci_hcd

05:00.0 Ethernet controller: Attansic Technology Corp. Device 1063 (rev c0)
        Subsystem: ASUSTeK Computer Inc. Device 1820
        Flags: bus master, fast devsel, latency 0, IRQ 48
        Memory at d3800000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at 9000 [size=128]
        Capabilities: [40] Power Management version 3
        Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [58] Express Endpoint, MSI 00
        Capabilities: [6c] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [180] Device Serial Number ff-8f-46-1e-48-5b-39-ff
        Kernel driver in use: atl1c

ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0
Comment 1 Zhang Rui 2010-08-16 05:35:00 UTC
the _OSI message is harmless.
please attach the acpidump output of this laptop.
Comment 2 sunzheng.david 2010-08-17 02:22:39 UTC
Created attachment 27479 [details]
acpidump info
Comment 3 Zhang Rui 2010-09-27 01:42:48 UTC
multiple ACPI video bus device named GFX0.

This problem should go away in the latest upstream kernel because ACPI video procfs is marked as deprecated.

IMO, none of the problems in comment #0 breaks the nvidia driver.
and this is indeed an nvidia graphics driver problem.

Note You need to log in before you can comment on or make changes to this bug.