VGA から Nvidia カードに切り替えることができません。「エラー: BrokenCount > 0」が表示され、libvdpau1 ファイルを更新できません。

VGA から Nvidia カードに切り替えることができません。「エラー: BrokenCount > 0」が表示され、libvdpau1 ファイルを更新できません。

はい、これは奇妙なものです。

Nvidia GeForce 6150SE nForce 430、ドライバー 304.128、Ubuntu 14.04 LTS を搭載した HP Pavillion Slimline を使用しています。

ランニングの結果

lshw

以下を表示します (すべてまたは一部が関連しているかどうかはわかりません)。

description: Desktop Computer
product: s5602la (BM437AA#ABM)
vendor: Hewlett-Packard
version: Chassis Version
width: 64 bits
capabilities: smbios-2.5 dmi-2.5 vsyscall32
configuration: boot=normal chassis=desktop family=103C_53316J G=D     sku=BM437AA#ABM uuid=8088F359-CB59-1610-A395-8546BA7CF8F9
  *-core
   description: Motherboard
   product: 2A99
   vendor: PEGATRON CORPORATION
   physical id: 0
   version: 6.01
   serial: 107396950000153
 *-firmware
      description: BIOS
      vendor: American Megatrends Inc.
      physical id: 0
      version: 6.13
      date: 09/08/2010
      size: 64KiB
      capacity: 960KiB
      capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification


 *-pci:0
      description: PCI bridge
      product: MCP61 PCI bridge
      vendor: NVIDIA Corporation
      physical id: 100
      bus info: pci@0000:00:04.0
      version: a1
      width: 32 bits
      clock: 66MHz
      capabilities: pci ht subtractive_decode bus_master cap_list
 *-multimedia
      description: Audio device
      product: MCP61 High Definition Audio
      vendor: NVIDIA Corporation
      physical id: 5
      bus info: pci@0000:00:05.0
      version: a2
      width: 32 bits
      clock: 66MHz
      capabilities: pm msi ht bus_master cap_list
      configuration: driver=snd_hda_intel latency=0 maxlatency=5 mingnt=2
      resources: irq:22 memory:fbff8000-fbffbfff

 *-pci:1
      description: PCI bridge
      product: MCP61 PCI Express bridge
      vendor: NVIDIA Corporation
      physical id: 9
      bus info: pci@0000:00:09.0
      version: a2
      width: 32 bits
      clock: 33MHz
      capabilities: pci pm msi ht pciexpress normal_decode bus_master cap_list
      configuration: driver=pcieport
      resources: irq:40
 *-pci:2
      description: PCI bridge
      product: MCP61 PCI Express bridge
      vendor: NVIDIA Corporation
      physical id: b
      bus info: pci@0000:00:0b.0
      version: a2
      width: 32 bits
      clock: 33MHz
      capabilities: pci pm msi ht pciexpress normal_decode bus_master cap_list
      configuration: driver=pcieport
      resources: irq:41
 *-pci:3
      description: PCI bridge
      product: MCP61 PCI Express bridge
      vendor: NVIDIA Corporation
      physical id: c
      bus info: pci@0000:00:0c.0
      version: a2
      width: 32 bits
      clock: 33MHz
      capabilities: pci pm msi ht pciexpress normal_decode bus_master cap_list
      configuration: driver=pcieport
      resources: irq:42
 *-display
      description: VGA compatible controller
      product: C61 [GeForce 6150SE nForce 430]
      vendor: NVIDIA Corporation
      physical id: d
      bus info: pci@0000:00:0d.0
      version: a2
      width: 64 bits
      clock: 66MHz
      capabilities: pm msi vga_controller bus_master cap_list rom
      configuration: driver=nvidia latency=0
      resources: irq:21 memory:fa000000-faffffff memory:e0000000-efffffff memory:f9000000-f9ffffff memory:fbfc0000-fbfdffff

私は League of Legends をプレイしたかったので、PlayOnLinux と LoL 自体を正常にインストールしました。FPS が非常に低かった (最大で約 10) ため、その解決策を探し始めました。FPS を上げるために不足している唯一のものは、より新しい NVIDIA ドライバーであると推測できたため、バージョン 331 をインストールしてみました (当時は 304 を使用していました)。

ターミナルからこれを実行しました:

sudo apt-get install nvidia-331 nvidia-331-updates

331 ドライバのインストールに失敗し、ブラックスクリーンのログイン ループが発生しました。リカバリ モードで再起動し、nvidia ドライバを削除して 304 を再インストールすることで修正しました。エラー メッセージが表示され、'/etc/vdpau_wrapper.cfg' を上書きできず、libvdpau1_1.1 がエラー コード (1) を返したと表示されます。

ターミナルから「rm」コマンドを使用して両方のファイルを削除し、再度修正してみました。

sudo apt-get install -f 

結果は同じです:

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
    libvdpau1
    Suggested packages:
      nvidia-vdpau-driver vdpau-driver
    The following NEW packages will be installed:
      libvdpau1
    0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/26.4 kB of archives.
    After this operation, 120 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 1403913 files and directories          currently                 installed.)
    Preparing to unpack .../libvdpau1_1.1-0ubuntu1~xedgers14.04.1_amd64.deb ...
    Unpacking libvdpau1:amd64 (1.1-0ubuntu1~xedgers14.04.1) ...
    dpkg: error processing archive /var/cache/apt/archives        /libvdpau1_1.1-0ubuntu1~xedgers14.04.1_amd64.deb (--unpack):
             trying to overwrite shared '/etc/vdpau_wrapper.cfg', which         is        different from other instances of package         libvdpau1:amd64
    Errors were encountered while processing:
     /var/cache/apt/archives/libvdpau1_1.1-0ubuntu1~xedgers14.04.1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

