Toggle menu
Manjaro
Export translations
personal-extra
Toggle personal menu
Personal tools
English
Create account
Log in
Toggle search
Search
Random page
Export translations
Views
Language statistics
Message group statistics
Export
Actions
Namespaces
Translate
Variants
Tools
Printable version
Settings
Group
"What should I be aware of if I'm not on an LTS kernel?"
About Manjaro
Add a Storage Partition & Modify your System to Suit
Aliases in .bashrc
ALSA
Alternative way to install ManjaroISO
Amlogic TV boxes
Arch User Repository
Audio Players
Avidemux - Cutting out sections of video
Awesome Community Edition
Basic Submission Rules
Basic Tips for conky
BIOS and UEFI
Block Lists for Deluge & qBittorrent
Bmpanel2
Btrfs
Budgie
Build Manjaro ISOs with buildiso
Buildiso with AUR packages: Using buildpkg
Burn an ISO File
Change to a Different Download Server
CheatSheet
Check a Downloaded ISO Image For Errors
ClamAV
Configure Graphics Cards
Configure NVIDIA (non-free) settings and load them on Startup
Contributing
Create Manjaro Packages
Deepin
Desktop Environments and Window Managers
Developer Tools
Did X.server recognise your monitor correctly?
Display Managers / Login Screens
Displaymanager / Loginmanager
DMenu
Dolphin
Downgrading packages
Download Manjaro
Enable Touchpad Horizontal and Vertical Scrolling
Encfs
File Systems
Firejail
Firewalls
Firewalls and Security
Flatpak
Forum Rules
Fstab
Fstab - Use SystemD automount
GNOME
Graphical Software Managers
GRUB/Restore the GRUB Bootloader
How to mount Windows (NTFS) filesystem due to hibernation
How-to verify GPG key of official .ISO images
Important hidden .dot files in your home partition
Improve Font Rendering
Install Desktop Environments
Install Display Managers
Installation Guides
Installation with Manjaro Architect
Internet Browsers
KDE
Kernel Fails to Load (pata acpi error)
Keyboard and Mouse Sharing
Keyboard Shortcuts
Kvantum
Limit the size of .log files & the journal
Linux Security
List of Qt Applications
Locale
LXDM Configuration
LXQt
LXQt with kwin
Main Page
Make GRUB menu & boot-up/down fonts bigger
Makepkg
Manjaro
Manjaro FAQ
Manjaro Forums
Manjaro Hardware Detection
Manjaro Hardware Detection Overview
Manjaro IRC
Manjaro Kernels
Manjaro Mirrors
Manjaro Online
Manjaro Packaging Standards
Manjaro Polkit Rules
Manjaro Settings Manager
Manjaro-ARM
Manjaro-tools
Manjaro:A Different Kind of Beast
ManjaroISO
Mounting disk images
Mozilla Firefox
Mplayer
Networking
Octopi
Openbox
Pacman
Pacman Overview
Pacman troubleshooting
Pacman-mirrors
Page Translation
Pamac
Partitioning Overview and Existing Partition Tables
PCmanFM-Qt
PKGBUILD
Plymouth
Power Management
Preserve Manjaro Bootloader
Printing
Proper ~/.xinitrc File
Reactivating the Backlight
Repositories and Servers
Set all Java apps to use GTK+ font & theme settings
Set all Qt app's to use GTK+ font & theme settings
Setup Kmail & Davmail to connect to an Exchange server
Sharing files with Python
Snap
Software Applications
Some basics of MBR v/s GPT and BIOS v/s UEFI
Spotify
Swap
Switching Branches
Sync dynamic IP with openDNS service via ddclient
System Maintenance
Systemd-boot
TeamViewer
The Rolling Release Development Model
UEFI - Install Guide
Undervolt intel CPU
Using autofs (automount) with NFS
Using Compton for a tear-free experience in Xfce
Using Manjaro for Beginners
Using Manjaro for Windows users
Using Samba in your File Manager
Various screen tearing fixes
VCS PKGBUILD Guidelines
Viewing and editing configuration files
Virt-manager
VirtualBox
Vivaldi Browser
VMware
Wacom Tablet And Pen
Western Digital Green - Drive Fix - Linux
Wiki tweak page
Worker - An Introduction
Workflow states
Language
aa - Afar
ab - Abkhazian
abs - Ambonese Malay
ace - Achinese
ady - Adyghe
ady-cyrl - Adyghe (Cyrillic script)
aeb - Tunisian Arabic
aeb-arab - Tunisian Arabic (Arabic script)
aeb-latn - Tunisian Arabic (Latin script)
af - Afrikaans
ak - Akan
aln - Gheg Albanian
alt - Southern Altai
am - Amharic
ami - Amis
an - Aragonese
ang - Old English
anp - Angika
ar - Arabic
arc - Aramaic
arn - Mapuche
arq - Algerian Arabic
ary - Moroccan Arabic
arz - Egyptian Arabic
as - Assamese
ase - American Sign Language
ast - Asturian
atj - Atikamekw
av - Avaric
avk - Kotava
awa - Awadhi
ay - Aymara
az - Azerbaijani
azb - South Azerbaijani
ba - Bashkir
ban - Balinese
ban-bali - ᬩᬲᬩᬮᬶ
bar - Bavarian
bbc - Batak Toba
bbc-latn - Batak Toba (Latin script)
bcc - Southern Balochi
bcl - Central Bikol
be - Belarusian
be-tarask - Belarusian (Taraškievica orthography)
bg - Bulgarian
bgn - Western Balochi
bh - Bhojpuri
bho - Bhojpuri
bi - Bislama
bjn - Banjar
bm - Bambara
bn - Bangla
bo - Tibetan
bpy - Bishnupriya
bqi - Bakhtiari
br - Breton
brh - Brahui
bs - Bosnian
btm - Batak Mandailing
bto - Iriga Bicolano
bug - Buginese
bxr - Russia Buriat
ca - Catalan
cbk-zam - Chavacano
cdo - Min Dong Chinese
ce - Chechen
ceb - Cebuano
ch - Chamorro
cho - Choctaw
chr - Cherokee
chy - Cheyenne
ckb - Central Kurdish
co - Corsican
cps - Capiznon
cr - Cree
crh - Crimean Turkish
crh-cyrl - Crimean Tatar (Cyrillic script)
crh-latn - Crimean Tatar (Latin script)
cs - Czech
csb - Kashubian
cu - Church Slavic
cv - Chuvash
cy - Welsh
da - Danish
de - German
de-at - Austrian German
de-ch - Swiss High German
de-formal - German (formal address)
din - Dinka
diq - Zazaki
dsb - Lower Sorbian
dtp - Central Dusun
dty - Doteli
dv - Divehi
dz - Dzongkha
ee - Ewe
egl - Emilian
el - Greek
eml - Emiliano-Romagnolo
en - English
en-ca - Canadian English
en-gb - British English
eo - Esperanto
es - Spanish
es-419 - Latin American Spanish
es-formal - español (formal)
et - Estonian
eu - Basque
ext - Extremaduran
fa - Persian
ff - Fulah
fi - Finnish
fit - Tornedalen Finnish
fj - Fijian
fo - Faroese
fr - French
frc - Cajun French
frp - Arpitan
frr - Northern Frisian
fur - Friulian
fy - Western Frisian
ga - Irish
gag - Gagauz
gan - Gan Chinese
gan-hans - Gan (Simplified)
gan-hant - Gan (Traditional)
gcr - Guianan Creole
gd - Scottish Gaelic
gl - Galician
glk - Gilaki
gn - Guarani
gom - Goan Konkani
gom-deva - Goan Konkani (Devanagari script)
gom-latn - Goan Konkani (Latin script)
gor - Gorontalo
got - Gothic
grc - Ancient Greek
gsw - Swiss German
gu - Gujarati
guc - Wayuu
gv - Manx
ha - Hausa
hak - Hakka Chinese
haw - Hawaiian
he - Hebrew
hi - Hindi
hif - Fiji Hindi
hif-latn - Fiji Hindi (Latin script)
hil - Hiligaynon
ho - Hiri Motu
hr - Croatian
hrx - Hunsrik
hsb - Upper Sorbian
ht - Haitian Creole
hu - Hungarian
hu-formal - magyar (formal)
hy - Armenian
hyw - Western Armenian
hz - Herero
ia - Interlingua
id - Indonesian
ie - Interlingue
ig - Igbo
ii - Sichuan Yi
ik - Inupiaq
ike-cans - Eastern Canadian (Aboriginal syllabics)
ike-latn - Eastern Canadian (Latin script)
ilo - Iloko
inh - Ingush
io - Ido
is - Icelandic
it - Italian
iu - Inuktitut
ja - Japanese
jam - Jamaican Creole English
jbo - Lojban
jut - Jutish
jv - Javanese
ka - Georgian
kaa - Kara-Kalpak
kab - Kabyle
kbd - Kabardian
kbd-cyrl - Kabardian (Cyrillic script)
kbp - Kabiye
kcg - Tyap
kg - Kongo
khw - Khowar
ki - Kikuyu
kiu - Kirmanjki
kj - Kuanyama
kjp - Eastern Pwo
kk - Kazakh
kk-arab - Kazakh (Arabic script)
kk-cn - Kazakh (China)
kk-cyrl - Kazakh (Cyrillic script)
kk-kz - Kazakh (Kazakhstan)
kk-latn - Kazakh (Latin script)
kk-tr - Kazakh (Turkey)
kl - Kalaallisut
km - Khmer
kn - Kannada
ko - Korean
ko-kp - Korean (North Korea)
koi - Komi-Permyak
kr - Kanuri
krc - Karachay-Balkar
kri - Krio
krj - Kinaray-a
krl - Karelian
ks - Kashmiri
ks-arab - Kashmiri (Arabic script)
ks-deva - Kashmiri (Devanagari script)
ksh - Colognian
ku - Kurdish
ku-arab - Kurdish (Arabic script)
ku-latn - Kurdish (Latin script)
kum - Kumyk
kv - Komi
kw - Cornish
ky - Kyrgyz
la - Latin
lad - Ladino
lb - Luxembourgish
lbe - Lak
lez - Lezghian
lfn - Lingua Franca Nova
lg - Ganda
li - Limburgish
lij - Ligurian
liv - Livonian
lki - Laki
lld - Ladin
lmo - Lombard
ln - Lingala
lo - Lao
loz - Lozi
lrc - Northern Luri
lt - Lithuanian
ltg - Latgalian
lus - Mizo
luz - Southern Luri
lv - Latvian
lzh - Literary Chinese
lzz - Laz
mad - Madurese
mai - Maithili
map-bms - Basa Banyumasan
mdf - Moksha
mg - Malagasy
mh - Marshallese
mhr - Eastern Mari
mi - Maori
min - Minangkabau
mk - Macedonian
ml - Malayalam
mn - Mongolian
mni - Manipuri
mnw - Mon
mo - Moldovan
mr - Marathi
mrh - Mara
mrj - Western Mari
ms - Malay
mt - Maltese
mus - Muscogee
mwl - Mirandese
my - Burmese
myv - Erzya
mzn - Mazanderani
na - Nauru
nah - Nāhuatl
nan - Min Nan Chinese
nap - Neapolitan
nb - Norwegian Bokmål
nds - Low German
nds-nl - Low Saxon
ne - Nepali
new - Newari
ng - Ndonga
nia - Nias
niu - Niuean
nl - Dutch
nl-informal - Nederlands (informeel)
nn - Norwegian Nynorsk
no - Norwegian
nov - Novial
nqo - N’Ko
nrm - Norman
nso - Northern Sotho
nv - Navajo
ny - Nyanja
nys - Nyungar
oc - Occitan
olo - Livvi-Karelian
om - Oromo
or - Odia
os - Ossetic
pa - Punjabi
pag - Pangasinan
pam - Pampanga
pap - Papiamento
pcd - Picard
pdc - Pennsylvania German
pdt - Plautdietsch
pfl - Palatine German
pi - Pali
pih - Norfuk / Pitkern
pl - Polish
pms - Piedmontese
pnb - Western Punjabi
pnt - Pontic
prg - Prussian
ps - Pashto
pt - Portuguese
pt-br - Brazilian Portuguese
qu - Quechua
qug - Chimborazo Highland Quichua
rgn - Romagnol
rif - Riffian
rm - Romansh
rmy - Vlax Romani
rn - Rundi
ro - Romanian
roa-tara - Tarantino
ru - Russian
rue - Rusyn
rup - Aromanian
ruq - Megleno-Romanian
ruq-cyrl - Megleno-Romanian (Cyrillic script)
ruq-latn - Megleno-Romanian (Latin script)
rw - Kinyarwanda
sa - Sanskrit
sah - Sakha
sat - Santali
sc - Sardinian
scn - Sicilian
sco - Scots
sd - Sindhi
sdc - Sassarese Sardinian
sdh - Southern Kurdish
se - Northern Sami
sei - Seri
ses - Koyraboro Senni
sg - Sango
sgs - Samogitian
sh - Serbo-Croatian
shi - Tachelhit
shi-latn - Tachelhit (Latin script)
shi-tfng - Tachelhit (Tifinagh script)
shn - Shan
shy - Shawiya
shy-latn - Shawiya (Latin script)
si - Sinhala
simple - Simple English
sk - Slovak
skr - Saraiki
skr-arab - Saraiki (Arabic script)
sl - Slovenian
sli - Lower Silesian
sm - Samoan
sma - Southern Sami
smn - Inari Sami
sn - Shona
so - Somali
sq - Albanian
sr - Serbian
sr-ec - Serbian (Cyrillic script)
sr-el - Serbian (Latin script)
srn - Sranan Tongo
ss - Swati
st - Southern Sotho
stq - Saterland Frisian
sty - себертатар
su - Sundanese
sv - Swedish
sw - Swahili
szl - Silesian
szy - Sakizaya
ta - Tamil
tay - Tayal
tcy - Tulu
te - Telugu
tet - Tetum
tg - Tajik
tg-cyrl - Tajik (Cyrillic script)
tg-latn - Tajik (Latin script)
th - Thai
ti - Tigrinya
tk - Turkmen
tl - Tagalog
tly - Talysh
tly-cyrl - толыши
tn - Tswana
to - Tongan
tpi - Tok Pisin
tr - Turkish
tru - Turoyo
trv - Taroko
ts - Tsonga
tt - Tatar
tt-cyrl - Tatar (Cyrillic script)
tt-latn - Tatar (Latin script)
tum - Tumbuka
tw - Twi
ty - Tahitian
tyv - Tuvinian
tzm - Central Atlas Tamazight
udm - Udmurt
ug - Uyghur
ug-arab - Uyghur (Arabic script)
ug-latn - Uyghur (Latin script)
uk - Ukrainian
ur - Urdu
uz - Uzbek
uz-cyrl - Uzbek (Cyrillic script)
uz-latn - Uzbek (Latin script)
ve - Venda
vec - Venetian
vep - Veps
vi - Vietnamese
vls - West Flemish
vmf - Main-Franconian
vo - Volapük
vot - Votic
vro - Võro
wa - Walloon
war - Waray
wo - Wolof
wuu - Wu Chinese
xal - Kalmyk
xh - Xhosa
xmf - Mingrelian
xsy - Saisiyat
yi - Yiddish
yo - Yoruba
yue - Cantonese
za - Zhuang
zea - Zeelandic
zgh - Standard Moroccan Tamazight
zh - Chinese
zh-cn - Chinese (China)
zh-hans - Simplified Chinese
zh-hant - Traditional Chinese
zh-hk - Chinese (Hong Kong)
zh-mo - Chinese (Macau)
zh-my - Chinese (Malaysia)
zh-sg - Chinese (Singapore)
zh-tw - Chinese (Taiwan)
zu - Zulu
qqq - Message documentation
Format
Export for off-line translation
Export in native format
Fetch
{{DISPLAYTITLE:配置显卡}}<languages/> __TOC__ =简介= {{注意|命令工具mhwd仍处于开发状态,目前仅可用于安装通过pci方式连接的显卡驱动。}} 在安装Manjaro完整版的时候(比如包含一个预安装的桌面环境、编解码器和软件应用),系统的GUI和CLI安装程序会自动调用mhwd来检测你的显卡并安装最合适的驱动。'''至于是安装开源版本的驱动还是非开源版本,取决于你在安装程序启动时选择的是开源显卡还是非开源悬卡启动'''。 否则,如果安装的是极简'''NET-Edition'''版的Manjaro,就有必要在安装后手动运行mhwd命令。 '''对于新手,推荐使用[[Manjaro 设置管理器]]中的 "硬件检测" 来更换或安装新的显卡驱动。'''<br /> 对于中等或高级用户,任何时候都可以使用mhwd命令来安装、重装或删除已安装的显卡驱动,如下文所述。 = 自动识别与安装 = 这是推荐的方式来进行显卡驱动的检测与安装。自动安装命令的语法如下: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -a [pci or usb connection] [free or nonfree drivers] 0300}} </div> 上述命令中,各参数含义为: * '''-a''': 自动检测并安装合适的驱动 * '''[pci 或 usb]''': 安装通过pci或usb方式连接的显卡驱动,通常pci连接的显卡在设备内部,而usb连接的属于外接显卡(再次提醒, mhwd目前仅支持pci连接的显卡) * '''[free 或 nonfree]''': 安装开源驱动 (比如由Linux社区提供的版本), or 闭源驱动 (比如由硬件制造商提供的版本) * '''0300''': 表示要安装的是显卡的驱动 (0300 是显卡的ID. 随着mhwd命令工具的发展,其他新的ID将会用于表示其他硬件设备). 例如,下面的命令将会为通过pci方式连接的显卡自动检测并安装最合适的'''闭源驱动''': <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -a pci nonfree 0300}} </div> 或者,下面的命令将会为通过pci方式连接的显卡自动检测而并安装最合适的'''开源驱动''': <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -a pci free 0300}} </div> = 手动识别并安装 = 手动安装需要相对简单、直接地操作mhwd命令。分为两个阶段: '''1.''' 找到合适的驱动进行安装,然后 '''2.''' 安装该驱动 {{提示| 你需要确保你为你的显卡找到了正确的驱动来安装!}} == 查找可用驱动 == 在手动安装显卡驱动之前,需要确认目前有哪些驱动可选。通过如下命令可列出当前可用的驱动: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=mhwd -l [optional: detailed view] [optional: --pci or --usb connection]}} </div> 不加额外选项运行这个命令,将会列出适用于你系统的所有驱动的基本信息。'''所有显卡驱动的名称都有共同的前缀 (video-) '''。列出的驱动基本信息格式如下: * 名称 * 版本 * 开源还是闭源 * 连接方式为PCI 还是 USB 通过如下命令可获取已安装驱动的详细信息: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=mhwd -l -d}} </div> 信息格式如下: * 名称 * 版本 * PCI 或 USB 连接 * 描述 * Priority * 开源或闭源 * 依赖 * 冲突 * 类别ID (比如 '0300' 是显卡设备的ID) * Vendor ID 此外,添加 ''--pci'' 选项将会仅列出通过内部PCI方式连接的设备驱动(比如显卡)的详细信息: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=mhwd -l -d --pci}} </div> == 安装驱动 == 安装显卡驱动的命令语法如下: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -i pci [name of driver]}} </div> 命令参数: * '''-i''': 安装驱动 * '''[pci]''': 安装通过内部pci方式连接的设备驱动 (比如显卡) * '''[name of driver]''': 要安装的驱动名称 例如,要安装nvidia显卡的闭源驱动,可使用如下命令: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -i pci video-nvidia}} </div> == 强制重新安装驱动 == <div lang="en" dir="ltr" class="mw-content-ltr"> {{warning|use this command with care!}} </div> 不先删除,直接强制重新安装驱动: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -f -i pci [name of driver]}} </div> 例如,如下命令可强制重新安装nvidia显卡驱动: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -f -i pci video-nvidia}} </div> = 删除已安装的驱动 = 有时可能会需要删除已安装的显卡驱动。类似于手动安装驱动,删除也需要两步: '''1.''' 找到安装的驱动 '''2.''' 删除它 毕竟如果你不知道要删除哪个驱动,想删除还是有点困难的! == 找到安装的驱动 == 要查找并列出Manjaro已安装的驱动 - 包括你要删除的那个,语法如下: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=mhwd -li [optional: detailed view] [optional: pci or usb devices only]}} </div> 不添加额外选项,此i命令将会列出你的系统之欧冠所有已安装驱动的基本信息。'''再次提醒,所有显卡驱动名称中都会有前缀(video-)'''。通过''-d''选项可以列出驱动的详细信息: <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=mhwd -li -d}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> This information may prove useful to determine any otherwise unforeseen consequences or problems upon removing a driver. And again, it is also possible to filter your list of installed drivers by whether they are used on hardware connected via pci or usb. In this instance, a detailed list will be generated only for installed drivers used on hardware with a PCI connection: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=mhwd -li -d --pci}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> One other way of reporting drivers installed andin use is using the {{ic|inxi}} tool. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=inxi -G}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{note|The mhwd profile 'video-linux' corresponds to the latest opensource driver availablefor your hardware.}} {{note|The mhwd profile 'video-vesa' is a generic fallback driver which should not be used in the vast majority of cases.}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> == Removing Installed Drivers == </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{warning|use this command with care!}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> To remove an installed driver, the syntax is: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -r [pci or usb] [name of driver]}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For example, to remove the installed driver for a nvidia graphics card (connected internally via pci), the following command would be used: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd -r pci video-nvidia}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> = Checking configuration = </div> <div lang="en" dir="ltr" class="mw-content-ltr"> You can check configuration with: {{UserCmd|command=sudo mhwd-gpu --check}} {{UserCmd|command=mhwd-gpu --status}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> And if needed fix issues with: {{UserCmd|command=sudo mhwd-gpu --setmod}} {{UserCmd|command=sudo mhwd-gpu --setxorg [PATH]}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Make sure the path to xorg config file is valid. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Note about ati, xorg file and login artifacts or kicad: if you get artifacts upon logging in or if kicad rendering and zooming is slow, try adding [Option "EXAPixmaps" "off"] in the "Device" section of xorg config file. See [https://wiki.archlinux.org/title/ATI#Performance_and/or_artifacts_issues_when_using_EXA here.] </div> <div lang="en" dir="ltr" class="mw-content-ltr"> =Dual GPU= </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==PRIME GPU offloading== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> If your hardware includes more than one GPU card you can make use of PRIME offloading. PRIME is a technology used to manage hybrid graphics found on recent desktops and laptops (Optimus for NVIDIA, AMD Dynamic Switchable Graphics for Radeon). PRIME detects both cards and automatically selects Intel card by default; using the more powerful discrete graphics card, when called, for more demanding applications. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> In Manjaro this will automatically be available for hybrid graphics systems using intel/modesetting for the integrated card and free drivers (AMDGPU or Nouveau) for the dGPU. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> You may choose to run a program with a specific GPU, prepending the application's command with ''DRI_PRIME=x'', where ''x'' is the card priority number. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For example, to run an application using the second card prepend the application command with '''DRI_PRIME=1''' </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=DRI_PRIME=1 glxspheres64}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> To use the 1st card (usually when the CPU has an embedded GPU, this is used) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=DRI_PRIME=0 glxspheres64}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> If you want to always run some application with the discrete gpu, you may copy that application's .desktop file to {{ic|~/.local/share/applications/}} and edit the "Exec" property </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=Exec=DRI_PRIME=1 inkscape}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Some applications (usually games like steam) may have an embedded option to specify the command line, where it is preferred to use this way. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For example, in Steam, select a game - that you want to run using your discrete Nvidia card - from the Library page of the Steam client, right-click, and select Properties. Click the SET LAUNCH OPTIONS... button and specify for the command line options followed by the default launch hook %command%. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> DRI_PRIME=1 %command% </div> <div lang="en" dir="ltr" class="mw-content-ltr"> To use the dGPU by default see '''[https://wiki.archlinux.org/index.php/PRIME#Reverse_PRIME Reverse Prime]''' </div> <div lang="en" dir="ltr" class="mw-content-ltr"> = NVIDIA Proprietary (non-free) drivers = </div> <div lang="en" dir="ltr" class="mw-content-ltr"> If you have a Nvidia card, you have the option to use the proprietary (closed source = non-free) drivers instead of the open source (free) nouveau driver. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For Legacy/older nvidia cards, Manjaro maintains older drivers for compatibility. In these cases the driver name is different, instead of nvidia it is nvidia-390xx or nvidia340xx, whether in nvidia-only or bumblebee mhwd driver configuration. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> When you install the non-free driver, mhwd includes a Nvidia utility "Nvidia Settings Utility" that can help you configure several settings. You can find this utility in your GUI Applications Menu or start it from a terminal </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo nvidia-settings}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> If you are using bumblebee, the nvidia utility needs a special command </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo optirun -b none nvidia-settings -c :8}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==Nvidia Optimus== For Optimus laptops or dual GPU hardware with intel and nvidia GPUs, you have three options to utilize the card driver usage at your preference or your hardware capabilities. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''[[#nvidia-prime|PRIME]] (mhwd default)''' </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''[[#Bumblebee|Bumblebee]]''' </div> <div lang="en" dir="ltr" class="mw-content-ltr"> When you install Manjaro with the non-free option selected from Grub menu, or when you use automatic driver installation, PRIME or bumblebee is installed by default, depending on support for your GPU, PRIME being preferred. In these cases, the mhwd driver is named "video-hybrid-intel-nvidia-***xx-prime" or "video-hybrid-intel-nvidia-***xx-bumblebee". </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==Configure The Resolution/Refresh Rate== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{warning|The method provided does not currently work for the Cinnamon Edition. As soon as a solution is found, then this article will be updated.}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''1.''' Start nvidia-settings utility </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''2.''' Change resolution and refresh rate in 'X Server Display Configuration' tab. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''3.''' Hit the 'Save to X Configuration File' button and save to '''/etc/X11/mhwd.d/nvidia.conf''' </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''4.''' Now start your terminal and enter the following command to complete the process: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=sudo mhwd-gpu --setmod nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==Configure X Screen settings (OpenGL Settings, Antialiasing, X Server XVideo)== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''1.''' Start nvidia-settings utility </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''2.''' Change settings in X Server XVideo Settings, OpenGL and Antialiasing, in the 'X Screen' tab. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''3.''' Click on 'nvidia-settings configuration' tab and click on the 'Save Current Configuration' button. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''4.''' Save the .nvidia-settings-rc to the default location specified ('''/home/[your account name]''') </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''5.''' Edit the .xinitrc file with your preferred text editor. For example, if you use gedit, run this in your terminal: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=gedit ~/.xinitrc}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''6.''' Once opened, add the following line into the configuration file: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=exec nvidia-settings --load-config-only}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''7.''' Save and exit. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==Nvidia settings for special cases == </div> <div lang="en" dir="ltr" class="mw-content-ltr"> In case your monitor is not entering powersave mode (DPMS), try adding `Option "HardDPMS" "true"` in your Xorg monitor section. For example: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Section "Monitor" # HorizSync source: edid, VertRefresh source: edid Identifier "Monitor0" VendorName "Unknown" ModelName "BenQ ZOWIE XL LCD" HorizSync 30.0 - 160.0 VertRefresh 56.0 - 144.0 Option "DPMS" Option "HardDPMS" "true" EndSection </div> <div lang="en" dir="ltr" class="mw-content-ltr"> After forum [https://forum.manjaro.org/t/display-does-not-go-to-powersave/84004/5 issue] </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==nvidia-prime== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Manjaro also offers an easy way to use PRIME with proprietary Nvidia drivers.<br> Simply select and install an 'nvidia-prime' profile through MSM or mhwd (such as ''video-hybrid-intel-nvidia-440xx-prime'') and ensure the package ''nvidia-prime'' is installed. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Then to use the discrete Nvidia card it works the same as [[#PRIME_GPU_offloading|PRIME offloading]] above but uses a different command. Prepend the application command with '''prime-run'''. For example: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=prime-run glxspheres64}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==Bumblebee== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Bumblebee configuration is mainly developed to help minimize laptop battery consumption, since Nvidia usually consumes significant power, while Intel cards are more power efficient. So, bumblebee detects both cards and automatically selects Intel card by default and can use the Nvidia for more demanding applications. For an application to use the Nvidia card, prepend the application command with optirun or primusrun. For example: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=optirun glxspheres64}} {{UserCmd|command=primusrun inkscape}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> If you want to specifically run some application with the nvidia driver, you may edit that application's .desktop file "Exec" property, or run it in terminal like this </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Exec=primusrun chromium </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Some applications (usually games like steam) may have an embedded option to specify the command line, where it is preferred to use this way. </div> <div lang="en" dir="ltr" class="mw-content-ltr"> For example, in Steam, select a game - that you want to run using your discrete Nvidia card - from the Library page of the Steam client, right-click, and select Properties. Click the SET LAUNCH OPTIONS... button and specify for the command line options followed by the default launch hook %command%. primusrun %command% </div> <div lang="en" dir="ltr" class="mw-content-ltr"> = See also = </div> <div lang="en" dir="ltr" class="mw-content-ltr"> * [[Manjaro Hardware Detection Overview]] </div> <div lang="en" dir="ltr" class="mw-content-ltr"> = Easier way = </div> <div lang="en" dir="ltr" class="mw-content-ltr"> You may use a GUI version of mhwd in [[Manjaro Settings Manager#Hardware Detection]] : With this tool you can: : - install graphic driver : - switch graphic driver </div> <div lang="en" dir="ltr" class="mw-content-ltr"> https://www.youtube.com/watch?v=UAFGukpEIJw </div> <div lang="en" dir="ltr" class="mw-content-ltr"> = How to check the driver = </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmd|command=glxinfo | grep OpenGL}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> Example output command: </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''Nvidia driver''' ( proprietary driver ) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmdOutput|command=glxinfo | grep OpenGL|result= OpenGL vendor string: NVIDIA Corporation<br> OpenGL renderer string: GeForce GTX 660/PCIe/SSE2<br> OpenGL core profile version string: 4.3.0 NVIDIA 331.49<br> OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler<br> OpenGL core profile context flags: (none)<br> OpenGL core profile profile mask: core profile<br> OpenGL core profile extensions:<br> OpenGL version string: 4.4.0 NVIDIA 331.49<br> OpenGL shading language version string: 4.40 NVIDIA via Cg compiler<br> OpenGL context flags: (none)<br> OpenGL profile mask: (none)<br> OpenGL extensions:}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''Nouveau''' , '''Gallium''' from '''Mesa''' ( open source driver ) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmdOutput|command=glxinfo | grep OpenGL|result= OpenGL vendor string: nouveau<br> OpenGL renderer string: Gallium 0.4 on NVE6<br> OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.5<br> OpenGL core profile shading language version string: 1.40<br> OpenGL core profile context flags: (none)<br> OpenGL core profile extensions:<br> OpenGL version string: 3.0 Mesa 9.2.5<br> OpenGL shading language version string: 1.30<br> OpenGL context flags: (none)<br> OpenGL extensions:}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> '''Intel''' driver from '''Mesa''' ( open driver ) </div> <div lang="en" dir="ltr" class="mw-content-ltr"> {{UserCmdOutput|command=glxinfo | grep OpenGL|result= OpenGL vendor string: Intel Open Source Technology Center<br> OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Desktop<br> OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.6<br> OpenGL core profile shading language version string: 3.30<br> OpenGL core profile context flags: (none)<br> OpenGL core profile profile mask: core profile<br> OpenGL core profile extensions:<br> OpenGL version string: 3.0 Mesa 11.0.6<br> OpenGL shading language version string: 1.30<br> OpenGL context flags: (none)<br> OpenGL extensions:<br> OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.6<br> OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00<br> OpenGL ES profile extensions:}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Checking vulkan support ==== </div> <div lang="en" dir="ltr" class="mw-content-ltr"> OpenGL is a graphics API specification and it has been superseded by the Vulkan api. To check support for Vulkan applications, you can install vulkan-tools and run {{UserCmdOutput|command=vkcube|result=Selected GPU 0: NVIDIA GeForce RTX 3050 Laptop GPU, type: DiscreteGpu}} </div> <div lang="en" dir="ltr" class="mw-content-ltr"> With integrated GPU you can select the GPU: {{UserCmdOutput|command=vkcube --gpu_number 0|result=Selected GPU 0: NVIDIA GeForce RTX 3050 Laptop GPU, type: DiscreteGpu}} {{UserCmdOutput|command=vkcube --gpu_number 1|result=Selected GPU 1: AMD Radeon Graphics (RADV RENOIR), type: IntegratedGpu }}$ </div> [[Category:Contents Page]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
OK