Re: [OpenIndiana-discuss] GPG2 on OI

2021-10-04 Thread Tim Mooney via openindiana-discuss

In regard to: Re: [OpenIndiana-discuss] GPG2 on OI, Andreas Wacknitz said...:


Am 04.10.21 um 20:58 schrieb Tim Mooney via openindiana-discuss:

In regard to: Re: [OpenIndiana-discuss] GPG2 on OI, Andreas Wacknitz
said...:


Nice work from you and the GnuPG developer. I propose to either open a
ticket for it on https://www.illumos.org/projects/illumos-gate
or post the results from your analysis on #illumos. Maybe some illumos
maintainers find it interesting enough to fix this problem in
ilumos-gate.


Robert Mustacchi has already implemented the necessary functionality
in the Illumos kernel, see comment #2:

https://www.illumos.org/issues/14126

Andreas, will OI's build system pick this up automatically, or is there
something else I need to be able to do to test it for him?

It will only picked automatically by our build system after it has been
merged into illumos-gate.
If you need to test it before you'll need to get the patch and apply it
to our illumos-gate sources.
The sources are located in the repository at
oi-userland/components/openindiana/illumos-gate.
Running "gmake publish" there will publish all illumos-gate related
packages into your own local repository (which you have created before
by running "gmake setup" in the oi-userland base folder). When you
successfully published a patched version of the illumos-gate packages
you'll need to intall them on your system. You can read about the
process in our documentation, eg. at
http://docs.openindiana.org/dev/userland/


I've been through that process many times for oi-userland packages I've
updated or patched, but never for something from illumos-gate.

I'll see if I can get the patch and get it tested.

Thanks,

Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology/701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] GPG2 on OI

2021-10-04 Thread Andreas Wacknitz

Am 04.10.21 um 20:58 schrieb Tim Mooney via openindiana-discuss:

In regard to: Re: [OpenIndiana-discuss] GPG2 on OI, Andreas Wacknitz
said...:


Nice work from you and the GnuPG developer. I propose to either open a
ticket for it on https://www.illumos.org/projects/illumos-gate
or post the results from your analysis on #illumos. Maybe some illumos
maintainers find it interesting enough to fix this problem in
ilumos-gate.


Robert Mustacchi has already implemented the necessary functionality
in the Illumos kernel, see comment #2:

https://www.illumos.org/issues/14126

Andreas, will OI's build system pick this up automatically, or is there
something else I need to be able to do to test it for him?

It will only picked automatically by our build system after it has been
merged into illumos-gate.
If you need to test it before you'll need to get the patch and apply it
to our illumos-gate sources.
The sources are located in the repository at
oi-userland/components/openindiana/illumos-gate.
Running "gmake publish" there will publish all illumos-gate related
packages into your own local repository (which you have created before
by running "gmake setup" in the oi-userland base folder). When you
successfully published a patched version of the illumos-gate packages
you'll need to intall them on your system. You can read about the
process in our documentation, eg. at
http://docs.openindiana.org/dev/userland/

Regards,
Andreas

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] GPG2 on OI

2021-10-04 Thread Tim Mooney via openindiana-discuss

In regard to: Re: [OpenIndiana-discuss] GPG2 on OI, Andreas Wacknitz said...:


Nice work from you and the GnuPG developer. I propose to either open a
ticket for it on https://www.illumos.org/projects/illumos-gate
or post the results from your analysis on #illumos. Maybe some illumos
maintainers find it interesting enough to fix this problem in ilumos-gate.


Robert Mustacchi has already implemented the necessary functionality
in the Illumos kernel, see comment #2:

https://www.illumos.org/issues/14126

Andreas, will OI's build system pick this up automatically, or is there
something else I need to be able to do to test it for him?

Thanks,

Tim
--
Tim Mooney tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology/701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] NVIDIA-470 driver problem

2021-10-04 Thread Predrag Zecevic



On 01.10.2021 14:50, Andreas Wacknitz wrote:


Am 10/1/21 um 2:37 PM schrieb Predrag Zecevic:

On 30.09.2021 18:05, Andreas Wacknitz wrote:


Am 9/30/21 um 4:18 PM schrieb Alan Coopersmith:

On 9/29/21 6:44 AM, Predrag Zecevic wrote:

However, IF I remove those packages (NVDAgraphics, NVDAgraphicsr),
and install *pkg:/driver/graphics/nvidia-470@0.470.74-2020.0.1.0*
(e.g. same one), that process refuses to start...

There may be some more clues in /var/log/Xorg.0.log and
/var/log/lightdm/.

-alan-

