Bug 540922 - nouveau driver with GeForce 9600 GT dual monitor problem
Summary: nouveau driver with GeForce 9600 GT dual monitor problem
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: card_NV94
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-24 14:28 UTC by Robert Peterson
Modified: 2012-03-21 18:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-21 18:29:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Here are the dmesgs from the failure (46.24 KB, text/plain)
2009-11-24 14:29 UTC, Robert Peterson
no flags Details
Here is my Xorg.0.log file (101.14 KB, text/plain)
2009-11-24 14:30 UTC, Robert Peterson
no flags Details
Here's my lspci output (2.08 KB, text/plain)
2009-11-24 14:35 UTC, Robert Peterson
no flags Details
dmesg with the debug options (122.63 KB, text/plain)
2009-12-02 14:41 UTC, Robert Peterson
no flags Details
Xorg.0.log file with the debug options (36.00 KB, text/plain)
2009-12-02 14:41 UTC, Robert Peterson
no flags Details
xrandr output from a non-debug boot of F12 (831 bytes, text/plain)
2009-12-02 14:45 UTC, Robert Peterson
no flags Details
FYI--my Xorg.0.log file (15.96 KB, text/plain)
2010-05-18 04:16 UTC, Robert Peterson
no flags Details
dmesg after rebooting with the boot parameter (394.70 KB, text/plain)
2010-10-29 15:21 UTC, wbiker
no flags Details
smoltprofile (6.64 KB, text/plain)
2010-10-29 15:22 UTC, wbiker
no flags Details
Old xorg.con removed and rebooted. That is the automatically created new one. (308 bytes, text/plain)
2010-10-29 15:23 UTC, wbiker
no flags Details
Xorg log. (947.31 KB, text/plain)
2010-10-29 15:24 UTC, wbiker
no flags Details
xrandr (1.06 KB, text/plain)
2010-10-30 07:26 UTC, wbiker
no flags Details
dmesg output (57.05 KB, text/plain)
2010-11-04 16:52 UTC, wbiker
no flags Details

Description Robert Peterson 2009-11-24 14:28:42 UTC
Description of problem:
I installed Fedora 12 (latest and greatest with updates and
test updates) onto my two-monitor desktop, which has an Nvidia
GeForce 9600 GT  (rev a1).  The primary monitor appears just fine.
The secondary monitor is black and says "No Signal".  But the
screen configuration utility shows both monitors and their
correct native resolutions.  Noticed these errors in dmesg:

[drm:drm_mode_rmfb] *ERROR* tried to remove a fb that we didn't own
[drm] nouveau 0000:01:00.0: Allocating FIFO number 2
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 2
[drm] TMDS-8: set mode 1920x1200 3c
[drm] TMDS-10: set mode 1280x1024 3d
eth0: no IPv6 routers present
[drm] nouveau 0000:01:00.0: PGRAPH_ERROR - nSource: PROTECTION_ERROR DMA_R_PROTECTION, nStatus:
[drm] nouveau 0000:01:00.0: PGRAPH_ERROR - Ch 2/4 Class 0x8297 Mthd 0x15e0 Data 0x00000000:0x00000000

Version-Release number of selected component (if applicable):
Fedora 12 latest and greatest

How reproducible:
Always

Steps to Reproduce:
1. Boot system at runlevel 5
  
Actual results:
One monitor is black, says "No Signal"

Expected results:
Both monitors should appear normally as they do with F10.
(F11 had worse problems, so I had to stick with F10).

Additional info:
I'll attach files with further info.

Comment 1 Robert Peterson 2009-11-24 14:29:37 UTC
Created attachment 373433 [details]
Here are the dmesgs from the failure

Comment 2 Robert Peterson 2009-11-24 14:30:50 UTC
Created attachment 373434 [details]
Here is my Xorg.0.log file

I didn't actually look at this one, but the last one should be
the same, and it didn't contain any errors, or "EE" entries.

Comment 3 Robert Peterson 2009-11-24 14:35:02 UTC
Created attachment 373439 [details]
Here's my lspci output

Let me know if you need other information.  This is my primary
desktop, so it's inconvenient to switch over to F12 to collect
info.  Since I'm a Red Hat kernel-level developer, let me know
if there's anything I can do to help.  I can likely set it up to
ssh into this box (after booting it back to F12) if need be.
I've done this with past xorg bugs relating to mouse movement.

I'm addicted to two-monitors so I won't use F12 until this is
resolved, just like I didn't use F11.

Comment 4 Adam Williamson 2009-11-25 21:31:27 UTC
Thanks for the report. Please don't set the 'priority' field when reporting bugs - by Fedora policy, that field is reserved for the maintainer(s) of the affected components to use however they like.

