Comments (6)
A driver? What do you mean? A driver for what?
from larbs.
The driver wich i am referring to is the video card driver.
check if nvidia or amd
then ask Nouveau or propreitairy nvidia driver.
And download driver accordingly / use adjusted config files.
might make a fork if i can find where all is located
(Ok i diden't mean to react with a heart emoji and no reply it ws just becouse it was unclear in terminal browser how to react.)
from larbs.
If someone pushes a quick test to determine what video card driver is needed, I'll merge it, but I don't particularly know how to determine which one is appropriate for everyone's computer.
from larbs.
i have created some code but the final part is failing (if and is not working) also right now it only works for newer gfx cards.
Edit: updated code
#!/bin/sh
#currently only works for relativly new models.
#function calling
#maybe more options with older drivers but i wanted to also just make it check automatically.
Option1="Empty"
Option2="Empty"
Driver="Empty"
Card="Empty"
if lspci | grep -q NVIDIA; then
Option1="Proprietary NVIDIA driver"
Option2="Open source nouveau driver"
Card="Nvidia"
elif lspci | grep -q Amd; then
Option1="Proprietary Catalyst driver"
Option2="Open Source AMDGPU driver"
Card="Amd"
elif lspci | grep -q Intel; then
instal="xf86-video-intel"
else
echo It can not be!
fi
echo $Option1
echo $Option2
cmd=(dialog --separate-output --checklist "Select Gfx driver using space:" 22 76 16)
options=(1 "$Option1" on # any option can be set to default to "on"
2 "$Option2" off)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
do
case $choice in
1)
echo "First Option"
selection="1"
;;
2)
echo "Second Option"
selection="2"
;;
esac
done
if [ "$Card"=="Amd" ] && [ "$selection"=="1" ];then
instal="Catalyst"
elif [ "$Card"=="Amd" ] && [ "$selection"=="2" ];then
instal="AMDGPU"
elif [ "$Card"=="Nvidia" ] && [ "$selection"=="1" ];then
instal="NVIDIA"
elif [ "$Card"=="Nvidia" ] && [ "$selection"=="2" ];then
instal="nouveau"
else echo you found a bug
fi
pacman -S $instal
from larbs.
this code never install the intel driver, because you don'nt use the var Driver in the pacman -S at last
from larbs.
@kaizetsubaki i didn't really care about intel drivers yet.
Also, the script simply didn't work.
@LukeSmithxyz Did u close because u fixed or because of inactivity on my part ?
I ended up manually installing it at the time.
And later switched to windows now i wanna dual boot but lost a lot of my know-how.
from larbs.
Related Issues (20)
- Brightness Keys Not Working HOT 3
- LARBS installation on Artix problem with refreshing Arch keyring
- LARBS - Failed to install AUR helper HOT 9
- cant record using dmenurecord using 2 monitors HOT 1
- Missing crontab HOT 1
- My old DE Plasms breaks
- WWAN doesnt recognise hardware HOT 1
- Multi-Monitor configuration: Cursor is abnormally large HOT 1
- Librewolf margins HOT 2
- Failed to install AUR helper
- Status bar tags displaying improperly with external display HOT 4
- Yay now requires go programming language installed!
- Issues with Larbs Installation: Screen Resolution, Brightness Adjustment, and Nvidia Driver Installation HOT 6
- Sudo not prompting for root password for secondary user on Arch Linux HOT 1
- /etc/profile.d/dbus is causing multiple instances of dbus
- newsboat urls will replace with default
- Failed to Install AUR Helper HOT 1
- lf file manager stuck on "loading..." after previewing 2 or more files HOT 3
- this issues isn't fixed yet
- Some lightweight music players. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from larbs.