Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #270782 > unrolled thread
| Started by | Hans <hans.ullrich@loop.de> |
|---|---|
| First post | 2024-07-03 23:30 +0200 |
| Last post | 2024-07-05 01:10 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?) Hans <hans.ullrich@loop.de> - 2024-07-03 23:30 +0200
Re: Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?) Van Snyder <van.snyder@sbcglobal.net> - 2024-07-04 22:30 +0200
Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?) Hans <hans.ullrich@loop.de> - 2024-07-04 23:00 +0200
Re: Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?) "Andrew M.A. Cater" <amacater@einval.com> - 2024-07-04 23:00 +0200
Re: nouveau on old NV GPUs Felix Miata <mrmazda@stanis.net> - 2024-07-05 01:10 +0200
| From | Hans <hans.ullrich@loop.de> |
|---|---|
| Date | 2024-07-03 23:30 +0200 |
| Subject | Re: Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?) |
| Message-ID | <IWfI5-7tr4-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi van Snyder, I believe I got a solution. However, you may not be happy with it, but maybe it will work. I am running the kernel 6.7.12+bpo-amd64 on my system. This is a backport kernel, but it might also work with other kernels, too. You also need to install the build environment, the easiest way is to use module-assistant. If you got this set and installed linux-headers and so on, then do the following: First, enter the line for sid into your /etc/apt/sources.list deb http://deb.debian.org/debian/ sid main contrib non-free non-free-firmware then do apt update apt install nvidia-legacy-340xx-driver firmware-misc-nonfree This should install all necessary files and build the kernel module. Here it did work. However, I had to use 390xx instead of 340xx, but both built here fine. After it, reboot and try again if it is working. Sometimes, nvidia-detect says, use 340xx-legacy, but I had some cases, where I in real had to use 390xx. So, if 340xx is not working, try 390xx. Note: Do NOT upgrade any other files! I suggest, after installing both packages as above, remove the sid entry from sources.list and do again an apt update. Thus you are not going into the danger, to install any more packages from sid. If you need bumblebee or primusrun, because you have two GPUs (one in the CPU and one extern), then use the packages from stable. This will work! My notebook is a Lenovo T520 with Intel CPU (and internal Intel GPU) and also NVidia GPU as external GPU (soldered on mainboard). I have to use optimus, to get my external GPU. I got my information from this site. https://wiki.debian.org/NvidiaGraphicsDrivers[1] Hope, this helps. Ah, and last but not least: Big thanks to the lads and guys, who made 340xx and 390xx buildable again, great work! Big big thank you!!! Here on my system, 390xx is working like a charm. Good luck! Hans -------- [1] https://wiki.debian.org/NvidiaGraphicsDrivers
[toc] | [next] | [standalone]
| From | Van Snyder <van.snyder@sbcglobal.net> |
|---|---|
| Date | 2024-07-04 22:30 +0200 |
| Subject | Re: Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?) |
| Message-ID | <IWBfz-7HfF-11@gated-at.bofh.it> |
| In reply to | #270782 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, 2024-07-03 at 23:24 +0200, Hans wrote: > Hi van Snyder, > > I believe I got a solution. However, you may not be happy with it, > but maybe it will work. The solution did indeed allow to install the driver. But.... it removed at least KDE, and now it won't enter run level 5. I added nouveau.modeset=0 to the "linux" line in grub.cfg, but it's still running the nouveau driver, or at least that's what inxi -G reports: # inxi -G Graphics: Device-1: NVIDIA G86M [GeForce 8400M GS] driver: N/A Device-2: OmniVision OV2640 Webcam driver: uvcvideo type: USB Display: unspecified server: X.org v: 1.21.1.7 with: Xwayland v: 24.1.0 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: N/A API: EGL v: N/A drivers: N/A platforms: N/A API: OpenGL Message: GL data unavailable for root. I tried "apt install kde\*" but it refused, saying "you have held broken packages." I've been told that Mint includes NVidia drivers, so I'll try that next. I don't have a choice for my laptop, where the NVidia graphic chip is soldered to the mother board, but for my desktop if Mint doesn't work out, I'll give serious consideration to getting a supported video card from *not* NVidia. > > > > I am running the kernel 6.7.12+bpo-amd64 on my system. This is a > backport kernel, but it might also work with other kernels, too. > > You also need to install the build environment, the easiest way is to > use module-assistant. > If you got this set and installed linux-headers and so on, then do > the following: > > First, enter the line for sid into your /etc/apt/sources.list > > deb http://deb.debian.org/debian/ sid main contrib non-free non- > free-firmware > > then do > > apt update > > apt install nvidia-legacy-340xx-driver firmware-misc-nonfree > > This should install all necessary files and build the kernel module. > Here it did work. However, I had to use 390xx instead of 340xx, but > both built here fine. > > After it, reboot and try again if it is working. > > Sometimes, nvidia-detect says, use 340xx-legacy, but I had some > cases, where I in real had to use 390xx. So, if 340xx is not working, > try 390xx. > > Note: Do NOT upgrade any other files! I suggest, after installing > both packages as above, remove the sid entry from sources.list and do > again an > apt update. Thus you are not going into the danger, to install any > more packages from sid. > > If you need bumblebee or primusrun, because you have two GPUs (one in > the CPU and one extern), then use the packages from stable. This will > work! > > My notebook is a Lenovo T520 with Intel CPU (and internal Intel GPU) > and also NVidia GPU as external GPU (soldered on mainboard). I have > to use optimus, to get my external GPU. > > I got my information from this site. > > https://wiki.debian.org/NvidiaGraphicsDrivers > > Hope, this helps. > > Ah, and last but not least: Big thanks to the lads and guys, who made > 340xx and 390xx buildable again, great work! Big big thank you!!! > > Here on my system, 390xx is working like a charm. > > Good luck! > > Hans
[toc] | [prev] | [next] | [standalone]
| From | Hans <hans.ullrich@loop.de> |
|---|---|
| Date | 2024-07-04 23:00 +0200 |
| Message-ID | <IWBIC-7HpY-13@gated-at.bofh.it> |
| In reply to | #270837 |
This should not have been happened. Maybe you dis something in a wrong way? I treid myself and it did not deinstall kde. It is important, not to do any upgrade while the entry for sid is in sources.list. Just install both packages (as told in the wiki), then after this install remove the sid entry at once and repeat an apt update again (this will delte all entries from the sid repo). This step is really important! So you will only get both packages and its dependencies, nothing more. It also will not deinstall kde, if doing so. I suppose, you might have forgotten to do an apt update after installing the two packages, so it looks for me, and of course, then it will deinstall packages with missing dependencies. Solution? Hmm, make sure, the sid entry is removed from sources.list. Then do an apt-get update and apt-get install --reinstall task-kde-desktop (or with your language i.e. task-german-kde-desktop). This should reinstall all necessary packages again. So note: If you do an apt-get update, aptitude update or apt update, you can retrieve to the package list of only packages of the repo, which are active in sources.list. Any of the above commands will set actualise the package lists. Hope, this helps. Best Hans > at least KDE, and now it won't enter run level 5. I added > nouveau.modeset=0 to the "linux" line in grub.cfg, but it's still > running the nouveau driver, or at least that's what inxi -G reports: >
[toc] | [prev] | [next] | [standalone]
| From | "Andrew M.A. Cater" <amacater@einval.com> |
|---|---|
| Date | 2024-07-04 23:00 +0200 |
| Subject | Re: Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?) |
| Message-ID | <IWBIC-7HpY-9@gated-at.bofh.it> |
| In reply to | #270837 |
On Thu, Jul 04, 2024 at 01:24:21PM -0700, Van Snyder wrote: > On Wed, 2024-07-03 at 23:24 +0200, Hans wrote: > > Hi van Snyder, > > > > I believe I got a solution. However, you may not be happy with it, > > but maybe it will work. > > The solution did indeed allow to install the driver. But.... it removed > at least KDE, and now it won't enter run level 5. I added > nouveau.modeset=0 to the "linux" line in grub.cfg, but it's still > running the nouveau driver, or at least that's what inxi -G reports: > Hi, For the laptop - a clean install with nouveau _should_ work. Forget the Nvidia proprietary driver - it's no longer supported by them and if the Debian-packaged version is also obsolescent that's the end of it. > > I've been told that Mint includes NVidia drivers, so I'll try that > next. I don't have a choice for my laptop, where the NVidia graphic > chip is soldered to the mother board, but for my desktop if Mint > doesn't work out, I'll give serious consideration to getting a > supported video card from *not* NVidia. > Linux Mint current version is based on Ubuntu 22.04 - so is also unlikely to have the drivers now. LMDE is based on Bookworm. The favoured desktop for Mint has always been Cinnamon, I think. Some older Nvidia cards for the desktop work relatively well with nouveau - I've got a 1050ti and a 1060? in two machines here which work well enough under GNOME. > > > > I got my information from this site. > > > > https://wiki.debian.org/NvidiaGraphicsDrivers > > The above is my usual go-to for Debian and Nvidia too Good luck and best wishes, however it all works out Andy (amacater@debian.org)
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@stanis.net> |
|---|---|
| Date | 2024-07-05 01:10 +0200 |
| Subject | Re: nouveau on old NV GPUs |
| Message-ID | <IWDKp-7IVf-7@gated-at.bofh.it> |
| In reply to | #270837 |
Van Snyder composed on 2024-07-04 13:24 (UTC-0700): > The solution did indeed allow to install the driver. But.... it removed > at least KDE, and now it won't enter run level 5. I added > nouveau.modeset=0 to the "linux" line in grub.cfg, but it's still > running the nouveau driver, or at least that's what inxi -G reports: > # inxi -G > Graphics: > Device-1: NVIDIA G86M [GeForce 8400M GS] driver: N/A > Device-2: OmniVision OV2640 Webcam driver: uvcvideo type: USB > Display: unspecified server: X.org v: 1.21.1.7 with: Xwayland v: 24.1.0 > driver: X: loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: > N/A > API: EGL v: N/A drivers: N/A platforms: N/A > API: OpenGL Message: GL data unavailable for root. inxi -G doesn't report much. For troubleshooting is needed the works: inxi -GSaz, to include the kernel command line, to exclude privates, and show everything inxi understands about graphics that isn't a privacy concern. If using the version released with Bookworm, you're not getting a complete picture. It's had more defect fixes for G since last year. It's upgradable with its -U switch if you override the override that disables -U in /etc/inxi.conf. The current version is about 2 weeks old. If using Bullseye's version, -G is very broken. Disabling KMS, denying the loading of the nouveau kernel module, by including nomodeset or nouveau.modeset=0, guarantees neither nouveau display driver nor the default display driver modesetting can work, thus leaving you with 1280x1024 or worse, such as no X at all, or even no video at all. > I tried "apt install kde\*" but it refused, saying "you have held > broken packages." Plasma is demanding. I'm not sure it or SDDM or Wayland can run without KMS enabled, unless a proprietary NVidia driver can be used. Tesla models need not attempt using NVidia drivers. I think the same can be said of Fermis. > I've been told that Mint includes NVidia drivers, so I'll try that Mint is due very soon for a new release based on Ubuntu 24.04. That's unlikely to help users of old NVidia GPUs. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web