can we get the xrandr output and the specs of the external monitor? Also, how is the external monitor connected to your machine - what kind of cable? is there anything else in the line (e.g. a KVM)?

can you also test with the kernel parameter 'nomodeset' just to see if it works with UMS rather than KMS?

thanks!

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 5 Ben Skeggs 2009-11-25 23:06:06 UTC
Also, can I get a dmesg log of booting with "drm.debug=15 nouveau.reg_debug=0x200 3".

Thanks!

Comment 6 Robert Peterson 2009-12-02 14:38:56 UTC
I finally got around to trying these suggestions this morning.

1. Booting the kernel with the nomodeset parameter causes the
   system to freeze completely.  It won't even toggle the num-lock
   light.  The primary monitor was backlit but black.  The second
   monitor had no video signal.
2. Booting the kernel with "drm.debug=15 nouveau.reg_debug=0x200 3"
   failed to start X.  Errors were logged in Xorg.0.log, which I
   will attach shortly.
3. I booted F12 as before and saved the xrandr output, which I will
   attach shortly.
4. In answer to the questions about my hardware:  This is a desktop
   unit, x86_64, with the Nvidia card noted above.  The card has two
   external cables for two video outputs.  The primary display is
   attached to a 24-inch Samsung SyncMaster 2433bw monitor via a
   normal DVI cable.  The secondary display is a ViewSonic VA912b,
   also attached via a normal DVI cable.

Comment 7 Robert Peterson 2009-12-02 14:41:09 UTC
Created attachment 375444 [details]
dmesg with the debug options

Comment 8 Robert Peterson 2009-12-02 14:41:48 UTC
Created attachment 375446 [details]
Xorg.0.log file with the debug options

Comment 9 Robert Peterson 2009-12-02 14:45:57 UTC
Created attachment 375449 [details]
xrandr output from a non-debug boot of F12

This xrandr was taken after rebooting the kernel to a normal
F12.  As described in the original problem description, there
was only the primary monitor displayed and the secondary monitor
had no signal, even though the display configuration screen showed
both monitors.

Comment 10 Adam Williamson 2009-12-02 19:24:17 UTC
Thanks. Your xrandr output does show two monitors, btw - DVI-I-0 and DVI-I-1. DVI-I-1 appears to be the problematic Viewsonic, and it shows it configured at 1280x1024, which sounds reasonable for a 19" LCD.

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 11 Robert Peterson 2009-12-02 19:33:28 UTC
Yes, 1280x1024 is the native resolution for the Viewsonic.

Comment 14 Ben Skeggs 2010-05-13 23:59:57 UTC
A couple more questions to try and narrow it down a bit:

1. If you swap the monitors around, does the other one work instead?
2. If the above is true, do either/both monitors work on the "bad" connector if you have *only* one monitor plugged in at a time.

Comment 15 Robert Peterson 2010-05-18 04:11:06 UTC
Hi Ben,

After a bit of messing around, I was able to capture a
complete mmiotrace of my X initialization with dual screens.
It's a bit big, so I can't attach it to the bz.  However,
I bzip2'd it and copied it here:

http://www.robertpeterson.org/bobs_mmiotrace.txt.bz2

I haven't tried the experiments in comment #14 yet.

Comment 16 Robert Peterson 2010-05-18 04:16:41 UTC
Created attachment 414721 [details]
FYI--my Xorg.0.log file

Here's my log file too, so you can match what the driver did
to the initialization sequence in the trace.
Ben, I can also get you ssh access to this system.  I've done
this for other developers in situations like this, most notably,
"whot" who did some remote debugging on a screen switching problem
I had long ago. Let me know if you want to set it up sometime.
My irc nick is bob and you can find me in Red Hat's #devel.

Comment 17 Ben Skeggs 2010-05-18 04:35:30 UTC
Thanks for that, I'll take a look at those and see if anything obvious sticks out.  As you can see, it's a *lot* of data, so unless it's a big change from other chipsets, it's a "needle in a haystack" kind of deal.

The other thing that'd be worth knowing (when you get to the nouveau experiments) is that if you configure *both* displays to a lower resolution (say, 1280x1024 to be safe), do they both work?  It could be a memory bandwidth problem too.  You'll need to 'xrandr --output NAME --set "scaling mode" None' both of the connectors to make sure the displays definitely receive a lower clocked mode.

Comment 18 Robert Peterson 2010-05-24 12:55:30 UTC
Over the weekend, I tried some of the experiments suggested in
comment #14.  The "bad" monitor worked perfectly if I plugged it
into the "good" monitor's output, but the "good" monitor did not
work in the "bad" monitor's output.  So the problem followed the
output from the card, not the monitor.

