[OpenIndiana-discuss] NVIDIA-470 driver problem
Predrag Zecevic
predrag.zecevic at 2e-systems.com
Mon Oct 4 08:50:33 UTC 2021
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 at 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 0xde000000 SIZE 16777216 MEM
>> BASE1 0x00000000d0000000 SIZE 134217728 MEM64 PREFETCHABLE
>> BASE3 0x00000000d8000000 SIZE 33554432 MEM64 PREFETCHABLE
>> BASE5 0x0000e000 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 STIME FMRI
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 at 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.zecevic at 2e-systems.com
headquarter: 2e Systems GmbH, Koenigsteiner Str. 107, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
More information about the openindiana-discuss
mailing list