Re: [gentoo-user] x11-drivers/nvidia-drivers-391+ does not support latest GPU?

2018-04-13 Thread Arve Barsnes
On 12 April 2018 at 15:31, Alexey Eschenko  wrote:
> I'm very surprised because I have GTX 1080 GPU:
>
>> # lspci | fgrep VGA
>> 42:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX
>> 1080] (rev a1)

This seems to be a bug in the nvida-drivers.eclass file. I have the
same card, and it is NOT going out of support now. If you look at the
link from the ebuild error message, our card is not one of the cards
on any of the "legacy cards" lists. If you search for drivers on
https://www.geforce.com/drivers you will see that this new beta driver
is available for our card.

I'm not sure if this bug is because the eclass checks these cards
against any version higher than 391 and complains, in which case
*everyone* will get the error message, or if something else is going
on, but I feel confident that this driver should work fine for you
(consider that it's a beta driver though).

Arve



Re: [gentoo-user] x11-drivers/nvidia-drivers-391+ does not support latest GPU?

2018-04-12 Thread tuxic
On 04/12 01:21, Dale wrote:
> tu...@posteo.de wrote:
> > On 04/12 10:54, Dale wrote:
> >> Alexey Eschenko wrote:
> >>> Hi.
> >>>
> >>> I've just read regular @world build log and found this:
> >>>
>   * Messages for package x11-drivers/nvidia-drivers-396.18-r1:
> 
>   * * WARNING *
>   *
>   * You are currently installing a version of nvidia-drivers that is
>   * known not to work with a video card you have installed on your
>   * system. If this is intentional, please ignore this. If it is not
>   * please perform the following steps:
>   *
>   * Add the following mask entry to /etc/portage/package.mask by
>   * echo ">=x11-drivers/nvidia-drivers-391.0.0" >
>  /etc/portage/package.mask/nvidia-drivers
>   *
>   * Failure to perform the steps above could result in a non-working
>   * X setup.
>   *
>   * For more information please read:
>   * http://www.nvidia.com/object/IO_32667.html
> >>> I'm very surprised because I have GTX 1080 GPU:
> >>>
>  # lspci | fgrep VGA
>  42:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce
>  GTX 1080] (rev a1)
> >>> Is this some kind of maintainer's mistake or does NVIDIA really messed
> >>> up with drivers again?
> >>>
> >> It looks to me like the 396 versions of nvidia-drivers is not compatible
> >> with your card.  Most likely, you have to stick with the 391 series.  I
> >> for example have a older card that requires the 340 series.  I have to
> >> mask anything above that.  You for example may need to mask anything 396
> >> or above. 
> >>
> >> You should be able to go to the nvidia website and find out exactly what
> >> series of drivers you need and then mask anything above that.  Once that
> >> is done, you shouldn't have this problem again.
> >>
> >> Hope that helps.
> >>
> >> Dale
> >>
> >> :-)  :-) 
> >>
> > Hi Dale,
> >
> > I was also hit by this message...
> >
> > For me it looks like that sticking to a certain version of the
> > nvidia-drivers will also bind me to an - then older - kernel version.
> >
> > In my case I would be bound to the 390.* versions of that drivers.
> > This drivers compile fine with the linux-kernel 4.16.2 ... but the
> > boot throws me back to the console.
> >
> > dmesg shows this then:
> > [   32.227140] nvidia: Unknown symbol swiotlb_map_sg_attrs (err 0)
> > [   32.281875] nvidia: Unknown symbol swiotlb_map_sg_attrs (err 0)
> >
> > Do I really need to buy a new nvidia card (I am using Blender a lot)
> > just to be able to update the kernel??
> >
> > Slightly alarmed
> > Meino
> >
> 
> I'm not sure on having to buy a new card.  Mine is older, GT220 BUT I'm
> still using kernel version 4.5.2.  I've got a newer kernel available, I
> just haven't rebooted in many months.  I just tried, the version I'm
> using won't build with newer kernels, 4.9.34.  So, you have a
> interesting question. 
> 
> I seem to recall having to set up a overlay for a slightly older version
> because the newer version for my series would build with current 4.5
> kernel but my screen was all messed up.  I had trouble getting logged in
> so that I could kill X to even get the console to work.  So I'm using a
> version of nvidia that isn't even in the tree any longer as it is. 
> 
> I may have to check into this more later.  Funny thing is, I was looking
> at newer video cards just the other day.  I was just wanting a spare, in
> case the current one burnt out.  I wasn't thinking about the software
> not working. 
> 
> Dale
> 
> :-)  :-) 
> 

Hi Dale,

h...sticking to old cards has a couple of drawbacks in my case:
-- I am using Blender a lot. Blender loves CUDA (and recentlu becomes
   better with AMD cards, which has more to do with AMD than with
   Blender as far as I can remember) to render on the GPU instead
   with CPU, which is much more faster. Even Blender becomes more
   power hungry (CPU power, not necessarily electrical power ;)
   because it get more and more features (Physical based shading
   technics for example). So from time to time I need a new
   graphics card.
   But I dont like it if nvidia is dictating me what to buy when.
   The opensourced nvidia driver of the kernel by far is not that 
   capable when it comes to GPU rendering as far as I know. So no option here.

-- Not only because of meltdown and spectre I dont want to stick
   with old kernels. As the kernel is the heart of my system, I 
   want to update the kernel as soon as possible. Due the problem
   with the nvidia-drivers currentlu I am urged to stick with
   linux-15.15 currently.

-- I have two graphic cards in my system:
NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
   The smaller one is for the desktop, the newer one for rendering.
   If one renders with the same card as being used for the desktop,
   it makes the desktop quite stuttering while a render process is
   running.
   Rendering animations can 

Re: [gentoo-user] x11-drivers/nvidia-drivers-391+ does not support latest GPU?

2018-04-12 Thread Dale
tu...@posteo.de wrote:
> On 04/12 10:54, Dale wrote:
>> Alexey Eschenko wrote:
>>> Hi.
>>>
>>> I've just read regular @world build log and found this:
>>>
  * Messages for package x11-drivers/nvidia-drivers-396.18-r1:

  * * WARNING *
  *
  * You are currently installing a version of nvidia-drivers that is
  * known not to work with a video card you have installed on your
  * system. If this is intentional, please ignore this. If it is not
  * please perform the following steps:
  *
  * Add the following mask entry to /etc/portage/package.mask by
  * echo ">=x11-drivers/nvidia-drivers-391.0.0" >
 /etc/portage/package.mask/nvidia-drivers
  *
  * Failure to perform the steps above could result in a non-working
  * X setup.
  *
  * For more information please read:
  * http://www.nvidia.com/object/IO_32667.html
>>> I'm very surprised because I have GTX 1080 GPU:
>>>
 # lspci | fgrep VGA
 42:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce
 GTX 1080] (rev a1)
>>> Is this some kind of maintainer's mistake or does NVIDIA really messed
>>> up with drivers again?
>>>
>> It looks to me like the 396 versions of nvidia-drivers is not compatible
>> with your card.  Most likely, you have to stick with the 391 series.  I
>> for example have a older card that requires the 340 series.  I have to
>> mask anything above that.  You for example may need to mask anything 396
>> or above. 
>>
>> You should be able to go to the nvidia website and find out exactly what
>> series of drivers you need and then mask anything above that.  Once that
>> is done, you shouldn't have this problem again.
>>
>> Hope that helps.
>>
>> Dale
>>
>> :-)  :-) 
>>
> Hi Dale,
>
> I was also hit by this message...
>
> For me it looks like that sticking to a certain version of the
> nvidia-drivers will also bind me to an - then older - kernel version.
>
> In my case I would be bound to the 390.* versions of that drivers.
> This drivers compile fine with the linux-kernel 4.16.2 ... but the
> boot throws me back to the console.
>
> dmesg shows this then:
> [   32.227140] nvidia: Unknown symbol swiotlb_map_sg_attrs (err 0)
> [   32.281875] nvidia: Unknown symbol swiotlb_map_sg_attrs (err 0)
>
> Do I really need to buy a new nvidia card (I am using Blender a lot)
> just to be able to update the kernel??
>
> Slightly alarmed
> Meino
>

I'm not sure on having to buy a new card.  Mine is older, GT220 BUT I'm
still using kernel version 4.5.2.  I've got a newer kernel available, I
just haven't rebooted in many months.  I just tried, the version I'm
using won't build with newer kernels, 4.9.34.  So, you have a
interesting question. 

I seem to recall having to set up a overlay for a slightly older version
because the newer version for my series would build with current 4.5
kernel but my screen was all messed up.  I had trouble getting logged in
so that I could kill X to even get the console to work.  So I'm using a
version of nvidia that isn't even in the tree any longer as it is. 

I may have to check into this more later.  Funny thing is, I was looking
at newer video cards just the other day.  I was just wanting a spare, in
case the current one burnt out.  I wasn't thinking about the software
not working. 

Dale

:-)  :-) 



Re: [gentoo-user] x11-drivers/nvidia-drivers-391+ does not support latest GPU?

2018-04-12 Thread tuxic
On 04/12 10:54, Dale wrote:
> Alexey Eschenko wrote:
> > Hi.
> >
> > I've just read regular @world build log and found this:
> >
> >>  * Messages for package x11-drivers/nvidia-drivers-396.18-r1:
> >>
> >>  * * WARNING *
> >>  *
> >>  * You are currently installing a version of nvidia-drivers that is
> >>  * known not to work with a video card you have installed on your
> >>  * system. If this is intentional, please ignore this. If it is not
> >>  * please perform the following steps:
> >>  *
> >>  * Add the following mask entry to /etc/portage/package.mask by
> >>  * echo ">=x11-drivers/nvidia-drivers-391.0.0" >
> >> /etc/portage/package.mask/nvidia-drivers
> >>  *
> >>  * Failure to perform the steps above could result in a non-working
> >>  * X setup.
> >>  *
> >>  * For more information please read:
> >>  * http://www.nvidia.com/object/IO_32667.html
> >
> > I'm very surprised because I have GTX 1080 GPU:
> >
> >> # lspci | fgrep VGA
> >> 42:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce
> >> GTX 1080] (rev a1)
> > Is this some kind of maintainer's mistake or does NVIDIA really messed
> > up with drivers again?
> >
> 
> It looks to me like the 396 versions of nvidia-drivers is not compatible
> with your card.  Most likely, you have to stick with the 391 series.  I
> for example have a older card that requires the 340 series.  I have to
> mask anything above that.  You for example may need to mask anything 396
> or above. 
> 
> You should be able to go to the nvidia website and find out exactly what
> series of drivers you need and then mask anything above that.  Once that
> is done, you shouldn't have this problem again.
> 
> Hope that helps.
> 
> Dale
> 
> :-)  :-) 
> 

Hi Dale,

I was also hit by this message...

For me it looks like that sticking to a certain version of the
nvidia-drivers will also bind me to an - then older - kernel version.

In my case I would be bound to the 390.* versions of that drivers.
This drivers compile fine with the linux-kernel 4.16.2 ... but the
boot throws me back to the console.

dmesg shows this then:
[   32.227140] nvidia: Unknown symbol swiotlb_map_sg_attrs (err 0)
[   32.281875] nvidia: Unknown symbol swiotlb_map_sg_attrs (err 0)

Do I really need to buy a new nvidia card (I am using Blender a lot)
just to be able to update the kernel??

Slightly alarmed
Meino









Re: [gentoo-user] x11-drivers/nvidia-drivers-391+ does not support latest GPU?

2018-04-12 Thread Dale
Alexey Eschenko wrote:
> Hi.
>
> I've just read regular @world build log and found this:
>
>>  * Messages for package x11-drivers/nvidia-drivers-396.18-r1:
>>
>>  * * WARNING *
>>  *
>>  * You are currently installing a version of nvidia-drivers that is
>>  * known not to work with a video card you have installed on your
>>  * system. If this is intentional, please ignore this. If it is not
>>  * please perform the following steps:
>>  *
>>  * Add the following mask entry to /etc/portage/package.mask by
>>  * echo ">=x11-drivers/nvidia-drivers-391.0.0" >
>> /etc/portage/package.mask/nvidia-drivers
>>  *
>>  * Failure to perform the steps above could result in a non-working
>>  * X setup.
>>  *
>>  * For more information please read:
>>  * http://www.nvidia.com/object/IO_32667.html
>
> I'm very surprised because I have GTX 1080 GPU:
>
>> # lspci | fgrep VGA
>> 42:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce
>> GTX 1080] (rev a1)
> Is this some kind of maintainer's mistake or does NVIDIA really messed
> up with drivers again?
>

It looks to me like the 396 versions of nvidia-drivers is not compatible
with your card.  Most likely, you have to stick with the 391 series.  I
for example have a older card that requires the 340 series.  I have to
mask anything above that.  You for example may need to mask anything 396
or above. 

You should be able to go to the nvidia website and find out exactly what
series of drivers you need and then mask anything above that.  Once that
is done, you shouldn't have this problem again.

Hope that helps.

Dale

:-)  :-) 



[gentoo-user] x11-drivers/nvidia-drivers-391+ does not support latest GPU?

2018-04-12 Thread Alexey Eschenko

Hi.

I've just read regular @world build log and found this:


 * Messages for package x11-drivers/nvidia-drivers-396.18-r1:

 * * WARNING *
 *
 * You are currently installing a version of nvidia-drivers that is
 * known not to work with a video card you have installed on your
 * system. If this is intentional, please ignore this. If it is not
 * please perform the following steps:
 *
 * Add the following mask entry to /etc/portage/package.mask by
 * echo ">=x11-drivers/nvidia-drivers-391.0.0" > 
/etc/portage/package.mask/nvidia-drivers

 *
 * Failure to perform the steps above could result in a non-working
 * X setup.
 *
 * For more information please read:
 * http://www.nvidia.com/object/IO_32667.html


I'm very surprised because I have GTX 1080 GPU:


# lspci | fgrep VGA
42:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce 
GTX 1080] (rev a1)
Is this some kind of maintainer's mistake or does NVIDIA really messed 
up with drivers again?


--
Kind regards,
Alexey Eschenko
https://skobk.in/




[gentoo-user] x11-drivers/nvidia-drivers-391+ does not support latest GPU?

2018-04-12 Thread Alexey Eschenko

Hi.

I've just read regular @world build log and found this:


 * Messages for package x11-drivers/nvidia-drivers-396.18-r1:

 * * WARNING *
 *
 * You are currently installing a version of nvidia-drivers that is
 * known not to work with a video card you have installed on your
 * system. If this is intentional, please ignore this. If it is not
 * please perform the following steps:
 *
 * Add the following mask entry to /etc/portage/package.mask by
 * echo ">=x11-drivers/nvidia-drivers-391.0.0" > 
/etc/portage/package.mask/nvidia-drivers

 *
 * Failure to perform the steps above could result in a non-working
 * X setup.
 *
 * For more information please read:
 * http://www.nvidia.com/object/IO_32667.html


I'm very surprised because I have GTX 1080 GPU:


# lspci | fgrep VGA
42:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce 
GTX 1080] (rev a1)
Is this some kind of maintainer's mistake or does NVIDIA really messed 
up with drivers again?


--
Kind regards,
Alexey Eschenko
https://skobk.in/