Request for Help: Xorg "No screens found" Issue on Arch Linux with NVIDIA and Intel GPUs

Falsify7342 at proton.me Falsify7342 at proton.me
Thu Jan 9 01:51:24 UTC 2025


Thx

Enviado via Proton Mail para Android


-------- Mensagem original --------
Em 31/12/2024 07:45, Vladimir Dergachev <volodya at mindspring.com> escreveu:

>  
>  On modern systems you don't actually need Xorg configuration file - the
>  configuration is deduced automatically. Try moving it away.
>  
>  On Ubuntu, for example, the hardware you have should work after
>  installation as is, and it should also work after installing NVidia
>  drivers without any additional configuration.
>  
>  With NVidia drivers you can use the NVidia control panel to fine tune some
>  settings.
>  
>  best
>  
>  Vladimir Dergachev
>  
>  On Sun, 29 Dec 2024, Falsify7342 at proton.me wrote:
>  
>  > Dear Xorg Team,
>  >
>  > I am reaching out to seek help with a persistent issue I am facing with Xorg on my Arch Linux system. I have been troubleshooting for days but have not been able to resolve the problem. I am running Arch Linux with the Hardened Kernel (6.12.6-hardened1-2-hardened), and my system has both Intel (iGPU) and NVIDIA (dGPU) GPUs. Here are the details:
>  >
>  > System Information
>  >
>  > Kernel: 6.12.6-hardened1-2-hardened
>  >
>  > Intel GPU: Intel Raptor Lake-P (UHD Graphics), BusID PCI:0:2:0
>  >
>  > NVIDIA GPU: NVIDIA RTX 2050, BusID PCI:1:0:0
>  >
>  > Xorg version: 1.21.1.15
>  >
>  > NVIDIA driver: nvidia-dkms 565.77-2
>  >
>  > Intel driver: modesetting
>  >
>  > ---
>  >
>  > Problem Description
>  >
>  > The issue arises when I try to start Xorg. It consistently fails with the error:
>  >
>  > Fatal server error:
>  > (EE) no screens found(EE)
>  >
>  > I’ve checked the /var/log/Xorg.0.log file, and the relevant part of the log shows:
>  >
>  > (EE) NVIDIA: Failed to initialize the NVIDIA GPU at PCI:1:0:0.
>  > (EE) No devices detected.
>  > (EE) No screens found.
>  >
>  > ---
>  >
>  > Steps I Have Taken
>  >
>  > 1. Xorg Configuration File
>  > I created a configuration file at /etc/X11/xorg.conf.d/10-prime.conf to set up PRIME for the hybrid GPU system. Here is the configuration:
>  >
>  >
>  > Section "ServerLayout"
>  >    Identifier "layout"
>  >    Screen 0 "nvidia"
>  >    Inactive "intel"
>  > EndSection
>  >
>  > Section "Device"
>  >    Identifier "nvidia"
>  >    Driver "nvidia"
>  >    BusID "PCI:1:0:0"
>  > EndSection
>  >
>  > Section "Screen"
>  >    Identifier "nvidia"
>  >    Device "nvidia"
>  > EndSection
>  >
>  > Section "Device"
>  >    Identifier "intel"
>  >    Driver "modesetting"
>  >    BusID "PCI:0:2:0"
>  > EndSection
>  >
>  > Section "Screen"
>  >    Identifier "intel"
>  >    Device "intel"
>  > EndSection
>  >
>  > 2. Verified Hardware and Drivers
>  >
>  >
>  > lspci confirms that both GPUs are present.
>  >
>  > nvidia-smi recognizes the NVIDIA GPU and shows it is functional.
>  >
>  > The lsmod command confirms that both the nvidia and i915 modules are loaded.
>  >
>  > 3. Checked Variables and PRIME
>  >
>  >
>  > I attempted to use prime-run glxinfo | grep "OpenGL renderer", but it fails with the error: unable to open display.
>  >
>  >
>  > 4. Logs
>  > I have attached the complete /var/log/Xorg.0.log for reference.
>  >
>  >
>  >
>  > ---
>  >
>  > Request for Assistance
>  >
>  > Despite these efforts, the issue persists. I am currently using ChatGPT to troubleshoot, but I believe I may be missing something critical or misinterpreting the logs and steps. I kindly ask for your assistance in diagnosing and resolving this issue.
>  >
>  > Thank you for your time and support. Please let me know if you need any additional details.
>  >
>  > Best regards,
>  > Bataya
>  >
>  > Falsify7342 at proton.me
>  > banco177013 at gmail.com
>  >
>  >
>  > https://pastebin.com/a9an6Y7M
>  >


More information about the xorg mailing list