[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-26 Thread dann frazier
Thanks for testing. Marking Fix Released, although I do wonder what the
root cause was.

** Changed in: nvidia-graphics-drivers-460-server (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Fix Released

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-26 Thread Simon Fels
Yes, it's fixed with 460.73.01-0ubuntu0.20.04.1

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Confirmed

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-25 Thread Gary.Wang
Yes, i can. After upgrading the driver to 460.73.01-0ubuntu0.20.04.1, 
everything backs to normal and works as expected.
Thanks

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Confirmed

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-23 Thread dann frazier
Simon, Gary, can you confirm if the issue goes away with
460.73.01-0ubuntu0.20.04.1 (now in focal-updates)?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Confirmed

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-23 Thread Gary.Wang
I hit the same issue as morphis has encountered with the exact same
version nvidia drivers package on 5.4 kernel as well.

```
$ apt -qq list | grep "nvidia-.*-460-server"
libnvidia-cfg1-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
libnvidia-common-460-server/focal-updates,focal-updates,focal-security,focal-security,now
 460.32.03-0ubuntu0.20.04.2 all [installed,automatic]
libnvidia-compute-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
libnvidia-compute-460-server/focal-updates 460.32.03-0ubuntu0.20.04.2 i386
libnvidia-decode-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
libnvidia-decode-460-server/focal-updates 460.32.03-0ubuntu0.20.04.2 i386
libnvidia-encode-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
libnvidia-encode-460-server/focal-updates 460.32.03-0ubuntu0.20.04.2 i386
libnvidia-extra-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
libnvidia-extra-460-server/focal-updates 460.32.03-0ubuntu0.20.04.2 i386
libnvidia-fbc1-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
libnvidia-fbc1-460-server/focal-updates 460.32.03-0ubuntu0.20.04.2 i386
libnvidia-gl-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
libnvidia-gl-460-server/focal-updates 460.32.03-0ubuntu0.20.04.2 i386
libnvidia-ifr1-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
libnvidia-ifr1-460-server/focal-updates 460.32.03-0ubuntu0.20.04.2 i386
nvidia-compute-utils-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
nvidia-dkms-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
nvidia-driver-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed]
nvidia-headless-460-server/focal-updates,focal-security 
460.32.03-0ubuntu0.20.04.2 amd64
nvidia-headless-no-dkms-460-server/focal-updates,focal-security 
460.32.03-0ubuntu0.20.04.2 amd64
nvidia-kernel-common-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
nvidia-kernel-source-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]
nvidia-utils-460-server/focal-updates,focal-security,now 
460.32.03-0ubuntu0.20.04.2 amd64 [installed,automatic]

$ uname -r
5.4.0-72-generic

$ lsb_release  -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 20.04.2 LTS
Release:20.04
Codename:   focal
```

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Confirmed

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nvidia-graphics-drivers-460-server (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Confirmed

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-23 Thread Simon Fels
Executing a cudaDeviceSynchronize() instead of using cuCtxCreate gives
"all CUDA-capable devices are busy or unavailable" which seems to hint
to something incorrectly setup in the system.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Confirmed

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-23 Thread Simon Fels
I can reproduce this here on the focal 5.4 kernel (5.4.0-72-generic)
with 460.32.03 (deb 460.32.03-0ubuntu0.20.04.2) too.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  Confirmed

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922599] Re: fails to create a new context

2021-04-21 Thread dann frazier
This appears to no longer be an issue with the 460.73.01 driver:

$ sudo ./foo 
cuCtxCreate returned 0
$

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460-server in
Ubuntu.
https://bugs.launchpad.net/bugs/1922599

Title:
  fails to create a new context

Status in nvidia-graphics-drivers-460-server package in Ubuntu:
  New

Bug description:
  With the 460 driver on a 5.11 kernel, I'm unable to initialize a new
  context.

  ubuntu@blanka:~$ cat foo.c
  #include
  #include
  #include 

  int main(){
    int ret;
    assert (cuInit(0) == 0);
    CUcontext ctx;
    CUdevice device;

    assert(cuDeviceGet(,0) == 0 );
    ret = cuCtxCreate(, 0, device);
    printf("cuCtxCreate returned %d\n", ret);
    return 0;
  }
  $ sudo ./foo
  cuCtxCreate returned 1

  This works fine with the 450 driver.

  $ cat /proc/version
  Linux version 5.11.0-13-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 
10.2.1-23ubuntu1) 10.2.1 20210312, GNU ld (GNU Binutils for Ubuntu) 2.36.1) 
#14-Ubuntu SMP Fri Mar 19 16:55:27 UTC 2021

  $ dpkg -l | grep nvidia-cuda-dev
  ii  nvidia-cuda-dev:amd64 11.2.1-2
 amd64NVIDIA CUDA 
development files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460-server/+bug/1922599/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp