win10安装RStudio报错

本文涉及的产品
实时数仓Hologres,5000CU*H 100GB 3个月
实时计算 Flink 版,5000CU*H 3个月
检索分析服务 Elasticsearch 版,2核4GB开发者规格 1个月
简介: 在Windows 10上安装RStudio 2023.12.0-369后,启动时遇到GPU过程启动失败错误(error_code=18)。系统显示NVIDIA GeForce RTX 4070显卡及CUDA Version 12.4。为解决问题,尝试以`--no-sandbox`参数启动RStudio:`"C:\Program Files\RStudio\rstudio.exe" --no-sandbox`,应用此方法后问题得到解决。

背景介绍

在windows10中安装RStudio后,启动一闪而过。经过日志和命令行查看发现错误如下
```shell

win10 启动RStudio报错

C:\Program Files\RStudio>rstudio.exe

C:\Program Files\RStudio>
[5828:0125/182238.478:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.490:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.490:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.490:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.505:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.505:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.505:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.505:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.521:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[5828:0125/182238.521:FATAL:gpu_data_manager_impl_private.cc(431)] GPU process isn't usable. Goodbye.


## 环境说明

> 系统为windows10桌面操作系统
> RStudio版本为是 RStudio-2023.12.0-369
> nvidia版本信息如下 : `C:\Users\Administrator>nvidia-smi`
```bash
Thu Mar 15 18:21:43 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 551.23                 Driver Version: 551.23         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                     TCC/WDDM  | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...  WDDM  |   00000000:01:00.0  On |                  N/A |
|  0%   28C    P8              5W /  220W |     237MiB /  12282MiB |      1%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      4272    C+G   ..._8wekyb3d8bbwe\Microsoft.Photos.exe      N/A      |
|    0   N/A  N/A      7076    C+G   C:\Windows\explorer.exe                     N/A      |
|    0   N/A  N/A      8372    C+G   ....Search_cw5n1h2txyewy\SearchApp.exe      N/A      |
|    0   N/A  N/A      8924    C+G   ...CBS_cw5n1h2txyewy\TextInputHost.exe      N/A      |
+-----------------------------------------------------------------------------------------+
AI 代码解读

解决方案

"添加启动参数""

"C:\Program Files\RStudio\rstudio.exe" --no-sandbox

验证问题是否解决

双击软件发现问题已经解决

相关实践学习
部署Stable Diffusion玩转AI绘画(GPU云服务器)
本实验通过在ECS上从零开始部署Stable Diffusion来进行AI绘画创作,开启AIGC盲盒。
目录
打赏
0
0
0
0
12
分享
相关文章
windows11 vscode 配置 php环境
windows11 vscode 配置 php环境
107 0
Win11下载与安装
Windows 11的开始菜单在继承了前代系统圆角、毛玻璃这些外观属性外,增加了搜索栏。动态磁贴被彻底删除,取而代之是简化后的“图标”以及由算法驱动的推荐列表。任务栏采用居中式,但会提供一个开关用于调整
517 0
Win11下载与安装
|
8月前
|
win下安装scrapyd spiderkeeper
win下安装scrapyd spiderkeeper
35 0
windows + ubuntu + vscode开发环境配置安装(一)
windows + ubuntu + vscode开发环境配置安装(一)
298 0
基于Windows 10下的PyCharm 安装教程详解
基于Windows 10下的PyCharm 安装教程详解
381 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等