U ka kenya bakhanni ba poraefete ba Nvidia ho Debian 9 Stretch?

nvidia-driver-debian-otlolla

Thupelo ena re tla u bonts'a mokhoa oa ho kenya li-driver tsa lits'oants'o tsa Nvidia ho Debian 9 Stretch. Ka ho sa feleng, Debian e sebelisa driver open source new, e kenyellelitsoeng ho Linux kernel, bakeng sa likarete tsa Nvidia.

Leha ho le joalo, mokhanni enoa ha a na tšehetso ea ho potlakisa 3D, kahoo haeba u batla ho rua molemo ka ho fetisisa kareteng ea hau ea lits'oants'o tsamaisong ea hau, u tlameha ho kenya li-driver tsa eona tsa poraefete.

Pele o kenya mokhanni oa thepa, Ke khothaletsa ho thibela Safe Secure haeba u sebelisa UEFI firmware.

Lebaka ke hore module ea Nvidia e tla eketsoa ho kernel, ka hona kernel e ncha e ke ke ea khona ho fetisa netefatso ea saena. Haeba Safe Secure e lumelloa, sistimi ea hau e kanna ea se khone ho qala boot.

Ho kenya mokhanni oa Nvidia ho Debian 9 Stretch

Ho qala ho kenya bakhanni ba Nvidia tsamaisong ea rona, re tlameha ho bula sesebelisoa le ho sona ha re tsoeleng pele ho netefatsa hore na mokhanni o sebelisoa bakeng sa karete ea Nvidia:

sudo apt install lshw
sudo lshw -c display

Moo ba ka netefatsang hore ba sebelisa molaoli o mocha oa bulehileng:

Nouveau

Kaha sephutheloana sa Nvidia ho Debian ke sa beng ba thepa, Re tlameha ho lumella lisebelisoa tsa ho kenya letsoho le tse sa lefelloeng ho /etc/apt/source.list ka litaelo tse latelang.

sudo apt install software-properties-common
sudo add-apt-repository contrib
sudo add-apt-repository non-free
sudo apt update

Hona joale Ke nako ea ho khetha mokhanni oa mocha, ho qoba likhohlano tse ka bang teng:

sudo nano /etc/modprobe.d/blacklist-nouveau.conf

Ka hare ho faele re beha tse latelang:

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

Re koala le ho boloka ka Ctrl + O le Ctrl + X.

Hona joale Kenya sephutheloana sa driver-nvidia u sebelisa taelo e latelang:

sudo apt install nvidia-driver

Nakong ea ho kenya, u tla bona molaetsa o latelang, tlanya Enter ho tsoela pele.

xserver-xorg-config-nvidia

Haeba phoso e ka hlaha nakong ea ho kenya sephutheloana tsamaisong, o tla hloka ho kenya mokhanni ho tloha polokelong ea back-backports.

Ho etsa sena, seemelong sa marang-rang o tlameha ho thaepa taelo e latelang:

sudo add-apt-repository 'deb http://ftp.debian.org/debian stretch-backports main contrib non-free'
sudo apt update

Hona joale Ho kenya mokhanni oa nvidia ho tloha polokelong ea li-backports tse seng li kentsoe tsamaisong, re tlameha ho thaepa taelo e latelang:

sudo apt install -t stretch-backports nvidia-driver

Hang ha ts'ebetso e phethe, qala komporo ea hau ka thuso ea taelo e latelang:

sudo shutdown -r now

Ho sheba kopo

Kamora hore sistimi e qale bocha, Re tsoela pele ho qala lenaneo la rona la basebelisi, re tla bula sesebelisoa ebe re thaepa taelo e latelang ho sona.

sudo lshw -c display

Maemong ana ba se ba ntse ba tlameha ho bona hore ba sebelisa bakhanni ba Nvidia. O ka batla ka har'a lenane la hau la kopo bakeng sa lenaneo la Nvidia X Server.

Mofuta oa mokhanni, litlhaloso tsa karete ea litšoantšo, mocheso oa karete, jj.

Haeba o sa fumane lenaneo lena, o ka le kenya ka:

sudo apt install nvidia-xconfig

Le matha le:

sudo nvidia-xconfig

Fetolela karete ea lits'oants'o tsa Intel le Nvidia ho li-laptops tsa Nividia Optimus

Bakeng sa basebelisi ba li-laptop ba nang le Nividia Optimus, U kanna ua thulana le phoso ha u bula lenaneo la Nvidia X Server, ho tloha ha u le bula, u tla bona molaetsa o kang:

"Ho bonahala o sa sebelise mokhanni oa nvidia x debian"

Bakeng sa sena ba ka sebelisa Bumblebee le Primus ho tsamaisa likopo ka bomong ho karete ea Nvidia. Ho kenya Bumblebee le Primus tsamaisong ea hau, o tlameha ho bula sesebelisoa ebe o tsamaisa litaelo tse latelang:

sudo dpkg --add-architecture i386
sudo apt install
sudo apt install bumblebee bumblebee-nvidia primus primus-libs: i386 libgl1-nvidia-glx: i386

Ho tsamaisa lenaneo kareteng ea Nividia, sebelisa taelo joalo ka sehlongoapele ho qala.

Maemong ana o ka netefatsa sena ka taelo e latelang:

primusrun glxinfo | grep OpenGL

Ho bula lenaneo la ho seta seva sa Nvidia X, tsamaisa:

optirun nvidia-settings -c :8

Mokhoa oa ho tlosa bakhanni ba Nvidia ba nang le thepa ho Debian 9 Stretch?

Haeba ka lebaka le itseng u se u sa batle molaoli oa thepa kapa e baka likhohlano le sistimi ea hau, u ka e tlosa ho sistimi ea hau ka thuso ea litaelo tse latelang:

sudo apt purge nvidia- *
sudo apt autoremove


Litaba tsa sengoloa sena li latela melao-motheo ea rona ea melao ea boitšoaro ea bongoli. Ho tlaleha phoso tlanya mona.

Tlhaloso, tlohela ea hau

Siea maikutlo a hau

aterese ya hao ya imeile ke ke ho phatlalatswa.

*

*

  1. E ikarabella bakeng sa data: Miguel Ángel Gatón
  2. Morero oa data: Laola SPAM, tsamaiso ea maikutlo.
  3. Molao: Tumello ea hau
  4. Puisano ea data: Lintlha li ke ke tsa tsebisoa batho ba boraro ntle le ka tlamo ea molao.
  5. Polokelo ea data: Database e hapiloeng ke Occentus Networks (EU)
  6. Litokelo: Nako efe kapa efe o ka fokotsa, oa hlaphoheloa mme oa hlakola tlhaiso-leseling ea hau.

  1.   Linuxero ho tloha ka 1998 a re

    WIKI ea DEBIAN esale e hlalosa, mohato ka mohato, hore na u ka kenya li-drive tsa NVIDIA joang.
    E bonolo ho feta kamoo e hlalositsoeng mona.
    Kea leboha.

bool('nete)