vgaarb module not patched

Bug #1381175 reported by kanibalv
86
This bug affects 16 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Basically, vga cannot detect NVIDIA cards as "VGA compatible controller", this is tested on a Optimus System.

dmesg indicates that it's not a valid vga device:

:~$ dmesg | grep vgaar
[ 0.202410] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.202413] vgaarb: loaded
[ 0.202414] vgaarb: bridge control possible 0000:00:02.0
[ 0.936062] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 532.414245] vgaarb: this pci device is not a vga device
[ 533.778296] vgaarb: this pci device is not a vga device

system:~$ uname -a
Linux 3.16.0-10-generic #15-Ubuntu SMP Thu Aug 21 16:26:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
system:~$ lspci -nn
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
01:00.0 3D controller [0302]: NVIDIA Corporation GK208M [GeForce GT 735M] [10de:1291] (rev ff)

According to this:

https://github.com/Bumblebee-Project/Bumblebee/issues/159

it's look like the patch for vgaarb is not in 14.10

more info:
https://bugzilla.kernel.org/show_bug.cgi?id=63641

previous patch is on: http://pastebin.com/wpmFi38k

Thanks.

kanibalv (kanibalv)
description: updated
Revision history for this message
Artur Dwornik (artur-dwornik) wrote :

It looks like this bug is affecting me. Everything works fine, unless machine goes into suspend mode, then it just hangs.

This are messages since machine was suspended:
----------------
[ 588.442408] vgaarb: this pci device is not a vga device
[ 588.667341] wlan0: deauthenticating from 00:21:29:8b:ba:f5 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 588.677027] cfg80211: Calling CRDA to update world regulatory domain
[ 588.685198] cfg80211: World regulatory domain updated:
[ 588.685206] cfg80211: DFS Master region: unset
[ 588.685209] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 588.685214] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 588.685219] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 588.685222] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 588.685225] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 588.685229] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 588.722477] vgaarb: this pci device is not a vga device
^@^@^@^@^@^@^@^@^@
-------------------

Everything works fine if discrete card is disabled.

lspci
-------------
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93)
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
-------------

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-drivers-common (Ubuntu):
status: New → Confirmed
Revision history for this message
kanibalv (kanibalv) wrote :

I also confirmed that after upgrade to Vivid 15.04 beta 1 this also happens.

Basically, this means that optimus is useless when the the nvidia card is identified as "3D Controller" instead of "VGA compatible controller".

Revision history for this message
Alberto Milone (albertomilone) wrote :

What does this break, other than bumblebee? Does X fail to start? (if so, please provide /var/log/Xorg.0.log)

Revision history for this message
kanibalv (kanibalv) wrote :

No, this makes that the use of dedicated card useless and break the UX.

Revision history for this message
Wagner (wag-p11-o) wrote :

System Info: Ubuntu 14.04.2
Linux 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Nvidia Card: GeForce GTX 860M
lspci lists the Card as "3D Controller". Only after adding the xorg-edgers PPA the "Additional Drivers" programs offers some nvidia drivers for installation. However the card is only recognized as an "Unknown NVIDIA Device".
Other symptoms:
Using the driver nvidia-346.59 after CUDA 7.0 installation causes that the system sometimes hangs on boot and if it does not hang, the system boots into a black screen (the VT tty 1 - 6 are available and the login "drums" sound can be heard)

Revision history for this message
lorenzo.chianura (zuloch) wrote :

I confirm that the problem exist on a fresh install of Vivid 15.04 (STABLE).

System Info: Ubuntu GNOME 15.04
Linux z50 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Nvidia Card: GeForce GT840M

dmesg | grep vgaar
[ 0.265967] vgaarb: setting as boot device: PCI:0000:00:02.0
[ 0.265970] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.265973] vgaarb: loaded
[ 0.265974] vgaarb: bridge control possible 0000:00:02.0
[ 18.814697] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 23.496165] vgaarb: this pci device is not a vga device
[ 25.991425] vgaarb: this pci device is not a vga device
[ 30.677428] vgaarb: this pci device is not a vga device
[ 38.263727] vgaarb: this pci device is not a vga device

lspci lists the card as "3D Controller".

Revision history for this message
Eivar Montenegro (e.mont01) wrote :

I confirm that the problem exists also on a updated install from Utopic to Vivid 15.04, but Nouveau driver is working just fine.

To use Nouveau driver I did the following:
sudo apt-get remove --purge nvidia-settings nvidia-349 nvidia-prime nvidia-opencl-icd-349
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo aptitude install xserver-xorg-video-nouveau

System Info: Ubuntu 15.04
Linux 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Nvidia Card: GK208M [GeForce GT 740M]

lspci | egrep "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)

