Re: New video card, how to deal?

2021-07-31 Thread Anssi Saari
Felix Miata  writes:

>   Modesetting DIX driver
>
> (Device Independent X driver)
>
> as opposed to Device Dependent X drivers Amdgpu, Intel, Nouveau & Radeon.

OK. Well, the man page says it's a driver for KMS devices? A raw Nvidia
chip with no supporting kernel driver isn't going to present itself as
KMS. So as far as I understand it, this can't work.

I did try the modesetting driver it and it works with the builtin Intel
I have. I got into running a compositor with my wm to get vsync support
so now enjoying some transparency effects. Video decode is maybe a bit
faster than with the Intel driver.

Anyways, I found out there's an unblock request for nvidia-driver so
that the version in sid (460.91) will be migrated. So it might get into
Bullseye for release and presumably Buster backports soon after that.



Re: New video card, how to deal?

2021-07-30 Thread Felix Miata
Anssi Saari composed on 2021-07-30 11:42 (UTC+0300):

> Felix Miata wrote:

>> Have you tried both pure FOSS solutions? If xserver-xorg-video-nouveau is
>> installed, try purging it. The generic nature of the modesetting DIX could
>> conceivably be enough to run that bleeding edge GPU well enough to get you by
>> without going to backports or Bullseye.

> No, I assumed any support in nouveau is years away. I don't know what
> the other pure FOSS solution is?  
> 
Modesetting DIX driver

(Device Independent X driver)

as opposed to Device Dependent X drivers Amdgpu, Intel, Nouveau & Radeon.

The (formerly experimental[1]) xf86-video-modesetting DIX was moved into the
xserver-xorg (server) package over 6 years ago (1.17, post-Jessie). Upstream, 
it's
the default X driver.

[1]
https://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/drivers/modesetting?id=106bea5ad1bdd5795d6ed625fc6351a161bffa6e
-- 
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



Re: New video card, how to deal?

2021-07-30 Thread Anssi Saari
didier gaumet  writes:

> There is an Experimental Debian repository which contains the most up-
> to-date non-free Nvidia driver (470.57.02-1, similar to Nvidia
> website):
> https://packages.debian.org/experimental/nvidia-driver

Yes, thanks. Sure, experimental and unstable too already have new enough
drivers but as you say that means dozens of packages from unstable (43
to be exact) or going completely to unstable.

Well, getting the dual screen setup working in Arch was quite
interesting. With Yesterday's Arch it works but considering my earlier
two tries were crashy I don't think I want to run Arch or Debian
Unstable for more than experiments and previews.

Thanks to Hans too for mentioning Nvidia's installer. I did that for
years and maybe now again.

> But it is likely that shortly after Bullseye release, this version of
> the driver will land in Sid (Unstable). And I imagine that later, in
> Bulseye-backports too.

Yes, in a few weeks or months.



Re: New video card, how to deal?

2021-07-30 Thread didier gaumet