-f コマンドの後、上記と同じエラーが発生しました。また、「エラー: BrokenCount > 0」という警告も表示されます。

Ubuntu ソフトウェア センターを使用しようとすると、システムが壊れているためインストールまたは更新できないというメッセージとともに、「現在インストールされているソフトウェアに問題があるため、新しいソフトウェアをインストールできません。この問題を今すぐ修復しますか?」というメッセージが表示されました。「修復」をクリックすると、「パッケージ操作に失敗しました。ソフトウェア パッケージのインストールまたは削除に失敗しました。」というメッセージとともに、次のメッセージが表示されました。

(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 1403913 files and directories currently installed.)
Preparing to unpack .../libvdpau1_1.1-0ubuntu1~xedgers14.04.1_amd64.deb ...
Unpacking libvdpau1:amd64 (1.1-0ubuntu1~xedgers14.04.1) ...
dpkg: error processing archive /var/cache/apt/archives    /libvdpau1_1.1-0ubuntu1~xedgers14.04.1_amd64.deb (--unpack):
 trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different     from other instances of package libvdpau1:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libvdpau1_1.1-0ubuntu1~xedgers14.04.1_amd64.deb
Error in function: 
dpkg: dependency problems prevent configuration of nvidia-settings:
 nvidia-settings depends on libvdpau1; however:
  Package libvdpau1:amd64 is not installed.

dpkg: error processing package nvidia-settings (--configure):
 dependency problems - leaving unconfigured

その後、ソフトウェア センターがクラッシュし、次のメッセージが表示されました: 「パッケージ システムが壊れています。サードパーティのリポジトリを使用しているかどうかを確認してください。」

この追加情報が役に立つかどうかはわかりませんが、実行中に

lspci -vnn | grep -i VGA -A 12

次のような結果が出ます:

00:0d.0 VGA compatible controller [0300]: NVIDIA Corporation C61 [GeForce     6150SE nForce 430] [10de:03d0] (rev a2) (prog-if 00 [VGA     controller])
    Subsystem: Hewlett-Packard Company Device [103c:2a99]
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
    Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f9000000 (64-bit, non-prefetchable) [size=16M]
    [virtual] Expansion ROM at fbfc0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia

00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h     Processor HyperTransport Configuration [1022:1200]
    Flags: fast devsel
    Capabilities: <access denied>

また、入力すると

sudo lshw -C display; lsb_release -a; uname -a:

私は次の情報を得ました:

 *-display               
   description: VGA compatible controller
   product: C61 [GeForce 6150SE nForce 430]
   vendor: NVIDIA Corporation
   physical id: d
   bus info: pci@0000:00:0d.0
   version: a2
   width: 64 bits
   clock: 66MHz
   capabilities: pm msi vga_controller bus_master cap_list rom
   configuration: driver=nvidia latency=0
   resources: irq:21 memory:fa000000-faffffff memory:e0000000-efffffff memory:f9000000-f9ffffff memory:fbfc0000-fbfdffff

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty

uname: invalid option -- ':'
Try 'uname --help' for more information.

それで:

  1. これをどうすれば修正できますか?
  2. ドライバー331はインストールできますか?

どうもありがとう!


uname -a

Linux alfredo-s5602la 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

sudo apt-get remove libvdpau1

[sudo] password for alfredo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'libvdpau1' is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 nvidia-settings : Depends: libvdpau1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

sudo apt-get -f install

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libjansson4 libxnvctrl0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libvdpau1
Suggested packages:
  nvidia-vdpau-driver vdpau-driver
The following NEW packages will be installed:
  libvdpau1
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
3 not fully installed or removed.
Need to get 0 B/27.6 kB of archives.
After this operation, 124 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 1403926 files and directories currently installed.)
Preparing to unpack .../libvdpau1_1.1.1-0ubuntu0~gpu14.04.1_amd64.deb ...
Unpacking libvdpau1:amd64 (1.1.1-0ubuntu0~gpu14.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.1.1-0ubuntu0~gpu14.04.1_amd64.deb (--unpack):
 trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libvdpau1_1.1.1-0ubuntu0~gpu14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

apt-cache policy libvdpau1

libvdpau1:
  Installed: (none)
  Candidate: 1.1.1-0ubuntu0~gpu14.04.1
  Version table:
     1.1.1-0ubuntu0~gpu14.04.1 0
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ trusty/main amd64 Packages
     0.7-1ubuntu0.1 0
    500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.7-1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

sudo dpkg -r --force-all libvdpau1:amd64

dpkg: warning: ignoring request to remove libvdpau1:amd64, only the config
files of which are on the system; use --purge to remove them too

sudo apt-get purge libvdpau1

[sudo] password for alfredo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 nvidia-settings : Depends: libvdpau1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or secify a solution).

答え1

apt-get purge …そして物事apt-get remove …はうまくいかないようです!:\

効果的な武器としては、

sudo dpkg --remove --force-all libvdpau1:amd64
sudo dpkg --purge --force-all libvdpau1:amd64

しかし、ここではどういうわけか役に立たない...

結局、解決策は

sudo rm /etc/vdpau_wrapper.cfg

に続く

sudo apt-get install -f

いいえ、304 より新しいドライバーをインストールすることはできません。これらのドライバーは GeForce 6150 SE GPU をサポートしていません。

関連情報