(Solved) How to Install NVIDIA Drivers on Antix

Forum Forums New users New Users and General Questions (Solved) How to Install NVIDIA Drivers on Antix

Tagged: ,

  • This topic has 26 replies, 5 voices, and was last updated Jan 17-3:09 pm by caprea.
Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #129306
    Member
    keshav-uses-linux

      I’m using a Nvidia Geforce GT 710 graphics card on my desktop PC and I’m trying to fix screen tearing on AntiX 23 Base. I believe it’s a driver issue. Currently, I’m using the default nouveau driver but I want to switch to Nvidia.

      While attempting to install the Nvidia drivers from a .run file from their official website, I encountered an error indicating that I was running an X server.

                                                                                                  
        ERROR: You appear to be running an X server; please exit X before installing.  For further    
               details, please see the section INSTALLING THE NVIDIA DRIVER in the README available   
               on the Linux driver download page at www.nvidia.com.                                   
                                                                                                      
                                                     OK              

      Despite following advice to stop the Desktop Manager and switch to tty view before running the .run file, the same error persists. I’m unsure of how to proceed and would appreciate any assistance.

      • This topic was modified 4 months, 1 week ago by keshav-uses-linux.
      #129309
      Forum Admin
      anticapitalista

        Have you tried using the Nvidia Driver Installer app provided?

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #129310
        Member
        PPC

          anticapitalista beated me to the answer:

          antiX Menu > Control Centre > Drivers > Click the button that tries to install the Nvidia Driver

          Let us know if that does not work, and exactly what error (if any) you get.

          Also:

          I’m trying to fix screen tearing

          Did you try to install a video compositor and enabling it? antiX 23 Full already includes xcompmgr. You can try to install xcompmgr, compton or picom, that should be available in the repository. Run the compositor you install and check if that fixes the screen tearing problem.

          P.

          • This reply was modified 4 months, 1 week ago by PPC.
          #129326
          Member
          keshav-uses-linux

            Have you tried using the Nvidia Driver Installer app provided?

            yes, i tried that bu got this error

            keshav  ~  22:00  sudo /usr/bin/ddm-mx -i nvidia
            Distribution:   antiX
            INSTALL IS nvidia
            creating lock ...
            ===================================
            ddm-mx: 23.03.01
            kernel release: 5.10.188-antix.1-amd64-smp
            kernel version: #1 SMP PREEMPT Mon Jul 31 18:52:00 EEST 2023
            command parameters: -i nvidia
            ===================================
            ===================================
            Install drivers for: nvidia
            Start at (m/d/y): 01/15/2024 22:02:26
            ===================================
            ========================================
            ========================================
            To restore open source drivers use:  
            sudo ddm-mx -p nvidia
            ========================================
            ========================================
            Refreshing Sources with apt-get update
            Continue?
              1) yes (default)
              2) no
            Press <Enter> for the default entry
            Use 'q' to quit
            Hit:1 http://deb.debian.org/debian bookworm-backports InRelease
            Hit:2 http://security.debian.org bookworm-security InRelease                                   
            Ign:3 http://mx-pkg.mirror.net.in/MX-Linux/antix/bookworm bookworm InRelease                   
            Err:4 http://mx-pkg.mirror.net.in/MX-Linux/antix/bookworm bookworm Release                     
              404  Not Found [IP: 2001:df5:fc00:fffb::3 80]
            Hit:5 https://packages.microsoft.com/repos/code stable InRelease                               
            Hit:6 http://ftp.cn.debian.org/debian bookworm-updates InRelease                               
            Hit:7 http://ftp.cn.debian.org/debian bookworm InRelease
            Reading package lists... Done
            E: The repository 'http://mx-pkg.mirror.net.in/MX-Linux/antix/bookworm bookworm Release' does not have a Release file.
            N: Updating from such a repository can't be done securely, and is therefore disabled by default.
            N: See apt-secure(8) manpage for repository creation and user configuration details.
            There was a problem with the apt-get update. See /var/log/ddm.log for details
            


            Did you try to install a video compositor and enabling it? antiX 23 Full already includes xcompmgr. You can try to install xcompmgr, compton or picom, that should be available in the repository. Run the compositor you install and check if that fixes the screen tearing problem.

            That new to me, can guide me on which one should i use and how to install one

            #129330
            Member
            PPC

              To install a compositor, on the terminal:
              sudo apt install xcompmgr

              After it’s installed try running the command xcompmgr

              Check if your screen tearing persists, while the compositor is running.
              running xcompmgr -h shows the flags you can use.

              P.

              #129332
              Member
              keshav-uses-linux

                Alright, I’ve attempted that, but I’m still experiencing a significant amount of screen tearing when I move windows around.

                #129333
                Forum Admin
                anticapitalista

                  Use Repo Manager to change to a working antiX.
                  You might need to upgrade to the latest kernel too (use synaptic or cli-aptiX)

                  5.10.199-antix.1-amd64-smp

                  Philosophers have interpreted the world in many ways; the point is to change it.

                  antiX with runit - leaner and meaner.

                  #129334
                  Member
                  PPC

                    If you want to make one last try with a compositor, install compton and try this command:

                    compton --backend glx --paint-on-overlay --vsync opengl-swc

                    I got that command from https://www.maketecheasier.com/get-rid-screen-tearing-linux/

                    #129396
                    Member
                    keshav-uses-linux

                      Use Repo Manager to change to a working antiX.
                      You might need to upgrade to the latest kernel too (use synaptic or cli-aptiX)

                      5.10.199-antix.1-amd64-smp

                      okay, i dont see Repo manager in my Base Antix Install, how can i install it?



                      If you want to make one last try with a compositor, install compton and try this command:

                      compton –backend glx –paint-on-overlay –vsync opengl-swc

                      I got that command from https://www.maketecheasier.com/get-rid-screen-tearing-linux/

                      thanks, that worked. but i saw another issue after fixiing screen tearing, sometimes, the movement is laggy when moving windows. so i think, i might just try all the possible steps to install a nvidia driver, to see how diffrent the results are

                      #129402
                      Moderator
                      caprea

                        sudo apt install repo-manager

                        #129403
                        Member
                        keshav-uses-linux

                          sudo apt install repo-manager
                          Reading package lists… Done
                          Building dependency tree… Done
                          Reading state information… Done
                          Package repo-manager is not available, but is referred to by another package.
                          This may mean that the package is missing, has been obsoleted, or
                          is only available from another source

                          E: Package ‘repo-manager’ has no installation candidate

                          #129415
                          Forum Admin
                          rokytnji
                            harry@rok:~
                            $ locate repo-manager
                            /usr/bin/repo-manager
                            /usr/share/repo-manager
                            <snip>
                            
                            arry@rok:~
                            $ apt-cache policy repo-manager
                            repo-manager:
                              Installed: 0.2.6
                              Candidate: 0.2.6
                              Version table:
                             *** 0.2.6 500
                                    500 http://la.mxrepo.com/antix//bookworm bookworm/main amd64 Packages
                                    100 /var/lib/dpkg/status
                                 0.2.4.4 500
                                    500 http://la.mxrepo.com/antix//bookworm bookworm/nosystemd amd64 Packages
                            harry@rok:~
                            $ 
                            

                            why are you running base? You probably don’t have the repo enabled.

                            harry@rok:~
                            $ inxi -r
                            Repos:
                              Active apt repos in: /etc/apt/sources.list.d/antix.list
                                1: deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http://la.mxrepo.com/antix//bookworm bookworm main nonfree nosystemd
                              Active apt repos in: /etc/apt/sources.list.d/bookworm-backports.list
                                1: deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
                              Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                                1: deb http://ftp.us.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
                              Active apt repos in: /etc/apt/sources.list.d/debian.list
                                1: deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free non-free-firmware
                                2: deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
                              Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
                                1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
                              No active apt repos in: /etc/apt/sources.list.d/librewolf.list
                              No active apt repos in: /etc/apt/sources.list.d/liquorix.list
                            harry@rok:~
                            $ 
                            

                            You should be running full iso if clueless.

                            Sometimes I drive a crooked road to get my mind straight.
                            I don't suffer from insanity. I enjoy every minute off it.
                            Motorcycle racing is rocket science.

                            Linux Registered User # 475019
                            How to Search for AntiX solutions to your problems

                            #129425
                            Member
                            PPC

                              You should be running full iso if clueless.

                              I always recommend using the Full iso, not just for “clueless users”. Why install a non-Full version and then keep asking stuff like “Oh! How do I install this, and that, that are available in the Full version of antiX?”
                              Short answer: install the Full version of antiX. By not installing it and asking how to install software that it includes by default you are just giving yourself extra unwanted work… but also extra work for the folks that try to help out on the forum.

                              P.

                              #129431
                              Member
                              keshav-uses-linux

                                I’m interested in installing a Linux distribution alongside Windows. However, due to limited disk space, I’m looking for a version that requires only 5-10GB for installation. I’ve considered not opting for the full Antix version and am prepared to manually address any missing elements.

                                #129434
                                Member
                                PPC

                                  I’m looking for a version that requires only 5-10GB for installation

                                  FYI: antiX Full does follow those requirements. It uses way, way less than 10Gb, I think it uses less than 5Gb but don’t quote me on that…

                                  P.

                                Viewing 15 posts - 1 through 15 (of 27 total)
                                • You must be logged in to reply to this topic.