Re: cannot go back from nouveau to nv

2011-07-04 Thread Ralf Mardorf

> >  Forwarded Message 
> > From: Stephen Powell 
> > To: debian-user@lists.debian.org
> > Subject: Re: cannot go back from nouveau to nv
> > Date: Sun, 3 Jul 2011 16:39:55 -0400 (EDT)
> > 
> > On Sun, 03 Jul 2011 03:56:34 -0400 (EDT), Paul Scott wrote:
> > > 
> > > or that read-edid is broken?  ddcprobe seems to provide correct 
> > > information for my ViewSonic VA703b.  read-edid does not.
> > 
> > By the way, have you noticed that nv (xserver-xorg-video-nv)
> > has been dropped from Wheezy (testing) now?  I'm still running it,
> > but I had to download the source code and compile my own version
> > from source.  That still works.  But I'm living on borrowed time.
> > I noticed build warnings that the driver is referring to deprecated
> > fields.  It's only a matter of time before I start to get FTBFS
> > errors.  And then, if the lack of support for interlaced modes
> > has not been addressed in nouveau, I will have to get rid of my
> > monitor.  (My monitor requires an interlaced mode.  That's why
> > I still use nv.)

The nv driver also could be the better choice, when using a real-time
kernel. I downgraded X to stable. I need the nvidia driver packages and
the nv driver package.
To keep both I pinned some packages, the pinning sometimes needs to be
reedited.

Ralf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309769761.2550.16.camel@debian



Re: cannot go back from nouveau to nv

2011-07-03 Thread Stephen Powell
On Sun, 03 Jul 2011 03:56:34 -0400 (EDT), Paul Scott wrote:
> 
> or that read-edid is broken?  ddcprobe seems to provide correct 
> information for my ViewSonic VA703b.  read-edid does not.

By the way, have you noticed that nv (xserver-xorg-video-nv)
has been dropped from Wheezy (testing) now?  I'm still running it,
but I had to download the source code and compile my own version
from source.  That still works.  But I'm living on borrowed time.
I noticed build warnings that the driver is referring to deprecated
fields.  It's only a matter of time before I start to get FTBFS
errors.  And then, if the lack of support for interlaced modes
has not been addressed in nouveau, I will have to get rid of my
monitor.  (My monitor requires an interlaced mode.  That's why
I still use nv.)

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1115482411.499673.1309725595751.javamail.r...@md01.wow.synacor.com



Re: cannot go back from nouveau to nv

2011-07-03 Thread Paul Scott

On 04/02/2011 03: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.


or that read-edid is broken?  ddcprobe seems to provide correct 
information for my ViewSonic VA703b.  read-edid does not.


Paul Scott



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e1020b2.9080...@ultrasw.com



Re: cannot go back from nouveau to nv

2011-04-02 Thread Ron Johnson

On 04/02/2011 04:17 PM, Stephen Powell wrote:
[snip]

But it's good to know that cheap video cards are available.



And monitors.  Acer 17" 4:3 LCD for $97 w/ free shipping.

(But obviously that's 3x as expensive as the video card.)

--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d97978a.1030...@cox.net



re: cannot go back from nouveau to nv

2011-04-02 Thread Stephen Powell
On Sat, 02 Apr 2011 16:16:29 -0400 (EDT), Ron Johnson wrote:
> 
> Time to accept the reality that time has passed by the Riva TNT2.
> 
> NewEgg sells an AGP8X GeForce 5200 for $30 and GeForce 6200 for $35, and 
> they might be even cheaper on eBay.

I replace hardware when it no longer meets my needs (hard disk too small,
not enough RAM, etc.)  That is not the case here.  The hardware works
perfectly, and it meets my needs.  I'll download the source code for
nv and compile it myself if I have to, rather than throw away perfectly
good hardware.  If I get to the point where I can no longer make it
work, I'll replace the monitor.  I've got four monitors lying around
in the basement that I'm not using.  And I've also got three other
computers lying around that I'm not using.  I'll bet that at least
one of them has a video card with a supported driver that supports
interlacing, and I can use the monitor I'm using now with one of them.
But it's good to know that cheap video cards are available.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1196231954.1899423.1301779041472.javamail.r...@md01.wow.synacor.com



Re: cannot go back from nouveau to nv

2011-04-02 Thread Sven Joachim
On 2011-04-02 22:16 +0200, Ron Johnson wrote:

> On 04/02/2011 12:44 PM, Stephen Powell wrote:
> [snip]
>>
>> My video card has a RIVA TNT2 chipset, which is no longer supported by
>> the proprietary nvidia driver.  (The legacy 71xx driver supports it,
>
> Time to accept the reality that time has passed by the Riva TNT2.
>
> NewEgg sells an AGP8X GeForce 5200 for $30 and GeForce 6200 for $35,
> and they might be even cheaper on eBay.

The only question is whether any of these cards will be compatible¹ with
the AGP slot in Stephen's board.

Sven


¹ http://en.wikipedia.org/wiki/Accelerated_Graphics_Port#Compatibility


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/878vvsz9dw@turtle.gmx.de



Re: cannot go back from nouveau to nv

2011-04-02 Thread Ron Johnson

On 04/02/2011 12:44 PM, Stephen Powell wrote:
[snip]


My video card has a RIVA TNT2 chipset, which is no longer supported by
the proprietary nvidia driver.  (The legacy 71xx driver supports it,


Time to accept the reality that time has passed by the Riva TNT2.

NewEgg sells an AGP8X GeForce 5200 for $30 and GeForce 6200 for $35, and 
they might be even cheaper on eBay.


--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d97841d.8030...@cox.net



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

2011-04-02 Thread Fumiaki Okushi

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 :00:05.0: Detected a VGA connector
[7.348202] [drm] nouveau :00:05.0: Detected a DVI-D connector
[7.348235] [drm] nouveau :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 :00:05.0: Output VGA-1 is running on 
CRTC 0 using output B
[7.509673] [drm] nouveau :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.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d977bc6.4090...@okushi.com



Re: cannot go back from nouveau to nv

2011-04-02 Thread Stephen Powell
On Sat, 02 Apr 2011 02:49:39 -0400 (EDT), 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 see you already found a solution from other posters.  But be glad that
you had an nv driver to go back to.  The nv driver has already been
deleted from sid (except for the avr32 and m68k unofficial ports).
I too had to go back to nv.  My monitor requires an interlaced video
mode, and the last time I checked, the nouveau driver simply wouldn't
work with interlaced modes.  It gives no error messages, but the screen
goes totally black.

If they had demoted the driver from main to non-free, (due to DFSG
violations -- code obfuscation), I could have accepted that.  But with
this monitor, I don't think any other driver will work at 1024x768
resolution.  (The monitor does have a non-interlaced mode for
1024x768 resolution at 60 Hz vertical refresh, but that produces
unacceptable flicker which gives me horrible headaches after
several hours of use.  Non-interlaced modes for this resolution at
higher vertical refresh rates are not possible due to the monitor's
low video bandwidth.  It's an IBM G51 monitor, and it has a 70 MHz maximum
pixel clock rate.)

My video card has a RIVA TNT2 chipset, which is no longer supported by
the proprietary nvidia driver.  (The legacy 71xx driver supports it,
but this driver doesn't work with the release of the X server used by
Squeeze and later releases.)  Without the nv driver, I would have
to drop back to 800x600 resolution to save my eyes.  Plus I would
lose my true hardware-mode text consoles and be stuck with framebuffer
stuff.  With the nv driver, not only can I use the VESA standard
87 Hz vertical refresh interlaced mode (half frame rate), but I designed
my own video mode that runs it at 100 Hz vertical refresh interlaced
(half frame rate), which is the maximum vertical refresh rate supported
by the monitor.  This is even easier on my eyes than 87 Hz interlaced.

I really wish they would bring back the nv driver as non-free.  It has
a "niche market" that cannot be filled by any other driver, as in my
example.  If nouveau is not going to support interlaced modes, then
people who use monitors that require interlaced modes and video chipsets
that support interlaced modes but are not supported by the nvidia
proprietary driver really don't have any good alternative except nv.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/646940273.1896062.1301766268843.javamail.r...@md01.wow.synacor.com



Re: cannot go back from nouveau to nv

2011-04-02 Thread Sven Joachim
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.

> 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.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87bp0p0w6g@turtle.gmx.de



Re: cannot go back from nouveau to nv

2011-04-02 Thread Fumiaki Okushi



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).
The dmesg output reflected the change but the monitor continued to say out of 
range.
For xorg.conf, I added a modeline generated using cvt for 1920x1080.
(BTW, the same modeline will work with nv.)
Xorg.0.log seems to suggest that X accepted the modeline params as valid,
but didn't seem to use it.
What I see if the monitor complaining out of rane.

Fumi Okushi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d96dd2c.3000...@okushi.com



Re: cannot go back from nouveau to nv

2011-04-02 Thread Fumiaki Okushi



On 04/02/2011 12:34 AM, Kent West wrote:

On 4/2/11 1:49 AM, Fumiaki Okushi wrote:

I rebooted, but X won't work.
Near the end of Xorg.0.log has the following message:

(EE) NV: Kernel modesetting driver in use, refusing to load

Indeed, nouveau.ko and its dependent drivers (eg., drm_kms_heler.ko)
are still getting loaded.

What do I need to do to go back to using nv?



I'm not sure, but I think you'll need to blacklist the nouveau kernel
module (as opposed to the nouveau X driver). Add a line to the end of
/etc/modprobe.d/blacklist:

blacklist nouveau

and reboot. See if that works for you.


Thanks for your response.
Yes, that works and I have that change made.
However, shouldn't that not be required?
I mean, if I install a package, didn't like it, and decide to purge it,
shouldn't things go back to normal?
It seems to me that my trying to get nouveau working caused some
unknown changes to the system and purging the package didn't undo that change.

Thanks,
Fumi Okushi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d96daea.5050...@okushi.com



Re: cannot go back from nouveau to nv

2011-04-02 Thread Brian
On Sat 02 Apr 2011 at 09:43:55 +0200, Sven Joachim wrote:

> Blacklist the nouveau module or boot with nouveau.modeset=0.  See
> http://wiki.debian.org/KernelModesetting.

Having

   GRUB_CMDLINE_LINUX="nouveau.modeset=0"

in /etc/default/grub saves some typing at every boot.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110402075848.GR7935@desktop



Re: cannot go back from nouveau to nv

2011-04-02 Thread Sven Joachim
On 2011-04-02 09:43 +0200, Erwan David wrote:

> Better also check wether nouveau did blacklist the nv kernel module...

There is no nv kernel module, and nouveau does not blacklist anything.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87hbah13lb@turtle.gmx.de



Re: cannot go back from nouveau to nv

2011-04-02 Thread Sven Joachim
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?

> I purged the two packages I had to install to attempt nouveau:
> - xserver-xorg-video-nouveau
> - libdrm-nouveau1

Removing these packages is neither necessary nor helpful.

> I rebooted, but X won't work.
> Near the end of Xorg.0.log has the following message:
>
> (EE) NV: Kernel modesetting driver in use, refusing to load
>
> Indeed, nouveau.ko and its dependent drivers (eg., drm_kms_heler.ko)
> are still getting loaded.
>
> What do I need to do to go back to using nv?

Blacklist the nouveau module or boot with nouveau.modeset=0.  See
http://wiki.debian.org/KernelModesetting.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vcyx14jo@turtle.gmx.de



Re: cannot go back from nouveau to nv

2011-04-02 Thread Erwan David
On Sat, Apr 02, 2011 at 09:34:10AM CEST, Kent West  said:
> On 4/2/11 1:49 AM, Fumiaki Okushi wrote:
> > I rebooted, but X won't work.
> > Near the end of Xorg.0.log has the following message:
> >
> > (EE) NV: Kernel modesetting driver in use, refusing to load
> >
> > Indeed, nouveau.ko and its dependent drivers (eg., drm_kms_heler.ko)
> > are still getting loaded.
> >
> > What do I need to do to go back to using nv?
> >
> 
> I'm not sure, but I think you'll need to blacklist the nouveau kernel
> module (as opposed to the nouveau X driver). Add a line to the end of
> /etc/modprobe.d/blacklist:
> 
> blacklist nouveau
> 
> and reboot. See if that works for you.

Better also check wether nouveau did blacklist the nv kernel module...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110402074337.ga23...@rail.eu.org



Re: cannot go back from nouveau to nv

2011-04-02 Thread Kent West
On 4/2/11 1:49 AM, Fumiaki Okushi wrote:
> I rebooted, but X won't work.
> Near the end of Xorg.0.log has the following message:
>
> (EE) NV: Kernel modesetting driver in use, refusing to load
>
> Indeed, nouveau.ko and its dependent drivers (eg., drm_kms_heler.ko)
> are still getting loaded.
>
> What do I need to do to go back to using nv?
>

I'm not sure, but I think you'll need to blacklist the nouveau kernel
module (as opposed to the nouveau X driver). Add a line to the end of
/etc/modprobe.d/blacklist:

blacklist nouveau

and reboot. See if that works for you.

-- 
Kent


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d96d172.1080...@acu.edu



cannot go back from nouveau to nv

2011-04-01 Thread Fumiaki Okushi

Hi,

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


I purged the two packages I had to install to attempt nouveau:
- xserver-xorg-video-nouveau
- libdrm-nouveau1
and restored /etc/X11/xorg.conf to the one I was using with nv.

(Special note: xorg.conf is needed on my PC because the driver cannot 
obtain the correct info to auto configure.)


I rebooted, but X won't work.
Near the end of Xorg.0.log has the following message:

(EE) NV: Kernel modesetting driver in use, refusing to load

Indeed, nouveau.ko and its dependent drivers (eg., drm_kms_heler.ko) are 
still getting loaded.


What do I need to do to go back to using nv?

Thanks,
Fumi Okushi



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d96c703.1010...@okushi.com