View previous topic :: View next topic | |||||||||||||||||||||
Author | Message | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
se ven n00b Joined: 22 Feb 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
Maxxx Guru Joined: 12 Jan 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
davidm Guru Joined: 26 Apr 2009 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
Maxxx Guru Joined: 12 Jan 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
Buffoon Veteran Joined: 17 Jun 2015 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
Maxxx Guru Joined: 12 Jan 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
NeddySeagoon Administrator Joined: 05 Jul 2003 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
se ven n00b Joined: 22 Feb 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
Buffoon Veteran Joined: 17 Jun 2015 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
se ven n00b Joined: 22 Feb 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
Maxxx Guru Joined: 12 Jan 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
NeddySeagoon Administrator Joined: 05 Jul 2003 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
se ven n00b Joined: 22 Feb 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
Maxxx Guru Joined: 12 Jan 2016 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
NeddySeagoon Administrator Joined: 05 Jul 2003 |
|
||||||||||||||||||||
Back to top |
|
||||||||||||||||||||
|
You cannot post new topics in this forum |
You may come across the Fatal server error: No screen found Xorg error, unable to connect to X server: connection refused – No devices detected when executing the startx command in FreeBSD.
In this troubleshooting guide, I will show you how to fix this Xorg issue. The No screen found (ee) error looks like this:
The No screen found (EE) error is mainly caused by the X server [Xorg] being confused about which GPU should use as a primary, especially when your system is equipped with more than one discrete GPU.
The issue is easily fixed by adding the correct BusID in the xorg.conf for the discrete GPU that has your display connected.
I recently experienced this issue when installing FreeBSD with XFCE and NVIDIA proprietary drivers on bare metal on a system with dual-GPU [2x Gigabyte GTX 1070 graphics cards].
Here is how to fix the No screens found (EE) – unable to connect to X server error in a few simple steps:
- Log in as root user on FreeBSD.
- Find the BusID for the primary GPU
List the graphics cards in your system by using the following command and take note of the VGA PCI Bus IDs.
pciconfig -l | grep VGA
Where [in my system]:
pci0:0:2:0 is the built-in GPU
pci0:1:0:0 is the 1st discrete GPU [PCI slot closest to the CPU]
pci0:2:0:0 is the 2st discrete GPU
Your PCI IDs might look slightly different but you’ll get the point in a moment.
Take note of the PCI ID [pci0:x:x:x:x] for the GPU that has your display connected. In my case, this is the pci0:1:0:0.
If you don’t know which PCI slot has your primary GPU connected to the display, inspect your computer ports behind and check where, e.g., the HDMI cable is inserted.
Alternatively, you can find the PCI slot configured for the primary GPU in the BIOS settings for some motherboards [e.g., Gigabyte].
- Fix the No screen found Xorg error in xorg.conf
Start by editing the xorg.conf file using the following command:
ee /etc/X11/xorg.conf
NOTE: The xorg.conf file should be generated automatically when installing your GPU drivers. If your xorg.conf is empty, most likely the automatic process failed to generate the file. On NVIDIA, use the nvidia-xconfig command to generate the xorg.conf file. You need to install nvidia-xconfig first [pkg install nvidia-xonfig].
Look for the Section “Device” and add the following line:
BusID “PCI:<the Bus ID for the GPU connected to your display>”
IMPORTANT: the PCI bus should NOT include the domain ID, e.g., PCI0:x:x:x
Save the xorg.conf file by pressing ESC, then press twice the “a” key to save and exit the file.
- Gracefully reboot the system
shutdown -r now
- Test the X server on FreeBSD
Upon rebooting FreeBSD, log in as root user. Issue the following command to test if the X server detects and use the correct GPU:
startx
The X server is up and running. Now you’re ready to go one step further and install your favorite Desktop Environment or Window Manager on FreeBSD. I’ll keep my system like this as the old-school look is growing on me.
TIP: You can return back to the shell by pressing CTRL+ALT+F2 if needed. You can also get back to X by pressing CTRL+ALT+F9.
There you go! This is how you fix the Fatal server error: No screen found (EE) – unable to connect to X server: connection refused [No devices detected] on FreeBSD. Here you can find more information on how to configure Xorg on FreeBSD.
I hope you found this troubleshooting guide useful. If so, do me a favor and share it online with your friends and colleagues. This way we can give FreeBSD the attention it deserves.
Stay safe!
Leonard Cucos
Leonard Cucos is an engineer with over 20 years of IT/Telco experience managing large UNIX/Linux-based server infrastructures, IP and Optics core networks, Information Security [red/blue], Data Science, and FinTech.
I opened an ubuntu virtual machine on gcloud and tried to install GUI(window-user interface) I installed Xfce with
apt-get install xfce4
command. But
i get
no screens found(EE)
error.I tried «gnome» «KDE» but same result and i don’t know why. I searched online and tried everyway as ı know but no success.
The full error is
current Operating System: Linux instance-5 4.13.0-1008-gcp #11-Ubuntu
SMP Thu Jan 25 11:08:44 UTC 2018 x86_64 Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-4.13.0-1008-gcp
root=UUID=b6adc449-5e3d-4331-ba6b-6e99a75fa48e ro
scsi_mod.use_blk_mq=Y console=ttyS0 Build Date: 13 October 2017
01:57:05PM xorg-server 2:1.18.4-0ubuntu0.7 (For technical support
please see http://www.ubuntu.com/support) Current version of pixman:
0.33.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version. Markers: (—) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: «/var/log/Xorg.0.log», Time: Tue Jan 30 12:24:29 2018
(==) Using system config directory «/usr/share/X11/xorg.conf.d» (EE)
Fatal server error: (EE) no screens found(EE)
Why i am getting this error? Is this because of gcloud servers or something else?
Please help.
asked Jan 30, 2018 at 12:36
At present there is no GPU installed on any of the VMs and having a graphical desktop on them is not so straight forward. There is a GPU feature request which you can follow by pressing on the star on Public Issue Tracker (PIT) link.
To be able to have and use a graphical desktop you can configure VNC remote access for your VM as described in the URL links 2 and/or 3.
Keep in mind that although above link 2 or 3 steps seem to have succeeded, these are third-party websites containing information that isn’t provided by Google and its contents cannot be guaranteed. Also since there is no GPU installed, this installation might fail for high resolution desktop.
answered Feb 2, 2018 at 11:04
JMDJMD
5902 silver badges8 bronze badges
Содержание
- Arch Linux
- #1 2020-10-19 18:44:04
- [SOLVED][X11 config] (EE) no screens found(EE)
- #2 2020-10-19 18:47:50
- Re: [SOLVED][X11 config] (EE) no screens found(EE)
- #3 2020-10-19 19:52:48
- Re: [SOLVED][X11 config] (EE) no screens found(EE)
- #4 2020-10-19 21:07:35
- Re: [SOLVED][X11 config] (EE) no screens found(EE)
- #5 2020-10-19 23:21:51
- Re: [SOLVED][X11 config] (EE) no screens found(EE)
- Не запускаются иксы
- Ee fatal server error ee no screens found ee
Arch Linux
You are not logged in.
#1 2020-10-19 18:44:04
[SOLVED][X11 config] (EE) no screens found(EE)
I tried to my own X11 configuration file. I have an Nvidia card on which are connected three monitors (a VGA, a DVI and a HDMI). For now, I just consider the monitor connected to VGA. So I created /etc/X11/xorg.conf.d/50-video.conf:
However, when I try to start X (with startx) it fails with `(EE) no screens found(EE)`. The logs are:
I defined a screen section so what is my mistake?
Last edited by orbarq (2020-10-21 09:10:12)
#2 2020-10-19 18:47:50
Re: [SOLVED][X11 config] (EE) no screens found(EE)
Why do you need an xorg.conf?
No, it didn’t «fix» anything. It just shifted the brokeness one space to the right. — jasonwryan
Closing — for deletion; Banning — for muppetry. — jasonwryan
#3 2020-10-19 19:52:48
Re: [SOLVED][X11 config] (EE) no screens found(EE)
As for why it fails, look at the first error message in the log.
But a static server config is rarely needed or a good idea.
Online
#4 2020-10-19 21:07:35
Re: [SOLVED][X11 config] (EE) no screens found(EE)
xorg seems to start with Driver «modesetting».
EDIT: I forgot to install xf86-video-nouveau. Now, I have the same behaviour than with «modesetting» driver:
Actually, each time I start X, I need to fix where my screens are:
So I would like to have this configuration permanently and this is the reason I try to make a xorg.conf (and also to learn how it works).
Now I tried this:
But it doesn’t work. I got things like
so I guess it is related to my problem (probably not an option of the driver)
Last edited by orbarq (2020-10-19 21:17:56)
#5 2020-10-19 23:21:51
Re: [SOLVED][X11 config] (EE) no screens found(EE)
Monitor assignments are dynamic and can hange when monitors are plugged in, powered on/off etc.
You can’t deal with dynamic assignments in a static conf-file .
The solution is to execute the xrandr commands in an xinit or xprofile startup file.
See https://wiki.archlinux.org/index.php/Au … rg_startup
Last edited by Lone_Wolf (2020-10-19 23:22:49)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Источник
Не запускаются иксы
Пытаюсь запустить игру в отдельном х-сервере, не стартуют.
Но гугление не дало результатов. Использую Intel вместо видеокарты.
от юзера пускаешь?
[ 12402.121] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
Хм. Что значит, что ты пускаешь от юзера? Как ты пускаешь и что именно?
Так, ок. Проверь, есть ли модуль ядра и загружен ли он:
Далее покажи права на /usr/bin/X:
lsmod | grep intel
Так, похоже, что у тебя нет модуля ядра. На всякий случай покажи весь вывод lsmod без grep.
lrwxrwxrwx. 1 root root 4 Дек 10 02:39 /usr/bin/X -> Xorg
ls -l /usr/bin/Xorg
Как это нету модуля ядра?! — Кроме как с запуском отдельного Х-сервера, претензий не имею к видеодрайверам.
О, а вот тут есть i915
-rwxr-xr-x. 1 root root 281 Дек 10 02:39 /usr/bin/Xorg
Вот по идее он должен быть с suid битом. По крайней мере в Debian так.
Х сервер теперь может запускаться из-под пользователя, благодаря systemd-logind, это означает, что он должен запускаться из того же терминала, который был использован для входа. Переадресация stderr препятствует этому. Старое поведение можно восстановить с помощью файла Xorg.wrap (см. man xorg.wrap). Имейте ввиду, что запуск Х сервера через login-manager пока производится по-старинке от рута.
После обновления выяснилось, что в этом режиме можно запустить только одну сессию иксов одновременно. Попытка запуска следующей без закрытия предыдущей (независимо от номера консоли и значения DISPLAY) проваливается из-за какого-то бардака с правами на доступ к устройству TTY, которое принадлежит сначала пользователю, в процессе запуска иксов меняет владельца на рут, а потом обратно.
Я помню, при самом первой попытке запуска отдельного Х, иксы ругались, что нужно поправить значение в /etc/X11/Xwrapper.config , что я и сделал (изменил allowed_users=anybody благодаря гуглежу).
Теперь вот пришел сюда с этой проблемой, уже новой.
Попробуй поменять права на Xorg: # chmod 4755 /usr/bin/Xorg Должно стать: -rwsr-xr-x. 1 root root /usr/bin/Xorg
Источник
Ee fatal server error ee no screens found ee
and my lspci gives my video card lists below:
Код: |
. 00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04) Subsystem: Dell 7 Series/C210 Series Chipset Family SMBus Controller 01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1) Subsystem: Dell GK107M [GeForce GT 650M] 01:00.1 Unassigned class [ffff]: NVIDIA Corporation GK107 HDMI Audio Controller (rev ff) 07:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0) Subsystem: Dell AR8151 v2.0 Gigabit Ethernet . |
Код: |
# cat /var/log/Xorg.0.log [ 2787.185] X.Org X Server 1.18.2 Release Date: 2016-03-11 [ 2787.185] X Protocol Version 11, Revision 0 [ 2787.186] Build Operating System: Linux 4.5.0-gentoo x86_64 Gentoo [ 2787.186] Current Operating System: Linux se_ven 4.5.0-gentoo #1 SMP Wed Mar 23 15:00:18 CST 2016 x86_64 [ 2787.186] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.5.0-gentoo root=/dev/sda9 [ 2787.187] Build Date: 21 March 2016 07:51:12PM [ 2787.187] [ 2787.187] Current version of pixman: 0.34.0 [ 2787.188] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 2787.188] Markers: (—) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 2787.190] (==) Log file: «/var/log/Xorg.0.log», Time: Thu Mar 24 09:35:23 2016 [ 2787.191] (==) Using config file: «/etc/X11/xorg.conf» [ 2787.191] (==) Using config directory: «/etc/X11/xorg.conf.d» [ 2787.192] (==) Using system config directory «/usr/share/X11/xorg.conf.d» [ 2787.192] (==) ServerLayout «Layout0» [ 2787.192] (**) |—>Screen «Screen0» (0) [ 2787.192] (**) | |—>Monitor «Monitor0» [ 2787.192] (**) | |—>Device «Device0» [ 2787.192] (**) | |—>GPUDevice «nvidia» [ 2787.192] (**) | |—>GPUDevice «Device0» [ 2787.192] (**) |—>Input Device «Keyboard0» [ 2787.192] (**) |—>Input Device «Mouse0» [ 2787.192] (==) Automatically adding devices [ 2787.192] (==) Automatically enabling devices [ 2787.192] (==) Automatically adding GPU devices [ 2787.192] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 2787.192] (==) FontPath set to: /usr/share/fonts/misc/, /usr/share/fonts/TTF/, /usr/share/fonts/OTF/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi/, /usr/share/fonts/75dpi/ [ 2787.192] (**) ModulePath set to «/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules» [ 2787.192] (WW) Hotplugging is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled. [ 2787.192] (WW) Disabling Keyboard0 [ 2787.192] (WW) Disabling Mouse0 [ 2787.192] (II) Loader magic: 0x812c60 [ 2787.192] (II) Module ABI versions: [ 2787.192] X.Org ANSI C Emulation: 0.4 [ 2787.192] X.Org Video Driver: 20.0 [ 2787.192] X.Org XInput driver : 22.1 [ 2787.192] X.Org Server Extension : 9.0 [ 2787.193] (II) xfree86: Adding drm device (/dev/dri/card0) [ 2787.195] (—) PCI:*(0:0:2:0) 8086:0166:1028:0552 rev 9, Mem @ 0xd2000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64 [ 2787.195] (—) PCI: (0:1:0:0) 10de:0fd1:1028:0552 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x. /524288 [ 2787.195] (II) LoadModule: «glx» [ 2787.195] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so [ 2787.198] (II) Module glx: vendor=»NVIDIA Corporation» [ 2787.198] compiled for 4.0.2, module version = 1.0.0 [ 2787.198] Module class: X.Org Server Extension [ 2787.198] (II) NVIDIA GLX Module 364.12 Wed Mar 16 20:39:46 PDT 2016 [ 2787.198] (II) LoadModule: «nvidia» [ 2787.198] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so [ 2787.198] (II) Module nvidia: vendor=»NVIDIA Corporation» [ 2787.198] compiled for 4.0.2, module version = 1.0.0 [ 2787.198] Module class: X.Org Video Driver [ 2787.198] (II) NVIDIA dlloader X Driver 364.12 Wed Mar 16 20:16:45 PDT 2016 [ 2787.198] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [ 2787.198] (—) using VT number 7 [ 2787.202] (EE) No devices detected. |
and emerge —info:
Код: | ||||
# emerge —info setlocale: unsupported locale setting setlocale: unsupported locale setting Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-5.3.0, glibc-2.22-r2, 3.13.0-83-generic x86_64) ================================================================= System uname: Linux-3.13.0-83-generic-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 16313748 total, 5404488 free KiB Swap: 4000764 total, 4000764 free Timestamp of repository gentoo: Tue, 22 Mar 2016 07:15:01 +0000 sh bash 4.3_p42-r2 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r2::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo dev-util/cmake: 3.5.0::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.20.5::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 5.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r2::gentoo . ACCEPT_KEYWORDS=»amd64 amd64″ and my xorg.conf is use as wiki saidhttps://wiki.gentoo.org/wiki/NVidia/nvidia-drivers:
and im search in the forums and wiki more and more time but not fine, so i put this. bytheway, why it has double
when im try PS: i’m using chroot to check my gentoo config. any help appreciate. Последний раз редактировалось: se ven (вт апр 12, 2016 11:36 am), всего редактировалось 1 раз |
Вернуться к началу
Maxxx
Guru
Зарегистрирован: 12 янв 2016
Сообщений: 593
Откуда: Italia
Добавлено: чт мар 24, 2016 8:29 am Заголовок сообщения: | |
I think that your problem is Nvidia driver. your Geforce GT 650m need 340.93 version, but you installed 364.12 version.
http://www.nvidia.com/Download/driverResults.aspx/91217/en-us |
Вернуться к началу
davidm
Guru
Зарегистрирован: 26 апр 2009
Сообщений: 557
Откуда: US
Добавлено: чт мар 24, 2016 12:15 pm Заголовок сообщения: | ||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
Maxxx Guru Зарегистрирован: 12 янв 2016 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
Buffoon Veteran Зарегистрирован: 17 июн 2015 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
Maxxx Guru Зарегистрирован: 12 янв 2016 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
NeddySeagoon Administrator Зарегистрирован: 05 июл 2003 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
se ven n00b Зарегистрирован: 22 фев 2016 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
Buffoon Veteran Зарегистрирован: 17 июн 2015 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
se ven n00b Зарегистрирован: 22 фев 2016 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
Maxxx Guru Зарегистрирован: 12 янв 2016 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
NeddySeagoon Administrator Зарегистрирован: 05 июл 2003 |
|
|||||||||||||||||||||||||||||||||||||||||||||
Вернуться к началу | ||||||||||||||||||||||||||||||||||||||||||||||
se ven n00b Зарегистрирован: 22 фев 2016 |
|
Hello everyone, and thank you for taking the time to help me. When I delete /etc/X11/xorg.conf then Xorg starts normally. But if I run nvidia-xconfig and it creates a /etc/X11/xorg.conf file then Xorg won’t boot and I get this log file instead. So do I really need the file1 /etc/X11/xorg.conf at all?
[ 9768.914] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 9768.915] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c3
[ 9768.916] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 9768.916] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 9768.916] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 9768.916] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[ 9768.917] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[ 9768.917] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:3800 rev 11, Mem @ 0xb5000000/4194304, 0xc0000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[ 9768.917] (--) PCI: (0:9:0:0) 10de:1290:17aa:3800 rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128
[ 9768.917] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 9768.917] (II) LoadModule: "glx"
[ 9768.918] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[ 9768.921] (II) Module glx: vendor="NVIDIA Corporation"
[ 9768.921] compiled for 4.0.2, module version = 1.0.0
[ 9768.921] Module class: X.Org Server Extension
[ 9768.921] (II) NVIDIA GLX Module 378.13 Tue Feb 7 18:25:34 PST 2017
[ 9768.921] (II) LoadModule: "nvidia"
[ 9768.921] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 9768.921] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 9768.921] compiled for 4.0.2, module version = 1.0.0
[ 9768.921] Module class: X.Org Video Driver
[ 9768.921] (II) NVIDIA dlloader X Driver 378.13 Tue Feb 7 18:01:51 PST 2017
[ 9768.921] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 9768.921] (II) systemd-logind: releasing fd for 226:1
[ 9768.922] (EE) No devices detected.
[ 9768.922] (EE)
Fatal server error:
[ 9768.922] (EE) no screens found(EE)
[ 9768.922] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 9768.922] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 9768.922] (EE)
[ 9768.941] (EE) Server terminated with error (1). Closing log file.
When I start Xorg with «startx» and everyting works fine like it normally does without the xorg.conf file, then how do I know that Nvidia drivers are actually loaded? This is what «lsmod» returned:
[root@archlinux ~]# lsmod | grep nvidia
nvidia_drm 49152 0
nvidia_modeset 794624 1 nvidia_drm
nvidia 12197888 1 nvidia_modeset
drm_kms_helper 126976 2 i915,nvidia_drm
drm 294912 6 i915,nvidia_drm,drm_kms_helper
Just for reference glxgears returns this also when I don’t have a xorg.conf file:
[root@archlinux ~]# glxgears
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
Thanks for any help anyone is willing to provide!!!
Last edited by m33b0 (2017-02-27 18:41:11)
I’m trying to build the Xorg X Window System Environment as outlined in Beyond Linux From Scratch Version 8.0. My BLFS system resides in a Virtual Machine using VirtualBox Version 5.0.10 r104061.
I followed the steps as outlined in Chapter 24. X Window System Environment. However, when I finished my installation and tried startx, I got the output below:-
Release Date: 2017-01-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.5 x86_64
Current Operating System: Linux LFS 4.9.5 #1 SMP Thu Feb 23 22:59:41 GMT 2017 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.5-lfs-SVN-20170122 root=/dev/sda1 ro
Build Date: 01 March 2017 10:04:52PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 22 21:42:24 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
And I see the following log in /var/log/Xorg.0.log
57.972]
X.Org X Server 1.19.1
Release Date: 2017-01-11
[ 57.974] X Protocol Version 11, Revision 0
[ 57.974] Build Operating System: Linux 4.9.5 x86_64
[ 57.975] Current Operating System: Linux LFS 4.9.5 #1 SMP Thu Feb 23 22:59:41 GMT 2017 x86_64
[ 57.975] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.5-lfs-SVN-20170122 root=/dev/sda1 ro
[ 57.975] Build Date: 01 March 2017 10:04:52PM
[ 57.975]
[ 57.975] Current version of pixman: 0.34.0
[ 57.975] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 57.975] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 57.978] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 22 21:42:24 2017
[ 57.990] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 57.992] (==) No Layout section. Using the first Screen section.
[ 57.992] (==) No screen section available. Using defaults.
[ 57.992] (**) |-->Screen "Default Screen Section" (0)
[ 57.992] (**) | |-->Monitor "<default monitor>"
[ 57.992] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 57.992] (**) | |-->Device "radeon"
[ 57.992] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 57.992] (==) Automatically adding devices
[ 57.992] (==) Automatically enabling devices
[ 57.992] (==) Automatically adding GPU devices
[ 57.994] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 57.999] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/misc/".
[ 57.999] Entry deleted from font path.
[ 57.999] (Run 'mkfontdir' on "/usr/share/fonts/X11/misc/").
[ 58.002] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/100dpi/".
[ 58.002] Entry deleted from font path.
[ 58.002] (Run 'mkfontdir' on "/usr/share/fonts/X11/100dpi/").
[ 58.003] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/75dpi/".
[ 58.003] Entry deleted from font path.
[ 58.003] (Run 'mkfontdir' on "/usr/share/fonts/X11/75dpi/").
[ 58.003] (==) FontPath set to:
/usr/share/fonts/X11/TTF/,
/usr/share/fonts/X11/OTF/,
/usr/share/fonts/X11/Type1/
[ 58.003] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 58.003] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 58.003] (II) Loader magic: 0x810c40
[ 58.003] (II) Module ABI versions:
[ 58.003] X.Org ANSI C Emulation: 0.4
[ 58.003] X.Org Video Driver: 23.0
[ 58.003] X.Org XInput driver : 24.1
[ 58.003] X.Org Server Extension : 10.0
[ 58.007] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216, BIOS @ 0x????????/131072
[ 58.007] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 58.007] (II) LoadModule: "glx"
[ 58.008] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 58.040] (II) Module glx: vendor="X.Org Foundation"
[ 58.040] compiled for 1.19.1, module version = 1.0.0
[ 58.040] ABI class: X.Org Server Extension, version 10.0
[ 58.040] (II) LoadModule: "ati"
[ 58.041] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 58.042] (II) Module ati: vendor="X.Org Foundation"
[ 58.042] compiled for 1.19.1, module version = 7.8.0
[ 58.042] Module class: X.Org Video Driver
[ 58.042] ABI class: X.Org Video Driver, version 23.0
[ 58.042] (EE) No drivers available.
[ 58.042] (EE)
Fatal server error:
[ 58.044] (EE) no screens found(EE)
[ 58.045] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 58.046] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 58.046] (EE)
[ 58.046] (EE) Server terminated with error (1). Closing log file.
I’ve tried rebuilding the kernel with
Device Drivers --->
Graphics support --->
<*> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
<*> DRM driver for VMware Virtual GPU [CONFIG_DRM_VMWGFX]
[*] Enable framebuffer console under vmwgfx by default [CONFIG_DRM_VMWGFX_FBCON]
and
Device Drivers --->
Graphics support --->
<> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
and in both cases got the same error message. This is the output of lspci for the graphics adapter
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
Any idea why the screens are failing to load?
Change of mind. Here’re some of the configuration files that may be relevant just in case the fault is mine…
Note: I also tried the «NVIDIA 96.43.xx Legacy driver» (96.43.23) (from their website), but «make install» error’s out.
Also, I ONLY tried «Xorg -configure» AFTER the auto-configuration failed (repeatedly).
Xorg.1.log
[ 2272.277]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 2272.277] X Protocol Version 11, Revision 0
[ 2272.277] Build Operating System: FreeBSD 12.0-RELEASE-p7 i386
[ 2272.277] Current Operating System: FreeBSD inspiron 12.0-RELEASE-p7 FreeBSD 12.0-RELEASE-p7 GENERIC i386
[ 2272.278] Build Date: 06 July 2019 08:16:31AM
[ 2272.278]
[ 2272.278] Current version of pixman: 0.34.0
[ 2272.278] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2272.278] Markers: (—) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2272.278] (==) Log file: «/var/log/Xorg.1.log», Time: Mon Jul 15 15:48:30 2019
[ 2272.286] (==) Using config directory: «/usr/local/etc/X11/xorg.conf.d»
[ 2272.286] (==) No Layout section. Using the first Screen section.
[ 2272.286] (==) No screen section available. Using defaults.
[ 2272.286] (**) |—>Screen «Default Screen Section» (0)
[ 2272.286] (**) | |—>Monitor «<default monitor>»
[ 2272.286] (==) No device specified for screen «Default Screen Section».
Using the first device section listed.
[ 2272.286] (**) | |—>Device «NVIDIA Card»
[ 2272.286] (==) No monitor specified for screen «Default Screen Section».
Using a default monitor configuration.
[ 2272.287] (==) Automatically adding devices
[ 2272.287] (==) Automatically enabling devices
[ 2272.287] (==) Not automatically adding GPU devices
[ 2272.287] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 2272.288] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/
[ 2272.288] (==) ModulePath set to «/usr/local/lib/xorg/modules»
[ 2272.288] (II) The server relies on devd to provide the list of input devices.
If no devices become available, reconfigure devd or disable AutoAddDevices.
[ 2272.288] (II) Loader magic: 0x8249000
[ 2272.288] (II) Module ABI versions:
[ 2272.288] X.Org ANSI C Emulation: 0.4
[ 2272.288] X.Org Video Driver: 20.0
[ 2272.288] X.Org XInput driver : 22.1
[ 2272.288] X.Org Server Extension : 9.0
[ 2272.289] (—) PCI:*(0:1:0:0) 10de:0174:1028:00d4 rev 163, Mem @ 0xfc000000/16777216, 0xe0000000/134217728, 0xdff80000/524288, BIOS @ 0x????????/65536
[ 2272.289] (II) LoadModule: «glx»
[ 2272.290] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 2272.539] (II) Module glx: vendor=»NVIDIA Corporation»
[ 2272.540] compiled for 4.0.2, module version = 1.0.0
[ 2272.540] Module class: X.Org Server Extension
[ 2272.540] (II) NVIDIA GLX Module 340.107 Thu May 24 17:12:39 PDT 2018
[ 2272.540] (II) LoadModule: «nvidia»
[ 2272.540] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 2272.543] (II) Module nvidia: vendor=»NVIDIA Corporation»
[ 2272.543] compiled for 4.0.2, module version = 1.0.0
[ 2272.543] Module class: X.Org Video Driver
[ 2272.543] (II) NVIDIA dlloader X Driver 340.107 Thu May 24 16:52:39 PDT 2018
[ 2272.543] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2272.544] (—) Using syscons driver with X support (version 2.0)
[ 2272.544] (—) using VT number 9
[ 2272.635] (II) Loading sub module «fb»
[ 2272.635] (II) LoadModule: «fb»
[ 2272.635] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 2272.636] (II) Module fb: vendor=»X.Org Foundation»
[ 2272.636] compiled for 1.18.4, module version = 1.0.0
[ 2272.636] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2272.636] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 2272.637] (II) Loading sub module «wfb»
[ 2272.637] (II) LoadModule: «wfb»
[ 2272.637] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 2272.638] (II) Module wfb: vendor=»X.Org Foundation»
[ 2272.638] compiled for 1.18.4, module version = 1.0.0
[ 2272.638] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2272.638] (II) Loading sub module «ramdac»
[ 2272.638] (II) LoadModule: «ramdac»
[ 2272.639] (II) Module «ramdac» already built-in
[ 2272.639] (WW) NVIDIA(0): The NVIDIA GeForce4 440 Go GPU installed in this system is
[ 2272.639] (WW) NVIDIA(0): supported through the NVIDIA 96.43.xx Legacy drivers.
[ 2272.639] (WW) NVIDIA(0): Please visit http://www.nvidia.com/object/unix.html for
[ 2272.639] (WW) NVIDIA(0): more information. The 340.107 NVIDIA driver will ignore
[ 2272.639] (WW) NVIDIA(0): this GPU. Continuing probe…
[ 2272.639] (EE) No devices detected.
[ 2272.639] (EE)
Fatal server error:
[ 2272.639] (EE) no screens found(EE)
[ 2272.639] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2272.639] (EE) Please also check the log file at «/var/log/Xorg.1.log» for additional information.
[ 2272.640] (EE)
[ 2272.656] (EE) Server terminated with error (1). Closing log file.
Xorg.0.log
[ 1163.474]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 1163.475] X Protocol Version 11, Revision 0
[ 1163.475] Build Operating System: FreeBSD 12.0-RELEASE-p7 i386
[ 1163.475] Current Operating System: FreeBSD inspiron 12.0-RELEASE-p7 FreeBSD 12.0-RELEASE-p7 GENERIC i386
[ 1163.475] Build Date: 06 July 2019 08:16:31AM
[ 1163.475]
[ 1163.475] Current version of pixman: 0.34.0
[ 1163.475] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1163.475] Markers: (—) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1163.476] (==) Log file: «/var/log/Xorg.0.log», Time: Mon Jul 15 15:30:01 2019
[ 1163.477] (==) Using config directory: «/usr/local/etc/X11/xorg.conf.d»
[ 1163.483] (==) No Layout section. Using the first Screen section.
[ 1163.483] (==) No screen section available. Using defaults.
[ 1163.484] (**) |—>Screen «Default Screen Section» (0)
[ 1163.484] (**) | |—>Monitor «<default monitor>»
[ 1163.484] (==) No device specified for screen «Default Screen Section».
Using the first device section listed.
[ 1163.484] (**) | |—>Device «NVIDIA Card»
[ 1163.484] (==) No monitor specified for screen «Default Screen Section».
Using a default monitor configuration.
[ 1163.484] (==) Automatically adding devices
[ 1163.484] (==) Automatically enabling devices
[ 1163.484] (==) Not automatically adding GPU devices
[ 1163.484] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1163.485] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/
[ 1163.485] (==) ModulePath set to «/usr/local/lib/xorg/modules»
[ 1163.485] (II) The server relies on devd to provide the list of input devices.
If no devices become available, reconfigure devd or disable AutoAddDevices.
[ 1163.485] (II) Loader magic: 0x8249000
[ 1163.485] (II) Module ABI versions:
[ 1163.485] X.Org ANSI C Emulation: 0.4
[ 1163.485] X.Org Video Driver: 20.0
[ 1163.485] X.Org XInput driver : 22.1
[ 1163.485] X.Org Server Extension : 9.0
[ 1163.486] (—) PCI:*(0:1:0:0) 10de:0174:1028:00d4 rev 163, Mem @ 0xfc000000/16777216, 0xe0000000/134217728, 0xdff80000/524288, BIOS @ 0x????????/65536
[ 1163.486] (II) LoadModule: «glx»
[ 1163.487] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 1163.730] (II) Module glx: vendor=»NVIDIA Corporation»
[ 1163.730] compiled for 4.0.2, module version = 1.0.0
[ 1163.730] Module class: X.Org Server Extension
[ 1163.730] (II) NVIDIA GLX Module 340.107 Thu May 24 17:12:39 PDT 2018
[ 1163.730] (II) LoadModule: «nvidia»
[ 1163.731] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 1163.733] (II) Module nvidia: vendor=»NVIDIA Corporation»
[ 1163.734] compiled for 4.0.2, module version = 1.0.0
[ 1163.734] Module class: X.Org Video Driver
[ 1163.734] (II) NVIDIA dlloader X Driver 340.107 Thu May 24 16:52:39 PDT 2018
[ 1163.734] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1163.734] (—) Using syscons driver with X support (version 2.0)
[ 1163.734] (—) using VT number 9
[ 1163.875] (II) Loading sub module «fb»
[ 1163.875] (II) LoadModule: «fb»
[ 1163.876] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 1163.877] (II) Module fb: vendor=»X.Org Foundation»
[ 1163.877] compiled for 1.18.4, module version = 1.0.0
[ 1163.877] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1163.877] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 1163.877] (II) Loading sub module «wfb»
[ 1163.877] (II) LoadModule: «wfb»
[ 1163.878] (II) Loading /usr/local/lib/xorg/modules/libwfb.so
[ 1163.879] (II) Module wfb: vendor=»X.Org Foundation»
[ 1163.879] compiled for 1.18.4, module version = 1.0.0
[ 1163.879] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1163.879] (II) Loading sub module «ramdac»
[ 1163.879] (II) LoadModule: «ramdac»
[ 1163.880] (II) Module «ramdac» already built-in
[ 1163.880] (WW) NVIDIA(0): The NVIDIA GeForce4 440 Go GPU installed in this system is
[ 1163.880] (WW) NVIDIA(0): supported through the NVIDIA 96.43.xx Legacy drivers.
[ 1163.880] (WW) NVIDIA(0): Please visit http://www.nvidia.com/object/unix.html for
[ 1163.880] (WW) NVIDIA(0): more information. The 340.107 NVIDIA driver will ignore
[ 1163.880] (WW) NVIDIA(0): this GPU. Continuing probe…
[ 1163.880] (EE) No devices detected.
[ 1163.880] (EE)
Fatal server error:
[ 1163.880] (EE) no screens found(EE)
[ 1163.880] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1163.880] (EE) Please also check the log file at «/var/log/Xorg.0.log» for additional information.
[ 1163.880] (EE)
[ 1163.967] (EE) Server terminated with error (1). Closing log file.
xorg.conf.new
Section «ServerLayout»
Identifier «X.org Configured»
Screen 0 «Screen0» 0 0
InputDevice «Mouse0» «CorePointer»
InputDevice «Keyboard0» «CoreKeyboard»
EndSection
Section «Files»
ModulePath «/usr/local/lib/xorg/modules»
FontPath «/usr/local/share/fonts/misc/»
FontPath «/usr/local/share/fonts/TTF/»
FontPath «/usr/local/share/fonts/OTF/»
FontPath «/usr/local/share/fonts/Type1/»
FontPath «/usr/local/share/fonts/100dpi/»
FontPath «/usr/local/share/fonts/75dpi/»
EndSection
Section «Module»
Load «glx»
EndSection
Section «InputDevice»
Identifier «Keyboard0»
Driver «kbd»
EndSection
Section «InputDevice»
Identifier «Mouse0»
Driver «mouse»
Option «Protocol» «auto»
Option «Device» «/dev/sysmouse»
Option «ZAxisMapping» «4 5 6 7»
EndSection
Section «Monitor»
Identifier «Monitor0»
VendorName «Monitor Vendor»
ModelName «Monitor Model»
EndSection
Section «Device»
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: «True»/»False»,
### <string>: «String», <freq>: «<f> Hz/kHz/MHz»,
### <percent>: «<f>%»
### [arg]: arg optional
#Option «ShadowFB» # [<bool>]
#Option «DefaultRefresh» # [<bool>]
#Option «ModeSetClearScreen» # [<bool>]
Identifier «Device0»
Driver «nvidia» <—I think this was originally «vesa», so I changed it, but it didn’t help
BusID «PCI:3:0:0» <—I added this per another «SOLVED» thread…it didn’t help
VendorName «NVIDIA Corporation» <—I added this as well, but it didn’t help
EndSection
Section «Screen»
Identifier «Screen0»
Device «Card0»
Monitor «Monitor0»
SubSection «Display»
Viewport 0 0
Depth 1
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 4
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 8
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 15
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 16
EndSubSection
SubSection «Display»
Viewport 0 0
Depth 24
EndSubSection
EndSection
X server (init 5) startup issues after deploying NVIDIA graphics driver
You may end up breaking your Linux system’s graphics console (x session start up) after you deploy NVIDIA drivers.
If you have a look at your X server log you will notice the following. I had faced the same problem and I was able to solve it. I thought it would help you as well, please read through.
Following is the snip of X server log:
[ 595.336] (--) NVIDIA(GPU-0): [ 595.336] (--) NVIDIA(GPU-0): DFP-1: disconnected [ 595.336] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS [ 595.336] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock [ 595.336] (--) NVIDIA(GPU-0): [ 595.337] (--) NVIDIA(GPU-0): DFP-2: disconnected [ 595.337] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS [ 595.337] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock [ 595.337] (--) NVIDIA(GPU-0): [ 595.337] (--) NVIDIA(GPU-0): DFP-3: disconnected [ 595.337] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS [ 595.337] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock [ 595.337] (--) NVIDIA(GPU-0): [ 595.337] (--) NVIDIA(GPU-0): DFP-4: disconnected [ 595.337] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort [ 595.337] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock [ 595.337] (--) NVIDIA(GPU-0): [ 595.337] (--) NVIDIA(GPU-0): DFP-5: disconnected [ 595.337] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort [ 595.337] (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock [ 595.337] (--) NVIDIA(GPU-0): [ 595.337] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. [ 595.337] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server [ 595.337] (EE) NVIDIA(0): to start anyway [ 595.337] (EE) NVIDIA(0): Failing initialization of X screen 0 [ 595.405] (II) UnloadModule: "nvidia" [ 595.405] (II) UnloadSubModule: "wfb" [ 595.405] (II) UnloadSubModule: "fb" [ 595.405] (EE) Screen(s) found, but none have a usable configuration. [ 595.405] (EE) Fatal server error: [ 595.405] (EE) no screens found(EE) [ 595.405] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 595.405] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information. [ 595.405] (EE) [ 595.406] (EE) Server terminated with error (1). Closing log file.
Step 1: Make sure your NVIDIA driver is installed properly and your X server is running on Graphics card. In the following screenshot, the X server is NOT running on the graphics card. To fix this, do as in step 2.
If “nvidia-smi” command is not found, you may have to download suitable nvidia driver from the official website.
Note: Make sure you enter in to run-level 3 before installing nvidia driver. Also you have to blocklist “nouveau” driver before installing nvidia drivers.
Step 2: Fix xorg.conf file. Generate new xorg.conf using “nvidia-xconfig” as follows. This will replace your existing xorg.conf file if any. However, it takes backup of your old config file. This will add proper entries of nvdia graphics device, screens etc., to the xorg.conf file.
# nvidia-xconfig --no-xinerama --probe-all-gpus --use-display-device=none
Option “–use-display-device=none” will help you to resolve “no screens found ” issue. If your graphics machine is hosted in datacentre and you have not coonected any monitor to it, you must use this option.
Step 3: Switch to run level 5
#init 5
Now you should be able to start your X session.
Step 4 : Make sure your Xorg (X server) is running on graphics card by running “nvidia-smi”. See below screenshot.
Notice that “/usr/bin/X” is a process running on GPU using GPU cores and memory.
Hope this helped.