You are not logged in.
My second display does not turn on after logging in (after installing drivers)
it also does not get recognized
i had this issue with every distro except Ubuntu and mint
but in arch
when i log out my second display turns on and my main turns off
i know this is a common issue and i know by reading https://wiki.archlinux.org/title/NVIDIA i can prolly fix
i have read it but understanding it is pretty hard for me
Edit :
i fed info from archwiki to gpt4turbo and it gave me some info that was helpful
so i switched to lightdm and x11
and then did this
To configure your Xorg for both the Intel UHD Graphics and the NVIDIA GeForce RTX 3050 GPU, you'll need to create a configuration file in `/etc/X11/xorg.conf.d/`. Here's how you can set it up:
1. **Create a file for NVIDIA GPU**:
Use the `nvidia-xconfig` utility to generate a base configuration for your NVIDIA GPU. This will handle most of the setup automatically:
```bash
sudo nvidia-xconfig
```
This will create or modify the `/etc/X11/xorg.conf` file. You might want to move this to `/etc/X11/xorg.conf.d/20-nvidia.conf` to keep your configuration files organized [[3]](https://poe.com/citation?message_id=226 … citation=3).
2. **Edit or create the configuration for Intel Graphics**:
You will need to manually add a configuration for your Intel integrated graphics. Create or edit a file named `10-intel.conf` in `/etc/X11/xorg.conf.d/`:
```bash
sudo nano /etc/X11/xorg.conf.d/10-intel.conf
```
Add the following configuration:
```bash
Section "Device"
Identifier "IntelGraphics"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
```
3. **Adjust the NVIDIA configuration**:
Open the NVIDIA configuration file generated earlier or create a new one if it doesn't exist:
```bash
sudo nano /etc/X11/xorg.conf.d/20-nvidia.conf
```
Ensure it has at least the following configuration, and make sure the BusID matches what `lspci` showed:
```bash
Section "Device"
Identifier "NvidiaCard"
Driver "nvidia"
BusID "PCI:1:0:0"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 3050"
EndSection
```
4. **Restart the display manager**:
To apply the changes, restart your display manager or reboot your system:
```bash
sudo systemctl restart gdm # or lightdm, sddm, depending on what you use
```
This setup should correctly configure your Xorg to handle both the integrated Intel graphics and the NVIDIA GPU, ensuring that each can manage different displays or tasks as needed
and it got fixed
Last edited by lokxo (2024-08-01 13:34:19)
Offline
i fed info from archwiki to gpt4turbo and it gave me some info that was helpful
"dumb" - proving once more that this PoS has no idea what it's talking about…
Starting with "sudo nvidia-xconfig"
Likewise, none of the rest makes any sense. 20-nvidia.conf is completely pointless in the presence of a static server config
Remove the configs you created, have the output "fail" and post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
The config you've created there /will/ come back to bite you.
Offline
sure
i mean it worked so
(btw beforehand it told me to use lightdm and x11)
Last edited by lokxo (2024-08-01 17:19:08)
Offline
make sure to follow the wiki STEP BY STEP! it is important to do it EXACTLY as explained!
https://wiki.archlinux.org/title/NVIDIA
1) install nvidia(-open)(-dkms) and (lib32-)nvidia-utils
2) remove "kms" from HOOKS in mkinitcpio.conf
3) add "nvidia", "nvidia_modeset", "nvidia_uvm" and "nvidia_drm" to MODULES in mkinitcpio.conf
4) generate new initrd
5) update boot config to add nvidia_drm.modeset=1 and nvdia_drm.fbdev=1 as kernel option
6) reboot
alternative options:
1) replace the nvid gpu with an amd one
although I use AMD it seems I became quite fluent with nvidia by doing it several times recently
Last edited by cryptearth (2024-08-01 20:12:55)
Offline