一半君的总结纸

听话只听一半君

Thinkpad T450s 升级 Fedora 30 备忘录

根据教程

sudo dnf upgrade --refresh
sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --releasever=30
sudo dnf system-upgrade reboot

lz这次准备试试升级kernel,所以把/etc/dnf/dnf.conf里的这一行取消注释

# exclude=kernel*

于是kernel从4.18.16 (nvidia驱动390.87)升级到了5.0.17,毫无意外的重启后进不了桌面了,即使是重新安装了nvidia驱动418.74也不行, 最后一行提示停留在started gdm manager

systemlctl status gdm 
# 结果显示 running 正常

# /var/log/Xorg.0.log 的最后几行是
[   103.681] (EE) 
[   103.682] (EE) Backtrace:
[   103.682] (EE) 0: /usr/libexec/Xorg (OsLookupColor+0x13c) [0x561d0f4b575c]
[   103.682] (EE) 1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7f642db69ebf]
[   103.682] (EE) 2: /usr/lib64/xorg/modules/extensions/libglx.so (GlxSetVisualConfigs+0x2fa) [0x7f642d36da5a]
[   103.683] (EE) 3: /usr/lib64/xorg/modules/extensions/libglx.so (_init+0x1ad9a) [0x7f642d387bba]
[   103.683] (EE) 4: /usr/lib64/xorg/modules/extensions/libglx.so (_init+0x1a1b2) [0x7f642d386452]
[   103.683] (EE) 5: /usr/libexec/Xorg (InitExtensions+0x89) [0x561d0f3c5899]
[   103.684] (EE) 6: /usr/libexec/Xorg (InitFonts+0x1ee) [0x561d0f35ab1e]
[   103.684] (EE) 7: /lib64/libc.so.6 (__libc_start_main+0xf3) [0x7f642d9b4f33]
[   103.684] (EE) 8: /usr/libexec/Xorg (_start+0x2e) [0x561d0f34481e]
[   103.684] (EE) 
[   103.684] (EE) Segmentation fault at address 0x7f642c03e3d8
[   103.684] (EE) 
Fatal server error:
[   103.684] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   103.684] (EE) 
[   103.684] (EE) 

# 根据网上提示重装xorg-x11-server-Xorg-1.20.4-3.fc30.x86_64后问题解决
dnf reinstall xorg-x11-server-Xorg
  • grub启动菜单按e, 然后在linux开头那行最后加上single,再ctrl+x可以进入single user mode

升级后开maya2018.4出现的错误们

# 后来自己消失了
kde-open5: /usr/autodesk/maya2018/lib/libQt5Core.so.5: version `Qt_5.12' not found 

OpenCL evaluator is attempting to initialize OpenCL.
X server found. dri2 connection failed! 
Detected 3 OpenCL Platforms: 
 0: Intel. Intel Gen OCL Driver. OpenCL 2.0 beignet 1.3.
 Supported extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing
 1: The pocl project. Portable Computing Language. OpenCL 1.2 pocl 1.3-pre RelWithDebInfo, LLVM 8.0.0, SLEEF, DISTRO, POCL_DEBUG.
 Supported extensions: cl_khr_icd
 2: Mesa. Clover. OpenCL 1.1 Mesa 19.0.5.
 Supported extensions: cl_khr_icd
OpenCL evaluator failed to find OpenCL device with vendor NVIDIA Corporation.

# 把驱动从418.74升级到了430.14之后变成了
Initialized VP2.0 renderer {
  Version : 2016.11.40.12. Feature Level 5.
  Adapter : GeForce 940M/PCIe/SSE2
  Vendor ID: 4318. Device ID : 
  Driver : 4.6.0 NVIDIA 430.14.
  API : OpenGL V.4.6.
  Max texture size : 16384 * 16384.
  Max tex coords : 32
  Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).
  Shader compiler profile : (Best card profile)
  Active stereo support available : 0
  GPU Memory Limit : 1024 MB.
  CPU Memory Limit: 11286.1 MB.
  MultiDraw consolidation: enabled
}
OpenCL evaluator is attempting to initialize OpenCL.
X server found. dri2 connection failed! 
Detected 4 OpenCL Platforms: 
 0: Intel. Intel Gen OCL Driver. OpenCL 2.0 beignet 1.3.
 Supported extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing
 1: The pocl project. Portable Computing Language. OpenCL 1.2 pocl 1.3-pre RelWithDebInfo, LLVM 8.0.0, SLEEF, DISTRO, POCL_DEBUG.
 Supported extensions: cl_khr_icd
 2: Mesa. Clover. OpenCL 1.1 Mesa 19.0.5.
 Supported extensions: cl_khr_icd
 3: NVIDIA Corporation. NVIDIA CUDA. OpenCL 1.2 CUDA 10.2.120.
 Supported extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
OpenCL evaluator choosing OpenCL platform NVIDIA Corporation.
Choosing OpenCL Device GeForce 940M.  Device Type: GPU  Device is available.

QXcbClipboard: SelectionRequest too old

其他

# lz的fstab里有个在NAS上的iscsi target,不插网线的时候启动特别慢,在systemd-analyze blame里排第一位,所以lz把它暂时禁用了,需要的时候再开
systemctl disable iscsi.service

最后可以正常工作的版本组合是kernel 5.1.11-300 和 430.26 驱动

update 08/23/2019:
升级了下版本,现在是 kernel 5.2.9-200 和 430.40 驱动

参考:
Upgrading Fedora 29 to Fedora 30
RHEL 7.6 X server will not start using latest drivers 410.73, 410.93, 415.25 on Quadro K2200, K620, and K600 cards.

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google photo

You are commenting using your Google account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )

Connecting to %s

%d 博主赞过: