Bug 77857

Summary: Second Monitor Stopped Working
Product: xorg Reporter: eagle_boy
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
dmesg
none
Xorg.0.log - 3.11.0-19 (Second Monitor Working)
none
dmesg - 3.11.0-19 (Second Monitor Working) none

Description eagle_boy 2014-04-24 03:37:56 UTC
Created attachment 97852 [details]
Xorg.0.log

When I updated to kernel 3.11.0-20 my second monitor stop working. I looked at the display manager and it only show one Display available and it's setup to default vesa settings.

I restarted my box using kernel 3.11.0-19 it all works fine.

I don't know if a change in the kernel was the reason why my monitor stopped working of if it was a change in the drivers that happend at the same time the kernel was updated.

I looked in the Xorg.0.log file and the only errors I found are the following:
-- [drm] KMS not enabled
-- No devices detected.
-- NVIDIA: Failed to load the NVIDIA kernel module. Please check your NVIDIA:     system's kernel log for additional error messages.
--  open /dev/dri/card0: No such file or directory
-- Failed to initialize GLX extension (Compatible NVIDIA X driver not found)


My Specs:
-- X.Org X Server 1.14.5
-- Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
   ** 3.11.0-20-generic #34-Ubuntu SMP Tue Apr 1 20:40:25 UTC 2014 x86_64
-- xorg-server 2:1.14.5-1ubuntu2~saucy1
-- Module nouveau: 1.14.5, module version = 1.0.10 ABI class: X.Org Video Driver, version 14.1
-- Module nvidia: 4.0.2, module version = 1.0.0 Module class: X.Org Video Driver

-- Video Card: GeForce 9800 GTX
-- CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
-- Memory: 12 Gb
Comment 1 Ilia Mirkin 2014-04-24 03:41:37 UTC
Please attach dmesg from the failing kernel. It appears that the nouveau kernel module is not loaded (or its load failed somehow). As a result, you're using VESA which has no concept of any of the card's post-1990 features.
Comment 2 eagle_boy 2014-04-24 03:42:51 UTC
Created attachment 97853 [details]
dmesg
Comment 3 Ilia Mirkin 2014-04-24 03:48:32 UTC
I see no messages related to nouveau in your dmesg. That means that either the kernel module is not installed, or it is blacklisted by something. In any case, I don't see any nouveau-related issues. Just a system configuration one. Perhaps you installed the nvidia proprietary driver? That tends to wipe nouveau one way or another (e.g. a blacklist entry in your modprobe configs).
Comment 4 eagle_boy 2014-04-24 03:58:34 UTC
I originally had the NVIDIA driver installed and when I got my second monitor I uninstalled the NVIDIA driver and installed nouveau. I then modified my xorg.conf to 

Section "Device"
Identifier "n"
Driver "nouveau"
EndSection

and everything worked fine. But when installed 3.11.0-20 it stopped working.

I checked my blacklist.conf and I only haev the following items in it

blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

Is there somewhere I can check to see if something got miss configured?
Comment 5 Ilia Mirkin 2014-04-24 04:01:16 UTC
Try shutting down X, then running

modprobe nouveau

and then starting X again. (Doing this while X is running is highly unadvised.) You might also ask your distribution provider. Perhaps they packaged the kernel wrong, dunno.
Comment 6 eagle_boy 2014-04-24 04:04:25 UTC
Created attachment 97859 [details]
Xorg.0.log - 3.11.0-19 (Second Monitor Working)
Comment 7 eagle_boy 2014-04-24 04:05:02 UTC
Created attachment 97860 [details]
dmesg - 3.11.0-19 (Second Monitor Working)
Comment 8 eagle_boy 2014-04-24 04:07:49 UTC
I attached my Xorg.0.log and dmesg for 3.11.0-19 just in case it helps ID a probable cause.

I will stop X and modprobe and will put my outcome.
Comment 9 Ilia Mirkin 2014-04-24 04:15:55 UTC
In your 'working' case, you're using the proprietary driver:

[   29.885032] nvidia: module license 'NVIDIA' taints kernel.
[   29.885037] Disabling lock debugging due to kernel taint
[   29.905236] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
[   29.905528] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 0
[   29.905537] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.49  Wed Feb 12 20:42:50 PST 2014

And similarly in the Xorg log:

[    38.408] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    38.408] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    38.408] (==) NVIDIA(0): RGB weight 888
[    38.408] (==) NVIDIA(0): Default visual is TrueColor
[    38.408] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    38.462] (**) NVIDIA(0): Enabling 2D acceleration
[    39.431] (II) NVIDIA(0): Display (AOC 2243W (CRT-0)) does not support NVIDIA 3D Vision
[    39.431] (II) NVIDIA(0):     stereo.
[    39.437] (II) NVIDIA(0): Display (HP W2071d (DFP-2)) does not support NVIDIA 3D Vision
[    39.437] (II) NVIDIA(0):     stereo.
[    39.437] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[    39.438] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 650 (GK107) at PCI:1:0:0 (GPU-0)

Which, BTW, should be noted, is not at all the 9800 GTX you claimed you had...
Comment 10 eagle_boy 2014-04-24 04:35:45 UTC
I ran the modprobe and I got.

libkmod: ERROR ../libkmod/libkmod-module.c: 791 kmod_module_insert_module: could not find module by name='off'
ERROR: could not insert 'off': Function not implemented.

I uninstalled (or at least assumed it was uninstalled after running the the bin's remove option) so I wonder why it' still showing. I will double check with my package manager to see if the script missed something.

As for not having GeForce 9800 GTX, I do have that card install I wonder why it's detecting it as GTX 650 (I wonder if they have the same chipset).
Comment 11 eagle_boy 2014-04-24 04:41:51 UTC
Sorry my card is GeForce 9800 GX2 not 9800 GTX.
Comment 12 Christopher M. Penalver 2016-02-23 07:32:46 UTC
eagle_boy@rocketmail.com, given you are using a downstream version, and have made non-default configuration changes, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.