Category
🤖
TechTranscript
00:00hello friends i received a comment on my latest video about alpine linux
00:05asking me to see if it's possible or to install nvidia drivers on alpine linux
00:14this is the official wiki page for nvidia on alpine linux's wiki it says that
00:21the proprietary nvidia driver is not available for muscle libc which is the one that's used on
00:31alpine linux this probably means that nvidia when compiled their drivers which is which are the
00:40proprietary ones they compiled it on the standard c library that's used on almost any linux distribution
00:51and that one is glibc or gnusy library muscle libc needs you to recompile the drivers the proprietary
01:05ones in order to get it get them or get it working on your muscle libc linux distribution and here comes
01:16the problem since this depends on something called the source code and this is the difference between
01:24something open source and something closed source or proprietary the thing that is open source
01:32probably has or is always shipped with something called source code which can be compiled and having
01:42the source code helps in many ways and one of them is whenever there is something incompatible from a way
01:51or another there is a way somehow to compile it as long as it's possible because there are sometimes
01:59some programming languages that are maybe architecture dependent or operating system dependent i don't want to
02:08go so deep with this you need to know that whenever something is proprietary it means that it doesn't chip
02:15with its source code thus you cannot recompile it thus it may only be compatible with the limited
02:24group of architectures or operating systems or versions or versions or stuff like that that's why
02:36mostly nvidia proprietary proprietary drivers cannot be installed on alpine linux so far
02:43i from what i looked at here uh this here there is a guy asking the same question
02:55the thing is uh they say that nvidia open sourced some of its drivers what i understood i'm not up to
03:03date about this i may make mistakes about it it's fine to tell me uh uh uh in the comments
03:10my mistakes what i understood is the newer versions of nvidia are the ones that are open sourced
03:18somehow when i look at here i found that not the whole package of the drivers or the driver
03:26is uh open sourced but only the kernel modules if it is like that this may be something that you can
03:34try with your alpine linux installation uh if you or if the full driver is open sourced and the source code
03:44available and it's only the newest one i should apologize here i'm sorry i do not have the newest nvidia
03:54gpus in any of my computers where i can compile or install the source code of the newest version as long as
04:04such thing is possible i may be wrong and it may not be available so this is my uh this is for this
04:13before i tell you my conclusion about this this uh this is something that was told about from the ai
04:21assistant if this is important for you or makes any difference it uh points to this one it's a patch for
04:28the newer for the newer uh patch for this version since it's one of the versions that's compatible with
04:39uh gpu that i have in one of my computers it's a patch for the newer kernel versions but it doesn't
04:46necessarily allow us to uh have this working on alpine linux i'm not sure i may need to try
04:54it's because the ai assistant here tells that it's possible to use it it says here uh for users needing
05:04the nvidia 340 driver on alpine linux you can follow the steps provided in the github repository the
05:10one that we opened this repository offers scripts and patches to build the nvidia 340.108 drivers for
05:19for linux kernels 6.0 and above i'm not sure if this this is possible since here it's not stated that
05:32it's for alpine linux it just tells about how this thing is a patch for the newer kernel versions since
05:40this version of nvidia drivers is very old and it's no longer supported so from what i understood we need
05:49the or before that from what i understood the proprietary nvidia drivers are compiled for glibc
06:00and not muscle libc which is the c library that's used in alpine linux and that makes a lot of difference
06:11and makes the proprietary drivers
06:13uh unable to be installed on alpine linux we need the source code of nvidia drivers to recompile
06:25for muscle libc the one that's used on alpine linux the source code we still don't know whether it's for
06:32the full drivers or only the kernel modules since some articles that i found tell that they are only for
06:41the kernel modules this one tells also that it's not available and i don't have the newest nvidia gpu
06:52that i can try to compile myself this one is just a patch for the newest kernels and it doesn't state anywhere
07:01here that it's possible to do it for uh alpine linux uh alpine linux i'm not sure i may need to try it
07:28anyway yeah that makes it for this video please subscribe if you don't mind like or dislike the video
07:37comment down below with what you think about this whole thing tell me my mistakes i believe i made many
07:45of them here thank you for watching and peace