QWebEngineView crashes immediately especially after scrolling - Qt5.8



  • I'm trying out a simple QWebEngineView example but it keeps crashing and I have no idea why.

    Here's the code in main.cpp

    #include <QApplication>
    #include <QWebEngineView>
    
    int main(int argc, char *argv[])
    {
        QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
        QApplication app(argc, argv);
    
        QWebEngineView view;
        view.resize(1024, 750);
        view.load(QUrl("http://www.qt.io"));
        view.show();
    
        return app.exec();
    }
    

    and here's the .pro file

    TEMPLATE = app
    
    QT += webenginewidgets
    
    SOURCES += main.cpp
    
    target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/minimal
    INSTALLS += target
    

    and this is the error message I get

    > nouveau: kernel rejected pushbuf: No such file or directory nouveau:
    > ch8: krec 0 pushes 0 bufs 2 relocs 0 nouveau: ch8: buf 00000000
    > 00000002 00000004 00000004 00000000 nouveau: ch8: buf 00000001
    > 00000006 00000004 00000000 00000004 nouveau: kernel rejected pushbuf:
    > No such file or directory nouveau: ch8: krec 0 pushes 0 bufs 2 relocs
    > 0 nouveau: ch8: buf 00000000 00000002 00000004 00000004 00000000
    > nouveau: ch8: buf 00000001 00000006 00000004 00000000 00000004
    > nouveau: kernel rejected pushbuf: No such file or directory nouveau:
    > ch8: krec 0 pushes 0 bufs 2 relocs 0 nouveau: ch8: buf 00000000
    > 00000002 00000004 00000004 00000000 nouveau: ch8: buf 00000001
    > 00000006 00000004 00000000 00000004 nouveau: kernel rejected pushbuf:
    > No such file or directory nouveau: ch8: krec 0 pushes 0 bufs 1 relocs
    > 0 nouveau: ch8: buf 00000000 00000002 00000004 00000004 00000000 The
    > program has unexpectedly finished.
    

    I'm running Qt 5.8 on a korora 25 [based on fedora] machine.


  • Moderators

    @Script22 said in QWebEngineView crashes immediately especially after scrolling - Qt5.8:

    nouveau: kernel rejected pushbuf:

    No such file or directory

    Looks like a known bug with nouveau and qt webengine.

    https://bugs.freedesktop.org/show_bug.cgi?id=91632


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.