1

次の手順に従って、新しいラップトップ (msi ベアボーン MS-16GC ベース) の Fedora 20 (新規基本インストール) で Optimus/Bumblebee 構成を実行しました。

このリンクと非常によく似たすべての手順をリストしました

最終結果はxが起動せず、端末から起動できます。最後のステップで立ち往生しているように感じます。助けてください:

これらは私が取ったステップです

1) 私の BIOS は nvidia カードのオン/オフの切り替えをサポートしていません 2) Fedora 20 がライブ CD からインストールされました - カーネル/ソフトウェアが更新されました - kernel-devel と kernel-headers が gcc-c++ と lshw と共にインストールされました。NVIDIA ディスプレイ ドライバ バージョン 331.20 がダウンロードされていますが、まだインストールされていません。3) 以降の現在のカーネル: 3.11.10-301.fc20.x86_64 4) lspci は 2 つの関心のあるデバイスを提供します

00:02.0 VGA対応コントローラー:Intel Corporation 第4世代Core Processor Integrated Graphics Controller (rev 06) 01:00.0 3Dコントローラー:NVIDIA Corporation GK106M [GeForce GTX 765M] (rev a1)

lshw は、NVIDIA カードが nouveau を使用していることを示しています。

 *-display

        description: 3D controller
        product: GK106M [GeForce GTX 765M]
        vendor: NVIDIA Corporation
        physical id: 0
        bus info: pci@0000:01:00.0
        version: a1
        width: 64 bits
        clock: 33MHz
        capabilities: bus_master cap_list rom
        configuration: driver=nouveau latency=0
        resources: irq:16 memory:f6000000-f6ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:f7000000-f707ffff

*-display
     description: VGA compatible controller
     product: 4th Gen Core Processor Integrated Graphics Controller
     vendor: Intel Corporation
     physical id: 2
     bus info: pci@0000:00:02.0
     version: 06
     width: 64 bits
     clock: 33MHz
     capabilities: vga_controller bus_master cap_list rom
     configuration: driver=i915 latency=0
     resources: irq:43 memory:f7400000-f77fffff memory:b0000000-bfffffff ioport:f000(size=64)

ドライバーNVIDIAドライバーのインストールの準備中

5) blacklist nouveau をブラックリストに登録します。/etc/modprobe.d/ に blacklist.conf ファイルを作成し、blacklist nouveau という行を作成します。

リブート

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img dracut /boot/initramfs-$(uname -r).img $(uname -r)

リブート

そして /etc/default/grub で rdblacklist=nouveau を GRUB_CMDLINE_LINUX に追加し、続いて grub2-mkconfig > /boot/grub2/grub.cfg コマンドを実行しました

コンピューターを再起動します (念のため)

lshw は次のように出力するようになりました - nouveau の兆候は無効です - デバイスは UNCLAIMED です。

 *-display UNCLAIMED
                description: 3D controller
                product: GK106M [GeForce GTX 765M]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: latency=0
                resources: memory:f6000000-f6ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
 *-display
             description: VGA compatible controller
             product: 4th Gen Core Processor Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 06
             width: 64 bits
             clock: 33MHz
             capabilities: vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:43 memory:f7400000-f77fffff memory:b0000000-bfffffff ioport:f000(size=64)

6) 次に、次の行を含む .xinitrc という名前のファイルをホーム ディレクトリに作成します。

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
exec gnome-session

7) 次に、次のデータを含む xorg.conf2 というファイルを /etc/X11 に作成します。

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "intel"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Option "ConstrainCursor" "no"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
#Comment to output using hdmi cable  
 Option "UseDisplayDevice" "none"
EndSection

8) ドライバーをインストールする時間

/* ここで行き詰まります */

chmod +x NVIDIA* と入力し、次に ./NVIDIA* と入力します。

次に、xorg.conf2 を xorg.conf に移動します

これで問題なくインストールできますが、コマンド ラインから startx と入力しても黒い画面が表示されます。

4

0 に答える 0