• Re: NVidia 340 video driver in Bookworm?

    From Hans@21:1/5 to All on Fri Jun 7 22:50:02 2024
    Am Freitag, 7. Juni 2024, 22:29:30 CEST schrieb Van Snyder:
    Hi! Sadly to tell, that I treid hard to get 340.xx running in Bookworm. The problem is: You can not get it build with the actual kernel sources.

    I checked and the developers missed some dependencies, the NVidia driver needs at build time.

    You can get running it, if you are using an old kernel, like th eone from buster, maybe bullseye. In these kernels the dependencies and the libs, the sources are searching, are existent.

    However, maybe you can trick the build by adding the needed dependencies and things, the driver is searching. But I dunno, if this is a good idea.

    I also tried the orginal sources from nvidia.com, but here the same dependency problem appeared.

    In some former mails I asked the kernel developers for help, but there was no big interest in fixing things with closed source drivers (however, the kernel module is not closed source as far as I know).

    Most people are pointing to nouveau, but this is pita. Development in nouveau is also not much any more people told.

    Thus, with this old graphics card in linux is a problem, although they are in many notebooks people still use (I am running a Lenovo T520, several years
    old, but still fast enough). It has also a NVidia-card built in which needs 340.xx but I can not use it due to the lack of the kernel driver.

    Just a hint: Sometimes the nvidia-config module says, you need 340.xx, but
    this is not always true. My card (with th eolder kernel) was running 390.xx, although th esystem told me, I have to use 340.xx. 390.xx was running like a charm, 340.xx crashed. So it lied.

    Sorry, that I can help no further and for the bad news, but do not try too
    much - I fear, you will fail!

    Have a nice day!

    Hans


    Has anybody been able to install the NVidia 340.108 video driver in
    Debian 12?

    The messages I found said "Support for it ended in 2019. Use nouveau."

    But I seem to have trouble with nouveau. When I was running Debian 10
    on a Dell Vostro 1700 laptop with NVidia GeForce 8400M graphics, I had
    been able to install the driver, and had no trouble. I made the mistake
    of installing Debian 12.5 on the same partition, so I don't have the
    Debian 10 install anymore. It freezes so completely that the keyboard
    doesn't work, so I can't switch to a TTY screen. Even if I "ssh" to it
    from my desktop, I can't kill and restart the graphics. I have a script
    to restart KDE, but it does nothing. Even "init 3" doesn't do the
    trick. I have to hold down the power key to reboot. I don't think it's
    a hardware problem that amazingly manifested simultaneously with a new install.

    Here's some too-late advice I've given to myself: Never blow away your
    old install that appears to be working. If you don't have a new disk,
    and you have room on the old one, make new boot and root partitions.
    Mark only the new boot partition as the bootable one. Hook both boot partitions to grub.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Van Snyder@21:1/5 to All on Fri Jun 7 22:40:01 2024
    Has anybody been able to install the NVidia 340.108 video driver in
    Debian 12?

    The messages I found said "Support for it ended in 2019. Use nouveau."

    But I seem to have trouble with nouveau. When I was running Debian 10
    on a Dell Vostro 1700 laptop with NVidia GeForce 8400M graphics, I had
    been able to install the driver, and had no trouble. I made the mistake
    of installing Debian 12.5 on the same partition, so I don't have the
    Debian 10 install anymore. It freezes so completely that the keyboard
    doesn't work, so I can't switch to a TTY screen. Even if I "ssh" to it
    from my desktop, I can't kill and restart the graphics. I have a script
    to restart KDE, but it does nothing. Even "init 3" doesn't do the
    trick. I have to hold down the power key to reboot. I don't think it's
    a hardware problem that amazingly manifested simultaneously with a new
    install.

    Here's some too-late advice I've given to myself: Never blow away your
    old install that appears to be working. If you don't have a new disk,
    and you have room on the old one, make new boot and root partitions.
    Mark only the new boot partition as the bootable one. Hook both boot
    partitions to grub.


    <html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>Has anybody been able to install the NVidia 340.108 video driver in Debian 12?</div><div><br></div><div>The messages I found said "Support for it ended in 2019. Use nouveau."<
    /div><div><br></div><div>But I seem to have trouble with nouveau. When I was running Debian 10 on a Dell Vostro 1700 laptop with NVidia GeForce 8400M graphics, I had been able to install the driver, and had no trouble. I made the mistake of installing
    Debian 12.5 on the same partition, so I don't have the Debian 10 install anymore. It freezes so completely that the keyboard doesn't work, so I can't switch to a TTY screen. Even if I "ssh" to it from my desktop, I can't kill and restart the graphics. I
    have a script to restart KDE, but it does nothing. Even "init 3" doesn't do the trick. I have to hold down the power key to reboot. I don't think it's a hardware problem that amazingly manifested simultaneously with a new install.</div><div><br></div><
    Here's some too-late advice I've given to myself: Never blow away your old install that appears to be working. If you don't have a new disk, and you have room on the old one, make new boot and root partitions. Mark only the new boot partition as the
    bootable one. Hook both boot partitions to grub.</div><div><br></div></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Mon Jun 10 10:20:01 2024
    No, the NV6800M needs 340xx driver, not 390xx as I prior posted. However, I have a GF-119 in my Lenovo T520, where nvidia-detect says, it needs 340xx.
    But, although I got 340xx compiled for the kernel, it did not start.

    I then build 390xx, which worked like a charm. This happened on my notebook
    and also on an older graphics card in my desktop pc (forgot, which graphic
    chip it was).

    The 340xx I never got compiled in bookworm, even when downloaded the sources from bullseye and downgraded compiler and other things (except of kernel).

    The issue: During build, the nvidia-sources were looking for some files, which were no more existent in the kernel headers since that version. So the build failed.

    I asked the developers of the kernel headers, to fix this, but they claimed, that NVidia has to fix it, not the developers.

    One can now argument for both sides.

    1. Either tell Nvidia, "hey fix your old drivers to our new headers, we
    removed some libs!"

    or

    2. Tell the developers "Hey, please put back the libs, so that the kernel module of this old driver can be build again!"

    In real life no one wants to care of it! Nvidia not, because this costs money and the developers not, because this is Nvidia and proprietrary (what is not quite correct, because the kernel-module, which is the part, that can not be build, is open-source).


    Before you try: It is also not possible, to download the driver from the
    NVidia site directly, because you will run into the same issue again: It can not be build!

    Personally I can not understand, why this is not beeing fixed. It is not a problem with the kernel-module itself (I mean, no bug in the function), but it just can not be build. This is the least, I would expect! However, this is
    just my own very personal Opinion and no one shall be feel blamed here with!

    Hope, this makes a little bit clearer.

    Oh, and of course, modern cards supported by 470 and higher, of course this
    can be build! But they do not support older cards (legacy cards).

    Best

    Hans
    Did the 470 driver work for the GeForce 8600M? I tried to install the
    390 driver, but it said "This driver will ignore your GPU" so I didn't
    finish the installation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Mon Jun 10 16:20:01 2024
    In real life no one wants to care of it! Nvidia not, because this
    costs money and the developers not, because this is Nvidia and
    proprietrary (what is not quite correct, because the kernel-module,
    which is the part, that can not be build, is open-source).

    Since you say it's "open source", then "anyone" should be allowed to
    update the code to adapt to the new kernel code. IOW *you* can fix it,
    or if you don't have the time/energy you may be able to find someone
    else to fix it (potentially paying them for it).


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)