
export MESA_DEBUG=1
export EGL_LOG_LEVEL=debug
export LIBGL_DEBUG=verbose
export WAYLAND_DEBUG=1
2. 运行egl程序时,帧率不高,可以设置 vblank_mode=0 tells the graphic card to ignore the refresh rate of your monitor and just try to reach the maximux fps it's capable off.
You usually don't want this, because it causes tearing and wastes battery life without any benefits (you can't view more then, in your case, 60fps because your monitor isn't able to change what's displaying more than 60 times every second).
You might sometimes want this (in online shooters such as cs:go for example) because otherwise you will have a lot of input lag. It's a trade-off, input lag vs. screen tearing.
I think optirun sets vblank_mode=0 by default, so it doesn't change whether you specify it or not. primusrun doesn't and it too caps at 60 fps without vblank_mode=0.
3. 关于weston运行时的一些环境变量
WAYLAND_SOCKET
WAYLAND_DISPLAY 默认为wayland-0, wayland-1。
XDG_RUNTIME_DIR 默认为/run/user/1000 上述socket文件wayland-0在此目录下。
用终端进入到qtcreator的安装目录,在其目录下执行 /qtcreator,看看终端上显示什么错误。
解决方案一:
版本问题,找一下之前的版本试一下,qt就是这个比较坑
解决方案二:
请把你的编译错误信息贴出来,大家好给你帮忙啊
解决方案三:
编译出错应该是QT4到QT5的问题..现在好了 可是连接数据有问题 界面打不开
解决方案四:
out of memory,内存不够了。还是你数据库连接字符串不正确
解决方案五:
1.什么叫“能运行倒是编译没过”编译都没过怎么运行的?
2.下载一个老一点版本的QT吧,你们交作业总不会限定你们使用QT的版本
解决方案六:
你搜索一下,看看升级qt版本会不会出现这样的问题啊,要是会出现可能会有相似的解决方案
解决方案七:
去百度查一下吧,要学会自己解决问题,csdn这里其实对这种很不明确的问题更不容易解决。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)