Another idea is to check what PCI id your graphics card has. Our package
is generated from NVIDIA's official package and thus should be able to
run your card, too.
During package creation we use a script to identify the supported PCI
id's. You can find the sources in
oi-userland/components/openindiana/nvidia-470/print-pci-ids.sh.
This script is being run after "gmake build" in the package's folder. It
only needs the folder of the package's sources as a parameter, eg.
./print-pci-ids.sh ./NVIDIA-Solaris-x86-470.74
Maybe /etc/driver_aliases is missing an entry for your card.

Andreas

Hi Andreas,

how that explains proper functionality of NVDAgraphics? I use same h/w
in both cases.

So, I have it in both cases:
* Current (using driver from NVIDIA site):
:; grep pci10de,2487 /etc/driver_aliases
nvidia "pci10de,2487"

* Old BE:
:; pfexec beadm mount oi_210929.oi_nvidia /mnt/be
Mounted successfully on: '/mnt/be'
:; grep pci10de,2487 /mnt/be/etc/driver_aliases
nvidia "pci10de,2487"


PCI ID obtained from
https://github.com/OpenIndiana/oi-userland/commit/422cb49371727a74aaae47e805fa450e77998a3b 



And, the one from system;
:; pfexec scanpci -v | less
...
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x10de device 0x1287
 NVIDIA Corporation GK208B [GeForce GT 730]
 CardVendor 0x10de card 0x1287 (NVIDIA Corporation, Card unknown)
  STATUS    0x0010  COMMAND 0x0047
  CLASS 0x03 0x00 0x00  REVISION 0xa1
  BIST  0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  BASE0 0xde00 SIZE 16777216  MEM
  BASE1 0xd000 SIZE 134217728  MEM64 PREFETCHABLE
  BASE3 0xd800 SIZE 33554432  MEM64 PREFETCHABLE
  BASE5 0xe000 SIZE 128  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0b
...

:; grep pci10de,1287 /mnt/be/etc/driver_aliases
nvidia "pci10de,1287"


Is also present.

I guess this is problem have (I not enough knowledge to conclude
anything):
:; pfexec less /var/log/lightdm/seat0-greeter.log.old
...
ld.so.1: lightdm-gtk-greeter: fatal: libEGL.so.1: open failed: No such
file or directory
ld.so.1: lightdm-gtk-greeter: fatal: relocation error: file
/usr/lib/64/libcairo.so.2: symbol eglGetProcAddress: referenced symbol
not found
ld.so.1: lightdm-gtk-greeter: fatal: relocation error: file
/usr/lib/64/libgtk-3.so.0: symbol cairo_pattern_destroy: referenced
symbol not found
ld.so.1: lightdm-gtk-greeter: fatal: relocation error: file
/usr/sbin/lightdm-gtk-greeter: symbol gtk_init: referenced symbol not
found

It is confusing, since all files looks same:

* current (NVIDIA driver)
:; find /usr/ -type f -name '*libEGL.so*' -ls | sort -k 11
   369919    259 -r-xr-xr-x   1 root bin    224736 May 19 2020
/usr/lib/mesa/amd64/libEGL.so.1.0.0
   370188    259 -r-xr-xr-x   1 root bin    218980 May 19 2020
/usr/lib/mesa/libEGL.so.1.0.0
   230013   1283 -rw-r--r--   1 root bin   1244584 Sep 14
01:00 /usr/X11/lib/NVIDIA/amd64/libEGL.so.1
   230154    899 -rw-r--r--   1 root bin    853608 Sep 14
00:56 /usr/X11/lib/NVIDIA/libEGL.so.1

* old BE (OI Nvidia driver):
:; find /mnt/be/usr/ -type f -name '*libEGL.so*' -ls  | sort -k 11
   369919    259 -r-xr-xr-x   1 root bin    224736 May 19 2020
/mnt/be/usr/lib/mesa/amd64/libEGL.so.1.0.0
   370188    259 -r-xr-xr-x   1 root bin    218980 May 19 2020
/mnt/be/usr/lib/mesa/libEGL.so.1.0.0
   229626   1283 -r-xr-xr-x   1 root bin   1244584 Sep 29
14:15 /mnt/be/usr/X11/lib/NVIDIA/amd64/libEGL.so.1
   230308    899 -r-xr-xr-x   1 root bin    853608 Sep 29
14:15 /mnt/be/usr/X11/lib/NVIDIA/libEGL.so.1

Many thanks, and regards
Regards.


What is the status of the ogl-select package?


Hi Andreas,

right now it is up:
:; svcs ogl-select
STATE  STIMEFMRI
online Sep_29   svc:/application/opengl/ogl-select:default


and it is also up when booted to BE with OI Nvidia driver.
Also, error (see above, seat0-greeter.log*) is there.

Regards



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


--
Predrag Zečević
Operations and Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zece...@2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 107, 65812 Bad Soden am 
Taunus, Germany

registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing