[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

getting nouveau to work on my PC (was Re: cannot go back from nouveau to nv



On 4/2/11 3:44 AM, Sven Joachim wrote:
On 2011-04-02 10:24 +0200, Fumiaki Okushi wrote:

On 04/02/2011 12:43 AM, Sven Joachim wrote:
On 2011-04-02 08:49 +0200, Fumiaki Okushi wrote:

I'm running Debian Squeeze amd64.
I'm trying to go back to using nv after trying to get nouveau working
and failed.

I'm sorry that nouveau did not work for you.  Could you please elaborate
what the problem was?

Thank you for your response.

To be honest with you, I don't know what the problem was.
First, my monitor refused saying that it's out of range.
The dmesg showed that it inferred the screen size to be 1024x768,
so I booted with video=1920x1080 (native monitor size).

I would suspect that the monitor is broken and provides no or invalid
EDID.  The kernel then uses 1024x768 as fallback, since this resolution
is usually safe.

Yes, EDID is blank (according to Xorg.0.log), which is why I have to populate xorg.conf with the correct params to use this monitor.

The dmesg output reflected the change but the monitor continued to say out of range.

It might help to specify the refresh rate as well.  See
http://nouveau.freedesktop.org/wiki/KernelModeSetting for all the
arguments that you can supply with the video=… parameter.

Thanks for pointing me to the wiki page.
I had already gone to that wiki page, but didn't read all the way to the end. It turns out that an important piece of info was at the end of the page, which was on how to disable specific outputs. In my case, once I disabled the TV port, the console started working in 1024x768 mode, and X started up in 1920x1080 (per modeline in xorg.conf).

Thank you thank you thank you!!

The rest of this email summarizes what I did, in case it is useful to someone.
I've also modified the email subject line.


Problem:

Cannot get nouveau to work.
Simply changing the driver from nv (working) to nouveau caused the monitor to display "out of range" message.
This happens with both console (once nouveau takes over) and X.


Environment:

AMD64 system running Squeeze with all the updates.
Stock kernel.
lspci reports video as

00:05.0 VGA compatible controller: nVidia Corporation C51 [GeForce 6150 LE] (rev a2)

Xorg.0.log says nouveau driver detected

(--) NOUVEAU(0): Chipset: "NVIDIA NV4e"

The monitor doesn't return EDID so having the correct params in xorg.conf is critical for my setup.


Path to resolution:

The PC only has a VGA connector at the back.
However, dmesg (with nouveau loaded), reports 3 outputs.

[    7.348137] [drm] nouveau 0000:00:05.0: Detected a VGA connector
[    7.348202] [drm] nouveau 0000:00:05.0: Detected a DVI-D connector
[    7.348235] [drm] nouveau 0000:00:05.0: Detected a TV connector

Also, several lines down, there are messages that suggest maybe VGA and TV are trying to use the same output B (I'm not so sure if I'm reading this correctly):

[ 7.499388] [drm] nouveau 0000:00:05.0: Output VGA-1 is running on CRTC 0 using output B [ 7.509673] [drm] nouveau 0000:00:05.0: Output TV-1 is running on CRTC 1 using output B

The bottom of http://nouveau.freedesktop.org/wiki/KernelModeSetting explains how to disable specific outputs. I tried booting the kernel with video=TV-1:d and the console (after nouveau took over) started in 1024x768 and X started in 1920x1080 (per modeline in xorg.conf).
dmesg also shows the line

[    7.294315] [drm] forcing TV-1 connector OFF

I further added video=VGA-1:1920x1080M@60 and the console (after nouveau took over) also started in 1920x1080.


Reply to: