Hi @Feynman, I assume you're struggling with a RoG laptop? Presumably G551? Assuming this, since I'm walking the same painful path, and my laptop looks the same, as the screenshot (the GPU is 960M, confirmed in Windows and Far Cry 4
). I completely discarded Fedora as an option, since the nouveau drivers it was shipped with caused my system to completely freeze. I had to work entirely in runlevel 3, since the graphic environment was causing complete system freeze.
If you've completely resolved the issue - please share the solution, since I'm still working on it.
Anyway, I see that you've made quite a lot of attempts at installing, deinstalling drivers, etc, seeing the packages you've installed. My hint (since this is the way I'm working atm) is to make a clean new installation with /home on a separate partition so you won't need to migrate your user data each time. and then create a snapshots of "/" and "/boot" partitions (used dd for the purpouse). Yesterday I spent the whole day, digging around this problem, and managed to completely destroy the graphic environment and had to restore the images.
So, today I found out, that one of the reasons for this missbehaviour is the lack of xorg.conf file - usually there is a set of configuration files in /usr/share/X11/xorg.conf.d/ and no xorg.conf file in the distro. In order to resolve it stop the display manager (could be different, ls /etc/init.d/ |grep dm to see which is it)
Code:
# sudo /etc/init.d/mdm stop
Then from shell execute:
Code:
# sudo Xorg -configure
This will generate xorg.conf.new in the home directory of the user. Copy the file to the /etc/X11/
Code:
# sudo cp ~/xorg.conf.new /etc/X11/xorg.conf
The existence of xorg.conf is essential, since nvidia-xconfigure attempts to write exactly there. When I created the xorg.conf - I managed to successfully run glxgears, which wasn't possible before. Other thing I found was, that mdm is not compatible with the nVidia drivers, but I'm yet to prove this, since I didn't have enough time to test the solution.
I'll update here if I manage to fix the issue.
Edit: The part with incompatibility was in regard with Nvidia Prime, not with the drivers themselves.