PyCharm crashing graphics card?

Answered

I have a quadro p4000 graphics card running on a windows 10 system, and I'm currently using pycharm community 2017.3.3.

 

I have had a few instances where my screens black out and the display does not come back on.  The screens go to sleep because they are no longer receiving a signal which makes me think something has caused the graphics card to crash...  The only thing I can do to fix it is to force shut down my computer and reboot... and I really don't like doing it like that...

 

About the only thing I have running at the time is pycharm and maybe an internet browser.  Is pycharm causing the crash, or how can I determine if it is?  Is there a setting somewhere I could change to prevent it?

 

0
6 comments
Official comment

Hello.

PyCharm does not contact hardware directly since it is user-mode application and it does not use any Windows API to manage screens. I suggest to check your event logs for errors. 

Avatar
Permanently deleted user

Thank you for the info - just trying to eliminate all the potential issues...  Next time it happens I'll try looking at the event log.  Any idea what I should be looking for?

0

Administrative events and System logs may contain some information. 

https://fellowshipofminds.files.wordpress.com/2013/11/administrative-events.jpg

 

Be sure to install latest graphic card drivers and all windows updates.

0
Avatar
Permanently deleted user

thank you!

0

Hi,

It happens the very same issue, the screen stop and I have to force a reset of my laptop even after having installed the latest Open CL driver:

