From: "Писковой Иван" <piskovoyivan@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] OpenCL на Nvidia 390.87
Date: Sat, 30 Mar 2019 02:15:31 +0900
Message-ID: <CAKe_bzZUp3sxK1RNsfT0vonSL1CyQh8AtZ0cTCEoHu48=V7mjA@mail.gmail.com> (raw)
In-Reply-To: <1672211.nnW21E2INL@zerg.malta.altlinux.ru>
Да, именно это я и имел ввиду.
В общем, OpenCL у меня заработал на библиотеках 390.87 и только на
них. С более новой ревизией 390-х уже нет, с 410 тем более нет.
Вывод такой: версия библиотек opencl должна совпадать с версией
используемого драйвера nvidia. Иначе работать не будет.
Одно плохо - следующий dist-upgrade поломает всё это добро.
Кстати, было бы хорошо осветить процесс настройки на вики, а то там
даже статьи такой нет и поиск безрезультатен.
Единственное, в dmesg осталась какая-то ерунда с драйверами:
[ 4.013585] nvidia: loading out-of-tree module taints kernel.
[ 4.013599] nvidia: module license 'NVIDIA' taints kernel.
[ 4.013600] Disabling lock debugging due to kernel taint
[ 4.026387] nvidia-nvlink: Nvlink Core is being initialized, major
device number 242
[ 4.026540] NVRM: The NVIDIA GeForce GT 520 GPU installed in this system is
NVRM: supported through the NVIDIA 390.xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 410.93 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
[ 4.026542] NVRM: No NVIDIA graphics adapter found!
...
[ 5.872579] nvidia-nvlink: Nvlink Core is being initialized, major
device number 241
[ 5.872748] NVRM: The NVIDIA GeForce GT 520 GPU installed in this system is
NVRM: supported through the NVIDIA 390.xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 410.93 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
[ 5.872751] NVRM: No NVIDIA graphics adapter found!
Это видимо 410 пытается загрузиться пару раз, но неудачно. А потом
грузятся 390.87:
[ 11.805424] nvidia-modeset: Loading NVIDIA Kernel Mode Setting
Driver for UNIX platforms 390.87 Tue Aug 21 16:16:14 PDT 2018
[ 12.093451] ------------[ cut here ]------------
[ 12.093453] Bad or missing usercopy whitelist? Kernel memory
exposure attempt detected from SLAB object 'nvidia_stack_cache'
(offset 11440, size 3)!
[ 12.093464] WARNING: CPU: 7 PID: 804 at mm/usercopy.c:83
usercopy_warn+0x79/0xa0
[ 12.093464] Modules linked in: nvidia_modeset(PO) nvidia(PO)
af_packet msr sr_mod cdrom nls_utf8 nls_cp866 vfat fat option
huawei_cdc_ncm uas cdc_wdm cdc_ncm usb_storage usb_wwan usbnet
usbserial mii joydev snd_hda_codec_hdmi coretemp hwmon
snd_hda_codec_realtek thermal snd_hda_codec_generic intel_rapl
x86_pkg_temp_thermal video pcc_cpufreq intel_powerclamp snd_hda_intel
snd_hda_codec crct10dif_pclmul crc32_pclmul drm_kms_helper
snd_hda_core ghash_clmulni_intel pcbc snd_hwdep drm snd_pcm
aesni_intel iTCO_wdt snd_timer iTCO_vendor_support aes_x86_64
crypto_simd snd atl1c cryptd glue_helper soundcore lpc_ich psmouse
i2c_i801 ie31200_edac efi_pstore pcspkr serio_raw fan efivars
ipmi_devintf ipmi_msghandler i2c_core button efivarfs ip_tables
x_tables ipv6 crc_ccitt ext4 crc32c_generic crc16 mbcache jbd2
[ 12.093492] fscrypto sd_mod input_leds evdev hid_microsoft
hid_generic usbhid ata_generic pata_acpi hid ata_piix libata ehci_pci
crc32c_intel ehci_hcd scsi_mod usbcore usb_common autofs4
[ 12.093500] CPU: 7 PID: 804 Comm: X Tainted: P O
4.19.16-un-def-alt0.M80P.1 #1
[ 12.093500] Hardware name: Gigabyte Technology Co., Ltd. To be
filled by O.E.M./H61M-S2PV, BIOS Fid 02/27/2014
[ 12.093502] RIP: 0010:usercopy_warn+0x79/0xa0
[ 12.093503] Code: 41 50 48 c7 c0 b5 a8 e2 81 48 0f 44 d6 41 52 48
c7 c6 5a c2 e1 81 55 48 0f 45 f0 49 89 d8 48 c7 c7 10 a9 e2 81 e8 e7
ca e2 ff <0f> 0b 48 83 c4 18 5b 5d c3 49 c7 c1 66 a9 e1 81 4c 89 cd 4c
89 cb
[ 12.093504] RSP: 0018:ffffc900017afb50 EFLAGS: 00010286
[ 12.093505] RAX: 0000000000000000 RBX: ffffffff81e2a8a8 RCX: 0000000000000006
[ 12.093505] RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff888216bd6560
[ 12.093506] RBP: ffffffff81e2a8a9 R08: 0000000000000001 R09: 000000000000035f
[ 12.093506] R10: 0000000000002cb0 R11: 000000000000035f R12: 0000000000000001
[ 12.093507] R13: ffff8881fdfc2df3 R14: 0000000000000000 R15: ffff8881fdfc2e38
[ 12.093508] FS: 00007fdda8479980(0000) GS:ffff888216bc0000(0000)
knlGS:0000000000000000
[ 12.093508] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 12.093509] CR2: 00007fdda1506308 CR3: 000000020be5c002 CR4: 00000000001606e0
[ 12.093509] Call Trace:
[ 12.093513] __check_object_size+0x168/0x1a0
[ 12.093632] os_memcpy_to_user+0x21/0x40 [nvidia]
[ 12.093768] _nv009384rm+0xbf/0xe0 [nvidia]
[ 12.093882] ? _nv028097rm+0x79/0x90 [nvidia]
[ 12.093995] ? _nv028097rm+0x55/0x90 [nvidia]
[ 12.094102] ? _nv013699rm+0xee/0x100 [nvidia]
[ 12.094209] ? _nv015347rm+0x154/0x270 [nvidia]
[ 12.094340] ? _nv008317rm+0x134/0x1a0 [nvidia]
[ 12.094469] ? _nv008296rm+0x29c/0x2b0 [nvidia]
[ 12.094598] ? _nv001072rm+0xe/0x20 [nvidia]
[ 12.094725] ? _nv007324rm+0xd8/0x100 [nvidia]
[ 12.094847] ? _nv001171rm+0x627/0x830 [nvidia]
[ 12.094970] ? rm_ioctl+0x73/0x100 [nvidia]
[ 12.095052] ? nvidia_ioctl+0x59c/0x710 [nvidia]
[ 12.095133] ? nvidia_frontend_compat_ioctl+0x3c/0x40 [nvidia]
[ 12.095134] ? do_vfs_ioctl+0x9e/0x600
[ 12.095135] ? __fput+0x12e/0x1c0
[ 12.095137] ? ksys_ioctl+0x66/0x70
[ 12.095138] ? __x64_sys_ioctl+0x16/0x20
[ 12.095140] ? do_syscall_64+0x5d/0x160
[ 12.095142] ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 12.095144] ---[ end trace 577dce0a37e5583e ]---
29.03.2019, Sergey V Turchin<zerg@altlinux.org> написал(а):
> On Friday, 29 March 2019 04:29:04 MSK Писковой Иван wrote:
>> Спасибо. Я всё это проделал, но ничего не работает. Я, кажется, понял,
>> почему. У меня GT520, а 410 драйвера уже не подерживают 500 серию.
>> В архиве нашёл 390.87 драйвера
> Только не драйвера(они у вас и так стоят), а пакеты библиотек https://
> packages.altlinux.org/ru/p8/srpms/nvidia_glx_src из архива http://
> ftp.altlinux.org/pub/distributions/archive/p8/date/2018/09/29/
>
> [...]
>
> --
> Regards, Sergey.
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
next prev parent reply other threads:[~2019-03-29 17:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-25 12:35 Писковой Иван
2019-03-26 7:05 ` Sergey V Turchin
2019-03-26 9:50 ` Sergey V Turchin
2019-03-26 10:09 ` Michael Shigorin
2019-03-28 13:03 ` Sergey V Turchin
2019-03-28 13:10 ` Sergey V Turchin
2019-03-29 7:19 ` Sergey V Turchin
2019-03-29 17:15 ` Писковой Иван [this message]
2019-03-31 12:16 ` Michael Shigorin
2019-04-01 7:44 ` Sergey V Turchin
2019-04-01 7:46 ` Sergey V Turchin
2019-04-04 16:46 ` Писковой Иван
2019-04-05 7:44 ` Sergey V Turchin
2019-04-06 13:57 ` Andrew Borodin
2019-04-08 7:51 ` Sergey V Turchin
2019-04-08 7:52 ` Sergey V Turchin
2019-04-10 5:37 ` Aleksey Borisenkov
2019-04-10 7:20 ` Sergey V Turchin
2019-04-06 23:27 ` Павел Цильке
2019-04-07 2:24 ` Писковой Иван
2019-03-29 8:59 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKe_bzZUp3sxK1RNsfT0vonSL1CyQh8AtZ0cTCEoHu48=V7mjA@mail.gmail.com' \
--to=piskovoyivan@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git