Hi!
I’m using XFCE EndeavourOS on my HP Omen 2020, it is a laptop with AMD integrated and Nvidia dedicated GPU. I’m running it in a dual monitor setup, with the second monitor connected through HDMI.
Endeavour with Nvidia drivers preinstalled runs with no problems and it works out of the box. Never had a single trouble.
I tried to install several distros on this machine, but every distro I tried (Debian, MXLinux, Void, Mint, Archlabs…and more) that doesn’t ship with Nvidia drivers preinstalled has the same problem: it doesn’t detect my second monitor out of the box. Now, I get that I have to install the drivers in order to get it work, and this isn’t a problem usually. The thing that I can’t understand is that after the installation of the drivers and reboot, the second monitor still can’t be detected.
I can (sometimes) see it only after a lot of tinkering, usually with xorg.conf. After setting the config the right way, usually it starts working (although with some little troubles here and there).
So I thought that it must be somewhere a sort of Xorg config file on EndeavourOS too, and I was going to check it in order to discover what am I missing and the way it should be to have it working.
The thing is that I can’t find any config file similar to that. In fact, I can’t find any configuration file about the displays at all, it just ran perfectly since the first start, like magically.
So, since neither of the other distros can do that, al least not out of the box, I’m trying to understand what Endeavour is “doing” differently. Has it something to do with the way the Nvidia drivers are (pre)configured? Where can I find the file that handles the display’s layout? It HAS to be something, somewhere, to my (limited) understanding.
Note that every other distro I tried were on XFCE too, so the thing has nothing to do with the DE, and it’s Endeavour-related (the same thing used to happen in KDE).
Yes, Nvidia drivers are preinstalled. The external monitor is working perfectly. I am not switching graphics, as I said it’s working out of the box and I’m not doing anything.
Searching on the web I found lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA which should show which GPU I’m using and it says I’m using both.
It’s running on amdgpu and yes the drivers are installed. How do you switch between graphics? Or do you? Or do you care? If the system is working fine and you have no need to use nvidia graphics for gaming or what ever then it really doesn’t matter. As far as what xorg file is set up on the system you’ll have to check and see. As far as why it a monitor doesn’t work on other distro’s i have no answer.
Yes. The system is working fine and I’m totally happy with it.
As far as what xorg file is set up on the system you’ll have to check and see.
I’m sorry if I wasn’t clear, my question was: how/where can I check, since I haven’t /etc/X11/xorg.conf.d/20-nvidia.conf?
Is there a config file that handles these things, like a file with inxi -G-like data which I can copy and use on other distros in order to setup other distros the same way I set up Endeavour, Nvidia and display-wise?
To my understanding it has to be, somewhere, a file/config like this…if I haven’t 20-nvidia.conf so I should have a similar substitute that does the same thing. Otherwise, how do it work?
There is one explanation, and it is the simplest one, as usual.
I don’t know about non-arch-based systems, but it should be similar.
You don’t need any configuration file.
Those other distros, might probably try to outsmart the system, using a better AI powered method, and they fail.
Nowadays, Xorg and video drivers with the proper (upstream Archlinux) packaging (installation instructions), handle the majority of system HW/SW configurations.
In the rare cases that there are some issues, a proper configuration file may help. Those files are saved at /etc/X11/xorg.conf.d/ folder.
Another probable reason for others failing, might be that they may use custom, or public utilities OOTB (which feels to a new user like it is not something extra), but the user may not be properly informed about proper usage.
In short, everything needs to be proper!
Since you seem to be using only the AMD graphics, does it mean you could remove the Nvidia card from your system? That might be an interesting experiment…
Well actually I don’t get where it shows that I’m not using the dedicated GPU…plus, if this is true, does that mean that my problem isn’t Nvidia related at all?!
Even if at the time of terminal commands/reports are run, nvidia driver/module does not actually do any job, it is still available/loaded:
But the important is that with laptops, the external output connectors are usually attached to the dGPU (nvidia), so it matters with external monitors.
I guess what was meant was that you could uninstall proprietary nvidia and let the kernel-included nouveau to drive nvidia card. If you don’t need much power (for games, or video/graphics applications), nouveau would do the job fine.
sure, i will. i just thought that asking on the forum of the only distro that is working right could helped me to find the magic file and copy it, in order to paste it on other distros
Sometimes it’s just the hardware and UEFI Bios is better and that makes it work correctly. Someone else won’t be so lucky. Doesn’t mean it’s going to work the same on another Linux version.
Your system is probably set up to use the dedicated Gpu when an external monitor is connected. I guess one could disconnect the external monitor and run the same command and see if it only shows amdgpu?