You are not logged in.

#1 2016-03-09 08:43:54

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Second Screen not detected: X -configure : No. of screens [Solved]

lspci -v | grep VGA

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) (prog-if 00 [VGA controller])

I can start i3 on one monitor but after starting i3 (using startx) xrandr shows 1 connected, 2 disconnected. I have two monitors connected.

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: NVIDIA Corporation Device 080a
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at f7000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau
EndSection

Am using nouveau.

lsmod | grep nouveau

localhost% lsmod | grep nouveau
nouveau              1449984  2
mxm_wmi                16384  1 nouveau
wmi                    20480  2 mxm_wmi,nouveau
ttm                    77824  1 nouveau
drm_kms_helper        106496  2 i915,nouveau
drm                   286720  7 ttm,i915,drm_kms_helper,nouveau
i2c_algo_bit           16384  2 i915,nouveau
video                  36864  2 i915,nouveau
button                 16384  2 i915,nouveau

Xorg.0.log after X -configure.

   953.770]    GeForce GTX 200 (NVA0)
[   953.771]    GeForce GTX 400 (NVC0)
[   953.771] (II) modeset(G1): using drv /dev/dri/card0
[   953.771] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   953.771] (WW) Falling back to old probe method for vesa
[   953.850] (++) Using config file: "/root/xorg.conf.new"
[   953.850] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   953.851] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   953.851] (==) ServerLayout "X.org Configured"
[   953.851] (**) |-->Screen "Screen0" (0)
[   953.851] (**) |   |-->Monitor "Monitor0"
[   953.851] (**) |   |-->Device "Card0"
[   953.851] (**) |-->Input Device "Mouse0"
[   953.851] (**) |-->Input Device "Keyboard0"
[   953.851] (==) Automatically adding devices
[   953.851] (==) Automatically enabling devices
[   953.851] (==) Automatically adding GPU devices
[   953.851] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   953.851] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   953.851]    Entry deleted from font path.
[   953.851] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   953.851]    Entry deleted from font path.
[   953.851]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   953.851] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   953.851]    Entry deleted from font path.
[   953.851]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   953.851] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   953.851]    Entry deleted from font path.
[   953.851] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   953.851]    Entry deleted from font path.
[   953.851]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   953.851] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   953.851]    Entry deleted from font path.
[   953.851]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   953.851] (**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/
[   953.851] (**) ModulePath set to "/usr/lib/xorg/modules"
[   953.851] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   953.851] (WW) Disabling Mouse0
[   953.851] (WW) Disabling Keyboard0
[   953.852] Number of created screens does not match number of detected devices.
  Configuration	failed.

Last edited by Nemu_khao (2016-03-09 12:13:50)

Offline

#2 2016-03-09 09:28:17

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: Second Screen not detected: X -configure : No. of screens [Solved]

have you followed this

https://wiki.archlinux.org/index.php/Xrandr

if it doesn't work, post output of "xrandr"

Offline

#3 2016-03-09 09:53:57

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Re: Second Screen not detected: X -configure : No. of screens [Solved]

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
DVI-I-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00* 
   800x600       60.32    56.25  
   848x480       60.00  
   640x480       59.94  
HDMI-1 disconnected (normal left inverted right x axis y axis)
VGA-2 disconnected (normal left inverted right x axis y axis)

It's coming disconnected. The output is on VGA-2, but not detected.

Last edited by Nemu_khao (2016-03-09 09:54:34)

Offline

#4 2016-03-09 10:36:23

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: Second Screen not detected: X -configure : No. of screens [Solved]

Nemu_khao wrote:

[   953.852] Number of created screens does not match number of detected devices.
  Configuration    failed.

+what happened to VGA1 in your xrandr??

post contents of any file that you have in this folder (have modified or created any files in this folder?)

/etc/X11/xorg.conf.d/

also check the cables you have connected your monitors with

Last edited by Docbroke (2016-03-09 10:38:01)

Offline

#5 2016-03-09 10:40:52

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Re: Second Screen not detected: X -configure : No. of screens [Solved]

localhost% ls /etc/X11/xorg.conf.d   
10-monitor.conf  10-monitor.conf~

10-monitor.conf

Section "Monitor"
	Identifier  "VGA1"
	Option      "Primary" "true"
EndSection

Section "Monitor"
	Identifier  "DVI-1"
	Option      "LeftOf" "VGA1"

The cables look fine. It does print out the messages when system is booting.

Last edited by Nemu_khao (2016-03-09 10:43:28)

Offline

#6 2016-03-09 11:53:25

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: Second Screen not detected: X -configure : No. of screens [Solved]

I think you have created or modified this 10-monitor.conf, which is the cause of your trouble, try to remove that file (after taking backup) and reboot

Offline

#7 2016-03-09 12:13:24

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Re: Second Screen not detected: X -configure : No. of screens [Solved]

It got fixed by removing that file and plugging both cables to the graphics card but now i have a different problem. I added a third monitor to the motherboard. And that one isn't getting detected.

Offline

#8 2016-03-09 13:12:50

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: Second Screen not detected: X -configure : No. of screens [Solved]

Offline

Board footer

Powered by FluxBB