Neither "good" nor "bad" monitor worked stand-alone when plugged
into the "bad" port.  When the system boots, I get normal BIOS
messages on whatever monitor is plugged into the "bad" port but
nothing once the kernel starts.

I tried the xrandr command but never got it to work properly.
I figured out how to specify the output port from the Xorg.0.log
file, but it didn't seem to like "scaling mode" or "scaling_mode".
I tried many variations but finally gave up.

Comment 19 Ben Skeggs 2010-05-24 22:38:41 UTC
Thanks for that, the info you gave shows it's something specific to one of the connectors, which narrows things down a little.

I think the fact that they don't work individually in that connector rules out memory bandwidth issues, and we're left with some magic to find which'll make the connector work.  Something like this goes much much faster with the card in front of me, as I can bash registers until I see the display light up :)  But I'll take another look anyways.

Comment 21 Ben Skeggs 2010-07-07 07:26:26 UTC
Hey, I have a scratch build prepared which *may* fix your issue.  Are you able to test it for me and let me know?

http://koji.fedoraproject.org/koji/taskinfo?taskID=2299699

Thanks!

Comment 22 Ben Skeggs 2010-07-09 03:35:58 UTC
When you test, can you please try with this build instead: http://koji.fedoraproject.org/koji/taskinfo?taskID=2307587

Comment 23 Robert Peterson 2010-07-09 19:45:06 UTC
Hi Ben,

I don't have this environment set up anymore.  I would love
to try your latest build, but it might take some time.
I would likely need to reinstall F13 to a new hard drive
and set up the environment again.  Not a big deal but it will
take some time because this is my primary workstation (taking
the machine offline for a few hours will impact my other work).
I'll see what I can do.

Comment 24 Ben Skeggs 2010-07-14 04:04:56 UTC
Ok, thank you.  The fixes in the above scratch build are available in kernel-2.6.34.1-11.fc13 (http://koji.fedoraproject.org/koji/buildinfo?buildID=183346).

I'll leave this NEEDINFO until you've had a chance to test.

Comment 25 wbiker 2010-10-27 18:38:18 UTC
Hi Ben,

Unfortunately, my Kernel is 2.6.34.7-61.fc13.x86_64 and I still have a black second monitor :-(
Like Robert, I am dual-monitor addicted and have no fun with just a tiny single monitor in front of me.

As you can see my English is not the best. Also I am not a Linux guy. In fact I am coming from the Windows world and do not know how I get needed information out of the black box called Linux.
Anyway, I hope I can give you all information which you want.

Regards,
Wolfgang

Comment 26 wbiker 2010-10-27 18:51:47 UTC
Ups, some information would be a good idea...

Hardware:
Main monitor NEC 1920x1200
Second monitor: Samsung 1680x1050

First I tried to enable the second monitor with the neuveau driver. But I got only a single screen (screen 0) with a resolution of 3600 x 1200. 1920 x1200 was visible the rest was black but reachable. That means, I could move a window outside the 1920 px resolution and it was visible in the virtual desktop pane.

Then, I installed the nvidia driver and set up the second monitor with the nvidia-settings dialog. After restarting the X-Server the second monitor is still black and I get errors like the following when I start the nvidia-settings dialog again:
ERROR: Invalid X Screen 1 specified on line 92 of configuration file '/root/.nvidia-settings-rc' (there is only 1 X Screen on this
       Display).

Unfortunately, my nvidia-settings-rc file is gone, but I think I can it reproduce if you need it.

Regards,
Wolfgang

Comment 27 Adam Williamson 2010-10-27 21:21:57 UTC
Fedora has no interest in the NVIDIA driver at all, we don't ship it, and as it's closed source we can't support it. So if you'd like help from Fedora developers, please use the nouveau driver.

Do you actually have the same video adapter as mentioned in this bug? You haven't posted to this bug before and you don't provide any description of your graphics card. It's likely that you're suffering from a different bug, unrelated to this one, which happens to have the same symptom, in which case it would be best to open a new report.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 28 wbiker 2010-10-28 04:43:26 UTC
As of NVIDIA driver I understand.

However, with the nouveau driver I have the same problem and the video adapter is also a Nvidia 9600 GT. So I believe that is the same problem.

Comment 29 Adam Williamson 2010-10-28 16:42:03 UTC
Please provide all the info listed at https://fedoraproject.org/wiki/How_to_debug_Xorg_problems , then (after switching back to nouveau, of course). Thanks!



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 30 wbiker 2010-10-29 15:19:25 UTC
Hello,

I switched back to the nouveau driver and even removed the nvidia driver.

Here the data:
All bug reports

In all cases, the following should be attached to your bug report:

> All of the X server log file(s): /var/log/Xorg.*.log
    I attached the Xorg.0.log because the older one are still full with nvidia entries.

> Your smolt profile. You can dump it to /tmp/smoltprofile.txt with the 
    Attached. 
> If you use a xorg.conf, please include it in the bug report, otherwise...
    Attached. This one is created from the scratch after removing the nvidia driver and deleting the old xorg.con file.
> output of the dmesg command (please add drm.debug=14 log_buf_len=16M...
    boot parameters added and rebooted. Then the dmesg.txt created and attached here.

I hope these info help,
Wolfgang

Comment 31 wbiker 2010-10-29 15:21:03 UTC
Created attachment 456495 [details]
dmesg after rebooting with the boot parameter

Comment 32 wbiker 2010-10-29 15:22:29 UTC
Created attachment 456496 [details]
smoltprofile

Comment 33 wbiker 2010-10-29 15:23:41 UTC
Created attachment 456497 [details]
Old xorg.con removed and rebooted. That is the automatically created new one.

Comment 34 wbiker 2010-10-29 15:24:47 UTC
Created attachment 456498 [details]
Xorg log.

Comment 35 Adam Williamson 2010-10-29 21:47:37 UTC
one more thing (I should update the 'how to debug' page...) - can you also include the output of 'xrandr' run at a console? Thanks!



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 36 wbiker 2010-10-30 07:26:55 UTC
Created attachment 456605 [details]
xrandr

Here you are

Comment 37 Adam Williamson 2010-10-30 09:56:46 UTC
Thanks. So, just to be clear, what is your symptom? The xrandr output shows two displays connected and activated.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 38 wbiker 2010-10-30 14:56:42 UTC
Hi Adam,

Thanks a lot for you effort in this.
Its weird, I know, but the symptoms is the second monitor stays black. The monitor is not in stand-by mode is recognized by gnome and configured. The cable is plugged in tight and it works with Window.
As Robert described above doesn't matter which monitor is plugged in the first monitor output. The second monitor output does not work. Or in fact it works, but only a black screen is shown even the desktop has got the resolutions of both monitors.
When I take a screenshot I get a picture of the whole desktop, that means I can see the background picture and windows on the second monitor which is shown in the picture but not on the monitor. The monitor might gets only a "black" signal by the video card.

Thanks,
Wolfgang

Comment 39 Adam Williamson 2010-10-30 19:33:12 UTC
Okay, thanks. Just wanted to make sure we had all the details :) Ben, over to you!



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 40 Ben Skeggs 2010-11-02 03:27:33 UTC
Can you give the latest f14 kernel from koji a try and see how that goes?

Comment 41 wbiker 2010-11-02 17:13:51 UTC
Of course, but how?
I am a newbie and I even don't know what 'koji' means :-(

Comment 42 wbiker 2010-11-02 17:52:03 UTC
So, with a little help I installed the kernel and booted with it. Unfortunately, nothing changed. The monitor is still black :-(
I enabled/disabled it several times, nothing changed.

Comment 43 Ben Skeggs 2010-11-02 22:35:04 UTC
What kernel version did you end up getting?

Comment 44 wbiker 2010-11-03 13:36:34 UTC
this one:
http://koji.fedoraproject.org/koji/buildinfo?buildID=202926

Should be the right one.

Comment 45 Ben Skeggs 2010-11-03 22:08:29 UTC
Are you able to post your dmesg log with that kernel from after activating the external display?

Comment 46 Bug Zapper 2010-11-04 05:30:19 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 47 wbiker 2010-11-04 16:52:24 UTC
Created attachment 457874 [details]
dmesg output

I enabled the second monitor and rebooted. Then stored the dmesg output in that file. I hope that helps

Comment 48 Robert Peterson 2010-11-05 03:36:48 UTC
I just tried F14 on the same system.  Now nouveau driver won't
start gnome at all.  I get:

(nautilus:1758): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
[drm] nouveau 0000:01:00.0: EvoCh 0 Mthd 0x0080 Data 0x00000000 (0x100e 0x05)

The only EE I see in Xorg.0.log is:

(EE) HID 0b38:0010: failed to initialize for relative axes.
This is a stock F14 2.6.35.6-48.fc14.x86_64 kernel.

Comment 49 Robert Peterson 2012-03-21 18:29:23 UTC
The nouveau driver is working perfectly with gnome3 on Fedora 16
so I'm closing this as CURRENTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.