You are not logged in.

#1 2016-09-21 13:22:38

maledict
Member
From: Russia
Registered: 2015-09-22
Posts: 6

[SOLVED] Monitor turns off when X started (nvidia)

Hi, i haven't installed arch for a long time, and i got problems. When i booted arch from usb, my monitor turned off, nomodeset helped me to boot and install the system. after installation arch didn't want to boot without nomodeset in the grub. but when i installed xorg, nvidia drivers and xfce4, arch started to boot without nomodeset in the grub. but when i try to startxfce4, monitor turns off and shows me "no signal". Ctrl+Shift+Alt+F's don't work.
Here is lspci output:

01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)

pacman -Qs nvidia:

local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/libxnvctrl 370.28-1
    NVIDIA NV-CONTROL X extension
local/nvidia 370.28-1
    NVIDIA drivers for linux
local/nvidia-libgl 370.28-1
    NVIDIA drivers libraries symlinks
local/nvidia-settings 370.28-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 370.28-1
    NVIDIA drivers utilities
local/opencl-nvidia 370.28-1
    OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.12-2 (xorg-drivers xorg)
    Open Source 2D acceleration driver for nVidia cards

and here's the xorg log:

[   379.239] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   379.271] X Protocol Version 11, Revision 0
[   379.282] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
[   379.294] Current Operating System: Linux arch 4.7.4-1-ARCH #1 SMP PREEMPT Thu Sep 15 15:24:29 CEST 2016 x86_64
[   379.294] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ecde7002-e2d1-46c7-9c4a-860083f20450 rw quiet
[   379.319] Build Date: 19 July 2016  05:54:24PM
[   379.331]  
[   379.344] Current version of pixman: 0.34.0
[   379.371] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   379.371] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   379.428] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 21 01:46:39 2016
[   379.476] (==) Using config file: "/etc/X11/xorg.conf"
[   379.491] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   379.511] (==) ServerLayout "Layout0"
[   379.511] (**) |-->Screen "Screen0" (0)
[   379.511] (**) |   |-->Monitor "Monitor0"
[   379.511] (**) |   |-->Device "Device0"
[   379.511] (**) |-->Input Device "Keyboard0"
[   379.512] (**) |-->Input Device "Mouse0"
[   379.512] (==) Automatically adding devices
[   379.512] (==) Automatically enabling devices
[   379.512] (==) Automatically adding GPU devices
[   379.512] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   379.544] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   379.544] 	Entry deleted from font path.
[   379.557] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[   379.557] (==) ModulePath set to "/usr/lib/xorg/modules"
[   379.557] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   379.557] (WW) Disabling Keyboard0
[   379.557] (WW) Disabling Mouse0
[   379.557] (II) Loader magic: 0x821d40
[   379.557] (II) Module ABI versions:
[   379.557] 	X.Org ANSI C Emulation: 0.4
[   379.557] 	X.Org Video Driver: 20.0
[   379.557] 	X.Org XInput driver : 22.1
[   379.557] 	X.Org Server Extension : 9.0
[   379.559] (++) using VT number 1

[   379.559] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   379.562] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   379.563] (II) xfree86: Adding drm device (/dev/dri/card0)
[   379.564] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   379.567] (--) PCI:*(0:1:0:0) 10de:0e22:1458:34fa rev 161, Mem @ 0xf8000000/33554432, 0xd0000000/134217728, 0xdc000000/67108864, I/O @ 0x0000ef00/128, BIOS @ 0x????????/131072
[   379.567] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   379.567] (II) LoadModule: "glx"
[   379.568] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   379.889] (II) Module glx: vendor="NVIDIA Corporation"
[   379.890] 	compiled for 4.0.2, module version = 1.0.0
[   379.890] 	Module class: X.Org Server Extension
[   379.896] (II) NVIDIA GLX Module  370.28  Thu Sep  1 19:14:30 PDT 2016
[   379.903] (II) LoadModule: "nvidia"
[   379.904] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   379.954] (II) Module nvidia: vendor="NVIDIA Corporation"
[   379.954] 	compiled for 4.0.2, module version = 1.0.0
[   379.954] 	Module class: X.Org Video Driver
[   379.962] (II) NVIDIA dlloader X Driver  370.28  Thu Sep  1 18:51:40 PDT 2016
[   379.962] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   379.963] (II) systemd-logind: releasing fd for 226:0
[   379.967] (II) Loading sub module "fb"
[   379.967] (II) LoadModule: "fb"
[   379.967] (II) Loading /usr/lib/xorg/modules/libfb.so
[   379.978] (II) Module fb: vendor="X.Org Foundation"
[   379.978] 	compiled for 1.18.4, module version = 1.0.0
[   379.978] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   379.978] (II) Loading sub module "wfb"
[   379.978] (II) LoadModule: "wfb"
[   379.979] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   379.980] (II) Module wfb: vendor="X.Org Foundation"
[   379.980] 	compiled for 1.18.4, module version = 1.0.0
[   379.980] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   379.980] (II) Loading sub module "ramdac"
[   379.980] (II) LoadModule: "ramdac"
[   379.980] (II) Module "ramdac" already built-in
[   380.002] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   380.002] (==) NVIDIA(0): RGB weight 888
[   380.002] (==) NVIDIA(0): Default visual is TrueColor
[   380.002] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   380.003] (**) NVIDIA(0): Option "ConnectedMonitor" "DVI-I,DVI-I"
[   380.003] (**) NVIDIA(0): Enabling 2D acceleration
[   380.003] (**) NVIDIA(0): ConnectedMonitor string: "DVI-I,DVI-I"
[   384.739] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[   384.739] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[   384.739] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[   384.739] (EE) NVIDIA(GPU-0):     README for additional information.
[   384.739] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[   384.739] (EE) NVIDIA(0): Failing initialization of X screen 0
[   384.739] (II) UnloadModule: "nvidia"
[   384.739] (II) UnloadSubModule: "wfb"
[   384.739] (II) UnloadSubModule: "fb"
[   384.739] (EE) Screen(s) found, but none have a usable configuration.
[   384.739] (EE) 
Fatal server error:
[   384.739] (EE) no screens found(EE) 
[   384.739] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   384.739] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   384.739] (EE) 
[   384.756] (EE) Server terminated with error (1). Closing log file.

Last edited by maledict (2016-09-23 11:13:48)

Offline

#2 2016-09-21 13:26:25

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,896
Website

Re: [SOLVED] Monitor turns off when X started (nvidia)

Please change your topic title to something that actually reflects your problem.

https://wiki.archlinux.org/index.php/Co … ow_to_post

Mod note: not an installation issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-09-21 13:35:46

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Monitor turns off when X started (nvidia)

when i installed ... nvidia drivers ... arch started to boot without nomodeset in the grub.

Unless something has changed recently, the proprietary nVidia drivers don't support KMS so this would be normal.

Beyond that, my only suggestion would be to configure sshd so you can try to remote in after the monitor fails and get more information.  And also, choose a more informative title eg "Monitor turns off when X started (nvidia)"


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2016-09-21 19:30:52

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Monitor turns off when X started (nvidia)

Start by removing your xorg.conf, there is a 95% chance that it will just work™ if you do so.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2016-09-21 23:57:46

maledict
Member
From: Russia
Registered: 2015-09-22
Posts: 6

Re: [SOLVED] Monitor turns off when X started (nvidia)

Mr.Elendig wrote:

Start by removing your xorg.conf, there is a 95% chance that it will just work™ if you do so.

I've removed all xorg and nvidia packages, rebooted, installed again xorg, xorg-xinit xorg-utils, then nvidia, nvidia-utils, libgl, opencl, and everything i've found, using pacman -Ss lib32-nvidia.
Anyway, Xorg reports

Failed to initialize the NVIDIA GPU at PCI:1:0:0.

, although the NVIDIA GPU at PCI:1:0:0 exists:

01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)

Maybe i don't understand or miss something

Offline

#6 2016-09-22 07:51:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,764

Re: [SOLVED] Monitor turns off when X started (nvidia)

GTX 460 cards (and only GTX 460 cards) seem to have a strange problem with the current nvidia driver: https://bbs.archlinux.org/viewtopic.php?id=216209 , you could use 340xx for a supported stop gap measure while waiting for nvidia to address the issue

Offline

#7 2016-09-22 09:18:29

infinarchy
Banned
Registered: 2016-09-19
Posts: 73

Re: [SOLVED] Monitor turns off when X started (nvidia)

empty

Last edited by infinarchy (2017-11-04 21:44:25)

Offline

#8 2016-09-22 09:29:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,764

Re: [SOLVED] Monitor turns off when X started (nvidia)

@infiniarchy No. NEVER run nvidia-xconfig just like that. This is a driver issue with the card. Running a program that has a good chance to break more than it helps already isn't going to help this issue and if it does, then Nvidia seriously fucked  up.

Edit: This is also not an issue with modesetting, it won't be used anyway since nouveau won't be loaded since it is blacklisted... And there's no guarantee that OP is using GRUB.

Last edited by V1del (2016-09-22 09:32:41)

Offline

#9 2016-09-22 09:33:17

infinarchy
Banned
Registered: 2016-09-19
Posts: 73

Re: [SOLVED] Monitor turns off when X started (nvidia)

empty

Last edited by infinarchy (2017-11-04 21:44:15)

Offline

#10 2016-09-22 09:37:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,764

Re: [SOLVED] Monitor turns off when X started (nvidia)

You don't have a GTX 460, there's a driver issue with this specific card. nvidia-xconfig is known to break (it may work fine on static setups, but try to add new monitors and/or on optimus enabled laptops, it will fall apart) and be unnecessary for most usecases.

Offline

#11 2016-09-22 09:38:12

infinarchy
Banned
Registered: 2016-09-19
Posts: 73

Re: [SOLVED] Monitor turns off when X started (nvidia)

empty

Last edited by infinarchy (2017-11-04 21:44:12)

Offline

#12 2016-09-22 12:16:02

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Monitor turns off when X started (nvidia)

maledict wrote:
Mr.Elendig wrote:

Start by removing your xorg.conf, there is a 95% chance that it will just work™ if you do so.

I've removed all xorg and nvidia packages, rebooted, installed again xorg, xorg-xinit xorg-utils, then nvidia, nvidia-utils, libgl, opencl, and everything i've found, using pacman -Ss lib32-nvidia.
Anyway, Xorg reports

Failed to initialize the NVIDIA GPU at PCI:1:0:0.

, although the NVIDIA GPU at PCI:1:0:0 exists:

01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)

Maybe i don't understand or miss something

I told you to remove the xorg.conf NOT the nvidia/xorg/whatever packages.
Removing/reinstalling those is useless when you leave the broken config behind anyway.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#13 2016-09-23 01:13:13

maledict
Member
From: Russia
Registered: 2015-09-22
Posts: 6

Re: [SOLVED] Monitor turns off when X started (nvidia)

V1del wrote:

GTX 460 cards (and only GTX 460 cards) seem to have a strange problem with the current nvidia driver: https://bbs.archlinux.org/viewtopic.php?id=216209 , you could use 340xx for a supported stop gap measure while waiting for nvidia to address the issue

You were right, it seems to be the driver problem. xorg works fine with 340xx, DE starts finally. Do i have to check each new nvidia driver for the presense of the problem by installing it, or there are other ways to find out is it fixed or not ?

Offline

#14 2016-09-23 07:37:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,764

Re: [SOLVED] Monitor turns off when X started (nvidia)

Nvidia releases changelogs, something as broken as a theoretically supported card not working due to a mistake is bound to make it into the changelog, go read that when there's a new update.

EDIT: https://devtalk.nvidia.com/default/topi … rks-fine/1 Nvidia dev forum thread on the issue, additional info might be posted there as well

Last edited by V1del (2016-09-23 09:00:48)

Offline

#15 2016-09-23 11:13:29

maledict
Member
From: Russia
Registered: 2015-09-22
Posts: 6

Re: [SOLVED] Monitor turns off when X started (nvidia)

V1del wrote:

Nvidia releases changelogs, something as broken as a theoretically supported card not working due to a mistake is bound to make it into the changelog, go read that when there's a new update.

EDIT: https://devtalk.nvidia.com/default/topi … rks-fine/1 Nvidia dev forum thread on the issue, additional info might be posted there as well

Thanks, i will wait for new driver releases.

Offline

Board footer

Powered by FluxBB