how to solve CPU random generator seem to be failing, disabling hardware random number generation error

1

I am trying to build the browser by using PyQt5 but my system not showing this warning while running the code:

WARNING: CPU random generator seem to be failing, disabling hardware random number generation
WARNING: RDRND generated: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
from PyQt5.QtWidgets import *
import sys


class MainWindow(QMainWindow):
    def __init__(self):
        super(MainWindow, self).__init__()
        self.showMaximized()


app = QApplication(sys.argv)
QApplication.setApplicationName('Ts Browser')
app.exec_()
python
pyqt5
asked on Stack Overflow Feb 20, 2021 by tarun kumar • edited Feb 20, 2021 by eyllanesc

1 Answer

3

I think this is related to the amd bug mentioned in this link: AskUbuntu Question and in the comments there AMD Microcode Bug on Ars technica

Based on these links you need to update your bios. There are mentioned several workarounds in the articel too but seem not to work everytime and properly.

answered on Stack Overflow Feb 20, 2021 by HopFlash

User contributions licensed under CC BY-SA 3.0