Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
762230bc
Commit
762230bc
authored
Jul 19, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm prescription switch-to-nvidia: update kernel only instead of full-upgrade,…
epm prescription switch-to-nvidia: update kernel only instead of full-upgrade, do i586-fix after all
parent
20425073
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
switch-to-nvidia.sh
prescription.d/switch-to-nvidia.sh
+7
-3
No files found.
prescription.d/switch-to-nvidia.sh
View file @
762230bc
...
...
@@ -21,7 +21,10 @@ if a= lspci -k | grep -A 2 -i "VGA" | grep "Kernel driver in use" | grep -q "nvi
exit
fi
epm full-upgrade
||
fatal
# epm full-upgrade does too many things for this spec
epm update
||
fatal
# epm upgrade || fatal
epm update-kernel
||
fatal
# проверяем, совпадает ли ядро (пока нет такой проверки в update-kernel)
# TODO: добавить функцию в update-kernel и здесь использовать её
...
...
@@ -56,8 +59,9 @@ if [ -e "/etc/X11/xorg.conf" ] && [ "$(grep -E 'nouveau|fbdev' "/etc/X11/xorg.co
fi
epm
install
--skip-installed
nvidia-settings nvidia-vaapi-driver ocl-nvidia libcuda vulkan-tools
\
libnvidia-encode libnvidia-ngx libnvidia-opencl libvulkan1
epm
install
--skip-installed
nvidia-settings nvidia-vaapi-driver ocl-nvidia libcuda vulkan-tools libnvidia-encode libnvidia-ngx libnvidia-opencl libvulkan1
epm i586-fix
# для работы 2-х и более видеокарт от nvidia необходимо добавить "nvidia-drm.modeset=1" в строку GRUB_CMDLINE_LINUX_DEFAULT= в файле /etc/default/grub и обновить grub
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment