You are not logged in.
Pages: 1
Hi, I just install arch linux few days ago and things are going great. but i can't get nvidia-libgl working.
I want to have better preformance in games, so i would like to use nvidia-libgl instead of mesa-libgl,
but if i install nvidia-libgl, kde won't start, with following message in journalctl:
sddm-greeter: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
sddm-greeter: Failed to create OpenGL context for format QSurfaceFormat(version 2.0 options QFlags(), .......
if i replace nvidia-libgl with mesa-libgl, there is no problem in starting kde.
What can i do to make nvidia-libgl work?
Edit: the work around would be using bumblebee if you have a optimus system. And don't use xorg.conf with bumblebee.
Last edited by Tofu_Bone (2016-12-29 01:43:58)
Offline
Is this an optimus system? If so, check out bumblebee.
Online
Thanks for the help.
After i just tried out bumblebee, my performance improved.
But i planned on playing games with vulkan support (dota2) ,so i guesss i have to stuck with bumblebee for now.
Will bumblebee have vulkan support?
Offline
empty
Last edited by infinarchy (2017-11-04 21:41:19)
Offline
Will you use Google?
What should i google?
I checked to arch wiki and can't find anything similar.
Offline
http://lmgtfy.com/?q=Will+bumblebee+hav … support%3F
The first search result should have your answer.
Offline
google! (yes) search arch wiki bumblebee (yes sir/mam)
Bumblebee - ArchWiki
NVIDIA Optimus - ArchWiki
PRIME - ArchWiki
Offline
I am sorry if you guys misunderstand, my english in not perfect.
I mean i can't find anything on google about enable nvidia-libgl without disrupting the kde session.
Yes , i know about bumble and vulkan now, thanks.
Offline
empty
Last edited by infinarchy (2017-11-04 21:41:03)
Offline
my GPU is : 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff)
with i5 core
Do i need to post the whole journalctl ?
my native language is chinese ![]()
Last edited by Tofu_Bone (2016-12-28 05:40:06)
Offline
empty
Last edited by infinarchy (2017-11-04 21:40:59)
Offline
WTF no... don't follow infinarch's advice, NEVER run nvidia-xconfig and especially not on an Optimus system you will break your graphical session guaranteed.
@Tofu_Bone
There is one way to enable native use of nvidia's libgl (at the cost of not being able to dynamically switch between intel and nvidia and therefore having increased power consumption). It has been hinted at multiple times in this thread, but I'm just going to be more explicit this once to prevent further damage (sorry infinarch, nothing against you, this is simply not a good suggestion): Follow https://wiki.archlinux.org/index.php/NV … ing_nvidia (make sure to read the instructions carefully, there's a lot of additional information in there that might not be necessary on fully updated systems) If you run into any problems with these, detail the steps you took, post the configuration files you created and any logs that are relevant.
Offline
WTF no... don't follow infinarch's advice, NEVER run nvidia-xconfig and especially not on an Optimus system you will break your graphical session guaranteed.
you should add a warning to the wiki if you should never run nvidia-xconfig
https://wiki.archlinux.org/index.php/NV … figuration
Offline
There already is one (scroll up to the whole configuration section), and never might be a bit strong, there are no benefits to having it run and using it as is (on systems where nvidia is the main driving card, which isn't the case here), while it does break autodetection of e.g. future monitors. It can be useful if you have to edit xorg configuration and want to use it as a skeleton for your own configuration. E.g. you want the metamodes generated so you can add the composition pipeline config.
And from what I gather from the general wiki structure Optimus and standalone nvidia config should be kept seperate, which is why the first sentence on the Nvidia article redirects you to the Optimus page. The real issue here is that people often don't know that they have an Optimus system and therefore should be following another article from the Nvidia one.
Offline
empty
Last edited by infinarchy (2017-11-04 21:40:49)
Offline
I knew that someone would freak out about my suggestion. ^^
If you knew it was bad advice, why did you give it?
Online
empty
Last edited by infinarchy (2017-11-04 21:40:45)
Offline
I finally get the system working, after the nvidia-xconfig command ,kde won't start.
i just delete the xorg.conf file, and i can login in kde.
I have no problem running the system with no xorg.conf file, should i make a new one?
Offline
Did you follow the wiki guide for optimus or bumblebee or set the nvidia card to be the primary card in the firmware or just install mesa-libgl and delete the xorg.conf?
It is unclear what the current situation of the system is making it impossible to answer your question.
Edit:
grammar missing is
Last edited by loqs (2016-12-28 23:56:11)
Offline
I can't install nvidia-libgl, because it disrupt kde, so i install mesa-libgl
I followed to bumblebee guide and get bumblebee working.
And i realize bumblebee provide nvidia-libgl, so i guess the nvidia-libgl problem is solved.
i ran the command nvidia-xconfig, which is not suggest to use, and broke my system.
i delete the xorg.conf file, and the system is working fine now.
shoould i make a new xorg.conf ?
Offline
If integrated graphics had previously been disabled and discrete graphics drivers installed, be sure to remove /etc/X11/xorg.conf or the conf file in /etc/X11/xorg.conf.d related to the discrete graphics card.
As bumble conflict with nvidia-304xx-libgl, nvidia-340xx-libgl, nvidia-libgl it would have been removed when you installed nvidia-libgl, I assume you installed it again and that should have pulled in mesa-libgl as a dependancy.
If that is the case then you are using bumblebee and the advice about not using xorg.conf from the wiki should be clear.
If you have mesa-libgl installed without bumblebee then only the integrated gpu will be in use and you should start over following the wiki pages for the one of the solutions that has already been mentioned.
An xorg.log would remove much of the guess work from this situation.
Offline
alright, Thanks guys, ![]()
Offline
Pages: 1