chrichri@chrichri-KPL-W0X:~$ lshw -short
ATTENTION: ce programme devrait être lancé en tant que super-utilisateur.
Chemin matériel Périphérique Classe Description
=========================================================
system Computer
/0 bus Motherboard
/0/0 memory 6917MiB Mémoire système
/0/1 processor AMD Ryzen 5 2500U with Radeon Vega
/0/100 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/0.2 generic Advanced Micro Devices, Inc. [AMD]
/0/100/1.2 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0 wlp1s0 network Wireless 8265 / 8275
/0/100/8.1 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0 display Raven Ridge [Radeon Vega Series /
/0/100/8.1/0.1 multimedia Advanced Micro Devices, Inc. [AMD/
/0/100/8.1/0.2 generic Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.3 bus Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.4 bus Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.5 multimedia Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.6 multimedia Advanced Micro Devices, Inc. [AMD]
/0/100/8.2 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/8.2/0 storage FCH SATA Controller [AHCI mode]
/0/100/14 bus FCH SMBus Controller
/0/100/14.3 bridge FCH LPC Bridge
/0/101 bridge Family 17h (Models 00h-0fh) PCIe D
/0/102 bridge Family 17h (Models 00h-0fh) PCIe D
/0/103 bridge Advanced Micro Devices, Inc. [AMD]
/0/104 bridge Advanced Micro Devices, Inc. [AMD]
/0/105 bridge Advanced Micro Devices, Inc. [AMD]
/0/106 bridge Advanced Micro Devices, Inc. [AMD]
/0/107 bridge Advanced Micro Devices, Inc. [AMD]
/0/108 bridge Advanced Micro Devices, Inc. [AMD]
/0/109 bridge Advanced Micro Devices, Inc. [AMD]
/0/10a bridge Advanced Micro Devices, Inc. [AMD]
/1 enp2s0f3u3c4i2 network Ethernet interface
ATTENTION: les informations sont potentiellement incomplètes ou erronées, vous devriez lancer ce programme en tant que super-utilisateur.
chrichri@chrichri-KPL-W0X:~$ uname -a
Linux chrichri-KPL-W0X 5.4.0-80-generic #90~18.04.1-Ubuntu SMP Tue Jul 13 19:40:02 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

 

0

I have this issue also. Ubuntu-based KDE neon with proprietary Nvidia drivers. When viewing the code and Jupyter Notebook side by side, making a change on in code can result in a crash that kills the whole session (I end up logged out).

I also suspect this is related to the rendering of the Jupyter Notebook panel, because it sometimes goes blank and irresponsive.

Using PyCharm Pro 2021.2.1

 ~/w/a/s/w/t/s/i  sudo lshw -short

H/W path            Device          Class          Description ==============================================================                                    system         To Be Filled By O.E.M. (To Be Filled By O.E.M.) /0                                  bus            A320M Pro4 /0/0                                memory         64KiB BIOS /0/c                                memory         32GiB System Memory /0/c/0                              memory         8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered)  
0/c/1                              memory         8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered)  
0/c/2                              memory         8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered)  
0/c/3                              memory         8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered)  
0/e                                memory         576KiB L1 cache /0/f                                memory         3MiB L2 cache /0/10                               memory         16MiB L3 cache /0/11                               processor      AMD Ryzen 5 2600 Six-Core Processor /0/100                              bridge         Family 17h (Models 00h-0fh) Root Complex /0/100/0.2                          generic        Family 17h (Models 00h-0fh) I/O Memory Management Uni /0/100/1.1                          bridge         Family 17h (Models 00h-0fh) PCIe GPP Bridge /0/100/1.1/0                        storage        NVMe SSD Controller SM981/PM981/PM983 /0/100/1.1/0/0      /dev/nvme0      storage        Samsung SSD 970 EVO Plus 500GB /0/100/1.1/0/0/1    /dev/nvme0n1    disk           500GB NVMe namespace /0/100/1.1/0/0/1/1  /dev/nvme0n1p1  volume         465GiB EXT4 volume /0/100/1.3                          bridge         Family 17h (Models 00h-0fh) PCIe GPP Bridge /0/100/1.3/0                        bus            Advanced Micro Devices, Inc. [AMD] /0/100/1.3/0/0      usb1            bus            xHCI Host Controller /0/100/1.3/0/0/4                    input          MINOS XT /0/100/1.3/0/0/5                    input          ActiveJet K-2024 Multimedia Keyboard /0/100/1.3/0/1      usb2            bus            xHCI Host Controller /0/100/1.3/0.1                      storage        Advanced Micro Devices, Inc. [AMD] /0/100/1.3/0.2                      bridge         Advanced Micro Devices, Inc. [AMD] /0/100/1.3/0.2/4                    bridge         300 Series Chipset PCIe Port /0/100/1.3/0.2/6                    bridge         300 Series Chipset PCIe Port /0/100/1.3/0.2/7                    bridge         300 Series Chipset PCIe Port /0/100/1.3/0.2/7/0  enp37s0         network        RTL8111/8168/8411 PCI Express Gigabit Ethernet Contro /0/100/3.1                          bridge         Family 17h (Models 00h-0fh) PCIe GPP Bridge /0/100/3.1/0                        display        TU116 [GeForce GTX 1660] /0/100/3.1/0.1                      multimedia     TU116 High Definition Audio Controller /0/100/3.1/0.2                      bus            TU116 USB 3.1 Host Controller /0/100/3.1/0.2/0    usb3            bus            xHCI Host Controller /0/100/3.1/0.2/1    usb4            bus            xHCI Host Controller /0/100/3.1/0.3                      bus            TU116 [GeForce GTX 1650 SUPER] /0/100/7.1                          bridge         Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge  
0/100/7.1/0                        generic        Zeppelin/Raven/Raven2 PCIe Dummy Function /0/100/7.1/0.2                      generic        Family 17h (Models 00h-0fh) Platform Security Process /0/100/7.1/0.3                      bus            Zeppelin USB 3.0 Host controller /0/100/7.1/0.3/0    usb5            bus            xHCI Host Controller /0/100/7.1/0.3/0/2                  multimedia     USB Audio Device /0/100/7.1/0.3/0/3                  multimedia     Webcam C270 /0/100/7.1/0.3/1    usb6            bus            xHCI Host Controller /0/100/8.1                          bridge         Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge  
0/100/8.1/0                        generic        Zeppelin/Renoir PCIe Dummy Function /0/100/8.1/0.2                      storage        FCH SATA Controller [AHCI mode] /0/100/8.1/0.3                      multimedia     Family 17h (Models 00h-0fh) HD Audio Controller /0/100/14                           bus            FCH SMBus Controller /0/100/14.3                         bridge         FCH LPC Bridge /0/101                              bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge /0/102                              bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge /0/103                              bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge /0/104                              bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge /0/105                              bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge /0/106                              bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge /0/107                              bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h;  
0/108                              bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h;  
0/109                              bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h;  
0/10a                              bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h;  
0/10b                              bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h;  
0/10c                              bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h;  
0/10d                              bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h;  
0/10e                              bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h;  
0/1                                system         PnP device PNP0c01 /0/2                                system         PnP device PNP0c02 /0/3                                system         PnP device PNP0b00 /0/4                                system         PnP device PNP0c02 /0/5                                communication  PnP device PNP0501 /0/6                                system         PnP device PNP0c02 /0/7                scsi0           storage         
0/7/0.0.0          /dev/sda        disk           256GB SPCC Solid State /0/7/0.0.0/1        /dev/sda1       volume         238GiB EXT4 volume /0/8                scsi4           storage         
0/8/0.0.0          /dev/sdb        disk           512GB ADATA SU800 /0/8/0.0.0/1        /dev/sdb1       volume         99MiB Windows FAT volume /0/8/0.0.0/2        /dev/sdb2       volume         15MiB reserved partition /0/8/0.0.0/3        /dev/sdb3       volume         476GiB Windows NTFS volume
0

Please sign in to leave a comment.