Ask Your Question

Qt Creator + Nvidia = broken qDebug()

asked 2015-06-05 08:44:59 -0500

AnEagle gravatar image

When build a project:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

Everything is fine but I can't see messages from qDebug(). This is a problem. List of installed nvidia packages:

 % dnf list installed | grep nvidia                                                                                             ~ localhost
akmod-nvidia.x86_64                      1:346.72-2.fc22.1               @System
kmod-nvidia-4.0.4-301.fc22.x86_64.x86_64 1:346.72-2.fc22.1               @System
kmod-nvidia-4.0.4-303.fc22.x86_64.x86_64 1:346.72-2.fc22.1               @System
xorg-x11-drv-nvidia.x86_64               1:346.72-1.fc22                 @System
xorg-x11-drv-nvidia-kmodsrc.x86_64       1:346.72-1.fc22                 @System
xorg-x11-drv-nvidia-libs.i686            1:346.72-1.fc22                 @System
xorg-x11-drv-nvidia-libs.x86_64          1:346.72-1.fc22                 @System

I also have no framebuffer and guess that problem can be there. vga=775 does not solve the problem. Any ideas for how to get qDebug() work as it should?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-15 23:53:48 -0500

glitchyme gravatar image

This looks similar to my problem:

The problem was a bad (not broken) symlink for This happened after updating the nvidia drivers recently. Can you try removing and pointing it to nvidia/ ?

sudo rm /usr/lib64/
sudo ln -s /usr/lib64/nvidia/ /usr/lib64/

Make sure to take a backup first, or remember where was originally pointing.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-05 08:44:59 -0500

Seen: 678 times

Last updated: Jun 05 '15