Le vendredi 30 juillet 2021 à 11:42 +0300, Anssi Saari a écrit :
> Felix Miata  writes:
[...]
> > [OTOH, why not Bullseye? It's on the verge of official release,
> > running on more
> > than 20 PCs here.
> 
> Because it doesn't solve any problem since it has no newer Nvidia
> drivers. If it did they'd likely be in buster-backports too. Also,
> Bullseye is insecure with no security updates until it's actually
> released. You may be fine with that but I'm not.

Hello,

The official release date of Bullseye (Debian 11) is august, the 14th.

There is an Experimental Debian repository which contains the most up-
to-date non-free Nvidia driver (470.57.02-1, similar to Nvidia
website):
https://packages.debian.org/experimental/nvidia-driver

Experimental is like *-backports, a repository that only contains
selected material and is intended to be used in conjonction with Sid
(Unstable in Debian terms, but roughly similar to Archlinux in terms of
packages maturity and overall stability/security, IMO), I assume (never
used Experimental myself), if one doesn't want a FrankenDebian.

But it is likely that shortly after Bullseye release, this version of
the driver will land in Sid (Unstable). And I imagine that later, in
Bulseye-backports too.




Re: New video card, how to deal?

2021-07-30 Thread Anssi Saari
Felix Miata  writes:

> Have you tried both pure FOSS solutions? If xserver-xorg-video-nouveau is
> installed, try purging it. The generic nature of the modesetting DIX could
> conceivably be enough to run that bleeding edge GPU well enough to get you by
> without going to backports or Bullseye.

No, I assumed any support in nouveau is years away. I don't know what
the other pure FOSS solution is? But anyway, not what I'm looking for.

> OTOH, why not Bullseye? It's on the verge of official release, running on more
> than 20 PCs here.

Because it doesn't solve any problem since it has no newer Nvidia
drivers. If it did they'd likely be in buster-backports too. Also,
Bullseye is insecure with no security updates until it's actually
released. You may be fine with that but I'm not.




Re: New video card, how to deal?

2021-07-30 Thread Hans
Am Freitag, 30. Juli 2021, 09:32:21 CEST schrieb Anssi Saari:
Hi Anssi,

if the repo doesn't offer the required packages, you can download the drivers 
directly from the Nvidia site.

First remove all nvidia packages (i.e. "aptitude purge ~nnvidia*" ,then 
download the script. It is a "NVidia_something,run" file.

Make it executable and start it.

You will need a supported kernel (the newer, the better), the linux-header-
files and maybe sourcefiles.

The easyiest way, to get the needed stuff, is running "module-assistant", 
which has an option to downloiad and install all needed packages, to build 
kernel modules.

Just a note: It happend from time to time, that the stock Nvidia drivers do 
not build with the running kernel. That is a problem by the Nvidia itself and 
should be reported to Nvidia.

However, the nvidia-packages in the repo include sometimes patches made by the 
great debian developers.  

This is the moment, where I must say a bg "THANK YOU VERY MUCH FOR YOUR 
WORK!!!" to these developers, as without them, often the Nvidia-drivers won't 
work.

When building the drivers, pay attention, that no nvidia module is loaded. 
Also you should get rid of the nouveau module (either blacklist it or just 
delete it from the kernel tree).

I hope this helps a little bit. 

Good luck and best regards!

Hans
> I managed to snag a new video card with Nvidia's RTX3070Ti.  Due to the
> recent release of the 3070Ti, I have a bit of a problem with Debian 10
> as required drivers are quite new (460.84 or 465.31) and Buster has
> 460.73 in backports. And now Bullseye is frozen so presumably there
> won't be an update in weeks or months.
> 
> On my PC in addition to Debian I have Arch and Windows 10 where new
> enough drivers are not a problem. As a workaround I set up a two display
> setup where one display is driven by Intel's integrated and the other by
> my new Nvidia and that's OK, just in Debian the other display is blank.
> 
> So what can I do now to get new enough Nvidia drivers? Or actually, is
> there a documented way for me to create an nvidia-driver package for
> Buster that I can build and install myself? I don't want to get a PhD in
> Debian packaging or anything, I guess I mostly want to borrow someone
> else's recipes on that topic.



signature.asc
Description: This is a digitally signed message part.


Re: New video card, how to deal?

2021-07-30 Thread Felix Miata
Anssi Saari composed on 2021-07-30 10:32 (UTC+0300):

> I managed to snag a new video card with Nvidia's RTX3070Ti.  Due to the
> recent release of the 3070Ti, I have a bit of a problem with Debian 10
> as required drivers are quite new (460.84 or 465.31) and Buster has
> 460.73 in backports. And now Bullseye is frozen so presumably there
> won't be an update in weeks or months.

> On my PC in addition to Debian I have Arch and Windows 10 where new
> enough drivers are not a problem. As a workaround I set up a two display
> setup where one display is driven by Intel's integrated and the other by
> my new Nvidia and that's OK, just in Debian the other display is blank.

> So what can I do now to get new enough Nvidia drivers? Or actually, is
> there a documented way for me to create an nvidia-driver package for
> Buster that I can build and install myself? I don't want to get a PhD in
> Debian packaging or anything, I guess I mostly want to borrow someone
> else's recipes on that topic.

Have you tried both pure FOSS solutions? If xserver-xorg-video-nouveau is
installed, try purging it. The generic nature of the modesetting DIX could
conceivably be enough to run that bleeding edge GPU well enough to get you by
without going to backports or Bullseye.

OTOH, why not Bullseye? It's on the verge of official release, running on more
than 20 PCs here.
-- 
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



New video card, how to deal?

2021-07-30 Thread Anssi Saari


I managed to snag a new video card with Nvidia's RTX3070Ti.  Due to the
recent release of the 3070Ti, I have a bit of a problem with Debian 10
as required drivers are quite new (460.84 or 465.31) and Buster has
460.73 in backports. And now Bullseye is frozen so presumably there
won't be an update in weeks or months.

On my PC in addition to Debian I have Arch and Windows 10 where new
enough drivers are not a problem. As a workaround I set up a two display
setup where one display is driven by Intel's integrated and the other by
my new Nvidia and that's OK, just in Debian the other display is blank.

So what can I do now to get new enough Nvidia drivers? Or actually, is
there a documented way for me to create an nvidia-driver package for
Buster that I can build and install myself? I don't want to get a PhD in
Debian packaging or anything, I guess I mostly want to borrow someone
else's recipes on that topic.