You are not logged in.
Hello,
I have a XPS-15 with an Intel and GTX1650 GPU. I'm currently trying to set up Optimus so that I can use my nvidia card. I've installed the nvidia drivers and utilities, but I've encountered a problem while following the Optimus wiki page, under the "Use NVIDIA graphics only" section: https://wiki.archlinux.org/index.php/NVIDIA_Optimus
When I create said configuration file (10-nvidia-drm-outputclass.conf) in /etc/X11/xorg.conf.d/, alongside my already existing Intel conf file, Xorg won't boot up anymore.
Here's my Xorg.0.log file: https://pastebin.com/bbrgAE19
I wasn't even able to open nvidia-settings until I created a new xorg.conf config file specifying my NVIDIA GPU info in /etc/X11/ (https://pastebin.com/v91ukniT).
As soon as I create the nvidia configuration file in /etc/X11/xorg.conf.d, even if it's only to specify the driver and the name card, my Xorg won't load up and I'm stuck in a black screen.
I'm kinda loss here. Sorry if I haven't provided enough info. Any help is appreciated.
(WM: I3)
Last edited by normalaccount (2020-11-13 20:56:29)
Offline
Please post the full Xorg.0.log as well as the contents of every .conf file /etc/X11/xorg.conf.d/
Offline
Full Xorg.0.log file: https://pastebin.com/yT1jxYc5
20-intel.conf in /etc/X11/xorg.conf.d: https://pastebin.com/rRrwquzm
I don't have other files in etc/X11/xorg.conf.d. Thanks for the answer.
Last edited by normalaccount (2020-11-12 04:45:08)
Offline
[ 177.236] (==) Using config file: "/etc/X11/xorg.conf"If you remove the above can you still reproduce the issue?
Offline
Yes, removing the xorg.conf file doesn't fix the issue. In fact, I created this file after encountering the problem so that nvidia-settings could load my gpu info.
Offline
Remove 20-intel.conf add back 10-nvidia-drm-outputclass.conf with the suggested content. If that does not work please post an updated Xorg.0.log.
Offline
Sorry for the late answer. I removed the 20-intel.conf file, created the 10-nvidia-drm-outputclass.conf file, then rebooted, but Xorg wouldn't boot up. Still a black screen. So I had to remove the nvidia file and re-create my intel .conf file.
Here's the Xorg log from when my screen was black: https://pastebin.com/RjerzUQc
Last edited by normalaccount (2020-11-12 17:23:24)
Offline
Remove your intel conf file and the /etc/X11/xorg.conf, both will simply directly conflict with what you intend to do. Did you follow the necessary steps for adding the xrandr calls at the appropriate location depending on whether you use xinit or a display manager?
Last edited by V1del (2020-11-12 17:41:17)
Offline
Remove your intel conf file and the /etc/X11/xorg.conf, both will simply directly conflict with what you intend to do. Did you follow the necessary steps for adding the xrandr calls at the appropriate location depending on whether you use xinit or a display manager?
Just removed the xorg.conf file, removed the intel file, and re-created the nvidia file, and that didn't help. Rebooted and Xorg wouldn't start. And yeah, I've created the 2 autostart files as shown in the wiki since I use GDM.
Seems like nothing's working out
. Such a strange issue.
Offline
Post your files and their contents. Also, maybe try with something other than GDM, it often has issues with this setup. (FWIW is the file you created readable by "other"?)
Last edited by V1del (2020-11-12 19:57:56)
Offline
Post your files and their contents. Also, maybe try with something other than GDM, it often has issues with this setup. (FWIW is the file you created readable by "other"?)
I already posted my 20-intel.conf file, my xorg.conf file, and the 2 autostart files are copy-pasted from the Arch wiki. I don't have anything else to show unfortunately ![]()
I'll try installing lightdm and see if it fixes my issues. Honestly, I doubt it, but it's worth trying.
And yeah, all of my files have permissions set to 644.
Thanks for your answers. I'll post an update after installing lightdm.
Offline
I would suggest stopping all DM use. Try startx. If you have not used it before on the system follow Xinit#xinitrc add the xrandr calls just before the exec call.
Offline
When I create said configuration file (10-nvidia-drm-outputclass.conf) in /etc/X11/xorg.conf.d/, alongside my already existing Intel conf file, Xorg won't boot up anymore.
I'm gonna assume that's because you didn't redirect the output.
Stop messing around.
- remove the xorg.conf (it's not helpful)
- remove xf86-video-intel (and the 20-intel.conf file)
- re-add the 10-nvidia-drm-outputclass.conf
- ensure to have "nvidia-drm.modeset=1" as kernel parameter and most importantly:
- Make the "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto" calls at the appropriate location.
For GDM als ensure to https://wiki.archlinux.org/index.php/GD … rg_backend
Offline
Update: I disabled GDM, removed the intel configuration file and the driver, and now I can boot I3 with startx. Had to tweak quite a few things because the output was deformed but now it looks great. Only thing is that some characters like the Celsius degree one don't show up correctly, I'll try to fix that later but it's nothing huge.
Thanks for the help y'all.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
If you ca't fix the character problem, feel free to open a new thread.
Offline