dmesg | grep vgaarb
[ 0.439245] vgaarb: setting as boot device: PCI:0000:00:02.0
[ 0.439247] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.439249] vgaarb: loaded
[ 0.439251] vgaarb: bridge control possible 0000:00:02.0
[ 1.336800] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 29.226146] vgaarb: this pci device is not a vga device
[ 29.599365] vgaarb: this pci device is not a vga device

Revision history for this message
Alberto Milone (albertomilone) wrote :

This has nothing to do with NVIDIA's proprietary driver. If anything it's a kernel issue, as vgaarb lives in the kernel and the nvidia driver doesn't need it.

If you're facing any other issue with the nvidia driver, please file a separate bug report.

no longer affects: ubuntu-drivers-common (Ubuntu)
Changed in linux (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
no longer affects: linux (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Revision history for this message
penalvch (penalvch) wrote :

kanibalv, please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1381175
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in linux (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
affects: ubuntu-drivers-common (Debian) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
importance: Undecided → High
Revision history for this message
Ekx27 (ekx27) wrote : apport information

ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: adb 1819 F.... pulseaudio
CurrentDesktop: XFCE
DistroRelease: Ubuntu 15.04
HibernationDevice: RESUME=UUID=b3c68262-e747-4fa2-99c4-4dacbff20d1a
InstallationDate: Installed on 2015-04-25 (5 days ago)
InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422.1)
MachineType: ASUSTeK Computer INC. EB1037
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-15-generic.efi.signed root=/dev/mapper/xubuntu--vg-root ro quiet acpi=off splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic N/A
 linux-firmware 1.143
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: vivid
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
Uname: Linux 3.19.0-15-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/28/2014
dmi.bios.vendor: ASUSTeK COMPUTER INC.
dmi.bios.version: 0606
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: EB1037
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnASUSTeKCOMPUTERINC.:bvr0606:bd05/28/2014:svnASUSTeKComputerINC.:pnEB1037:pvr0606:rvnASUSTeKCOMPUTERINC.:rnEB1037:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: EB1037
dmi.product.version: 0606
dmi.sys.vendor: ASUSTeK Computer INC.

tags: added: apport-collected vivid
Revision history for this message
Ekx27 (ekx27) wrote : AlsaInfo.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : CRDA.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : IwConfig.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : JournalErrors.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : Lspci.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : Lsusb.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : ProcEnviron.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : ProcModules.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : PulseList.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : UdevDb.txt

apport information

Revision history for this message
Ekx27 (ekx27) wrote : WifiSyslog.txt

apport information

penalvch (penalvch)
tags: removed: apport-collected vivid
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.0 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc2-vivid/

Revision history for this message
Aeon (arugeo1) wrote :

This bug affects me too.My AMD 7670M is completely useless and i have screen lock issues.

Revision history for this message
penalvch (penalvch) wrote :

Aeon, if you would like your issue addressed, please file a new report via a terminal:
ubuntu-bug linux

Feel free to subscribe me to it.

Revision history for this message
Tomek (unhitpl+ubuntu) wrote :
Download full text (3.2 KiB)

Same here. Random screen locking:

Dell Latitude E5540
Linux workbook 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 1 (rev e4)
00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 5 (rev e4)
00:1c.5 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 6 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
01:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev a1)

When screen is locked I can find that in dmesg every time:

[ 4.617833] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 4.617913] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 4.617955] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 4.617992] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 4.618027] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 4.618067] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 4.618130] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 4.618170] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 5.287454] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[ 5.396710] vgaarb: this pci device is not a vga device

When screen is locked I have to switch to anoth...

Read more...

Revision history for this message
penalvch (penalvch) wrote :

Tomek, it will help immensely if you filed a new report via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Jim Richards (grumpy) wrote :

Based on the original bug description, this issue affects me.

$ lspci -nn
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)
...
04:00.0 3D controller [0302]: NVIDIA Corporation GK208M [GeForce GT 740M] [10de:1292] (rev ff)

$ dmesg | fgrep vgaar
[ 0.243143] vgaarb: setting as boot device: PCI:0000:00:02.0
[ 0.243145] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.243150] vgaarb: loaded
[ 0.243152] vgaarb: bridge control possible 0000:00:02.0
[ 2.766514] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 2336.771620] vgaarb: this pci device is not a vga device
[ 2337.170566] vgaarb: this pci device is not a vga device
[ 2415.373308] vgaarb: this pci device is not a vga device
[ 2415.734668] vgaarb: this pci device is not a vga device

$ uname -a
Linux flat 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Jim Richards, it will help immensely if you filed a new report via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Laurent Dinclaux, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Changed in linux (Ubuntu):
importance: High → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Aydin K. (akocas)
Changed in linux (Ubuntu):
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.