简体   繁体   English

运行时 API 错误 38:未检测到支持 CUDA 的设备/Ubuntu 黑屏

[英]Runtime API error 38 : no CUDA-capable device is detected / Ubuntu black screen

I am currently trying to fix the following error:我目前正在尝试修复以下错误:

Runtime API error 38 : no CUDA - capable device is detected.运行时 API 错误 38:未检测到支持 CUDA 的设备。

I tryed to apply the advices given here: CUDA-capable device And I also tryed to apply other ones from the web.我尝试应用这里给出的建议: CUDA-capable device我还尝试应用网络上的其他建议。

The main issue is: when I rebooted my computer now, Ubuntu starts with command lines (with id and pass).主要问题是:当我现在重新启动计算机时,Ubuntu 以命令行(带有 id 和 pass)启动。

But I don't manage to get the Ubuntu usual desktop interface.但我无法获得 Ubuntu 常用的桌面界面。

When I do CTL + ALT + F6 (or F something) then I can see something related to graphics drivers [fail] ed.当我执行 CTL + ALT + F6(或 F 某些操作)时,我可以看到与图形驱动程序相关的内容 [fail] ed。

Do anyone know how to fix/restore the previous/initial Ubuntu graphics driver to come back to the previous state ?有谁知道如何修复/恢复以前/初始 Ubuntu 图形驱动程序以恢复到以前的状态? I do use a Nvidia Geforce 620.我确实使用了 Nvidia Geforce 620。

I am currently using the "try" version on the Ubuntu CD to write this message to you, I could not do it other way since I don't even access the Ubuntu desktop, because of this issue.我目前正在使用 Ubuntu CD 上的“尝试”版本将这条消息写给您,由于这个问题,我无法以其他方式执行此操作,因为我什至无法访问 Ubuntu 桌面。

I believe there is a better solution than recovering the data and format/resetup, so I am ready to try, the thing is, I don't know how I could fix this issue with the use of command lines.我相信有比恢复数据和格式化/重置更好的解决方案,所以我准备尝试,问题是,我不知道如何使用命令行解决这个问题。

Thanks a lot in advance.非常感谢。

Gibo吉博

RESOLVE UBUNTU/ZORIN - LINUX OS BLACK SCREEN解决 UBUNTU/ZORIN - LINUX 操作系统黑屏

This is a gnome graphic error.这是一个 gnome 图形错误。 I think window display manager got corrupted as it can't read the display libraries.我认为窗口显示管理器已损坏,因为它无法读取显示库。 I had this problem on my zorin o 15.3 & when I researched i found that xserver needs to be reinstalled.我在 zorin o 15.3 上遇到了这个问题,当我研究时,我发现需要重新安装 xserver。

Step1 : Enter to tty2 (Ctrl + Alt + F2) & login with user credentials步骤 1:输入 tty2 (Ctrl + Alt + F2) 并使用用户凭据登录

Step2 : sudo apt-get autoclean第二步:sudo apt-get autoclean

Step3 : sudo apt-get install --reinstall xserver-xorg第三步:sudo apt-get install --reinstall xserver-xorg

Step4 : If you get dpkg interrupted msg, run sudo dpkg --configure -a , else proceed to next step.步骤 4:如果 dpkg 中断 msg,请运行 sudo dpkg --configure -a ,否则继续下一步。

Step5: Reboot your machine - reboot第五步:重启你的机器 - 重启

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java运行时环境(ant和ubuntu)检测到致命错误 - A fatal error has been detected by the Java Runtime Environment (ant and ubuntu) Ubuntu, JavaFX, Java运行时环境检测到致命错误 - Ubuntu, JavaFX, A fatal error has been detected by the Java Runtime Environment Ubuntu 16.04, CUDA 8 - CUDA 驱动程序版本不足以支持 CUDA 运行时版本 - Ubuntu 16.04, CUDA 8 - CUDA driver version is insufficient for CUDA runtime version 致命错误:cuda_runtime_api.h:尝试在 docker 中使用 cuda 时没有这样的文件或目录 - fatal error: cuda_runtime_api.h: No such file or directory when trying to use cuda in docker Android Studio未检测到我的USB设备-Ubuntu - Android Studio not detected my usb device - ubuntu 在 Ubuntu18.04 中使用 CUDA 使用 Python 库 Keops 的运行时错误 - Runtime error using Python Library Keops using CUDA in Ubuntu18.04 NVIDIA TV上的Ubuntu-CUDA驱动程序版本不足于CUDA运行时版本 - Ubuntu at NVIDIA TV - CUDA driver version is insufficient for CUDA runtime version UUDntu 12.04中的CUDA链接错误 - CUDA linking error in Ubuntu 12.04 Windows 7中的Ubuntu VM中的Android模拟器中的黑屏 - black screen in Android emulator in Ubuntu VM in Windows 7 ubuntu中的java运行时错误 - java runtime error in ubuntu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM