buttleofx / ButtleOFX

ButtleOFX is an open source compositing software.
http://buttleofx.wordpress.com
91 stars 22 forks source link

libGL/QOpenGLShaderProgram error when starting #124

Closed JamesWrigley closed 9 years ago

JamesWrigley commented 9 years ago

Hi there, When I try to run ButtleOFX I get these errors:

$  ./run_buttleofx.sh 
--------------------------------------------------
QML_IMPORT_PATH: ./Qt5.2.0/gcc_64/qml:/home/james/src/ButtleOFX_Alpha_Linux64_v2.0/ButtleOFX/QuickMamba/quickmamba/../qml
"Qt Warning - invalid keysym: dead_actute" 
view <PyQt5.QtQml.QQmlEngine object at 0x7f82d54773e0>
view <PyQt5.QtQml.QQmlEngine object at 0x7f82d54773e0>
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/65-0-lohit-bengali.conf", line 32: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/69-gnu-free-sans.conf", line 24: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/69-gnu-free-serif.conf", line 24: unknown element "langset"
QOpenGLShaderProgram: could not create shader program 
QOpenGLShader: could not create shader 
Renderer failed shader compilation: 
"" 
./run_buttleofx.sh: line 24: 18850 Segmentation fault      (core dumped) $PYTHONHOME/bin/python $BUTTLE_TOP_DIR/ButtleOFX/buttleApp.py

I did some googling, and apparently this is because my drivers don't support OpenGL 2, but glxinfo shows that they support OpenGL 3. I can also run individual QML files fine with qmlscene file.qml. Any ideas? I'm running Nouveau on Fedora 21.

fabiencastan commented 9 years ago

When you have tested individual QML files with qmlscene, are you using the version 5.2 of Qt ?

fabiencastan commented 9 years ago

Maybe something similar to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740128

The variable LIBGL_DRIVERS_PATH allows to modify the lib to use.

JamesWrigley commented 9 years ago

No, Qt 5.4. Setting that variable didn't do anything unfortunately. I wonder if I have to install the proprietary drivers? That's what I was using on my previous (F20) system.

JamesWrigley commented 9 years ago

After installing the proprietary drivers ButtleOFX works fine. (sorry this took so long, the drivers for my card were only added recently)