#686611 xserver-xorg-video-nouveau: Distorted graphics with GeForce 4200Go (NV28)

Package:
xserver-xorg-video-nouveau
Source:
xserver-xorg-video-nouveau
Description:
X.Org X server -- Nouveau display driver
Submitter:
"r.ductor"
Date:
2015-06-27 13:51:03 UTC
Severity:
important
#686611#5
Date:
2012-09-03 19:32:00 UTC
From:
To:
Dear Maintainer,

in a newly installed wheezy (no non-free nvidia drivers around) nouveau gives distorted graphics with a Geforce 4200Go (Dell inspiron 8500), see png attached.
The mouse pointer is distorted and the desktop difficultly usable, so that, in absence of suggestions, I will switch to vesa drivers.

Thanks

The attached Xorg.log corresponds to the config file

#cat /etc/X11/xorg.conf.d/98-me
Section "Device"
Identifier "Device0"
Driver "nouveau"
EndSection

and to

# lsmod
Module                  Size  Used by
ppdev                  12651  0
lp                     12797  0
rfcomm                 28590  0
bnep                   17288  2
bluetooth             103750  8 bnep,rfcomm
rfkill                 18516  2 bluetooth
binfmt_misc            12813  1
uinput                 12991  1
nfsd                  173714  2
nfs                   265779  0
nfs_acl                12463  2 nfs,nfsd
auth_rpcgss            32143  2 nfs,nfsd
fscache                31978  1 nfs
lockd                  57255  2 nfs,nfsd
sunrpc                143853  6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
loop                   17810  0
firewire_sbp2          17664  0
joydev                 17010  0
snd_intel8x0m          17503  0
snd_intel8x0           22372  2
snd_ac97_codec         84201  2 snd_intel8x0,snd_intel8x0m
snd_pcm                53390  3 snd_ac97_codec,snd_intel8x0,snd_intel8x0m
snd_page_alloc         12867  3 snd_pcm,snd_intel8x0,snd_intel8x0m
snd_seq                39487  0
ch7006                 21549  1
snd_seq_device         13016  1 snd_seq
snd_timer              22356  2 snd_seq,snd_pcm
snd                    42691  11 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_ac97_codec,snd_intel8x0,snd_intel8x0m
nouveau               493727  2
soundcore              12921  1 snd
mxm_wmi                12433  1 nouveau
wmi                    13051  1 mxm_wmi
ttm                    42997  1 nouveau
drm_kms_helper         22699  2 nouveau,ch7006
drm                   134178  5 drm_kms_helper,ttm,nouveau,ch7006
i2c_algo_bit           12713  1 nouveau
i2c_core               19116  5 i2c_algo_bit,drm,drm_kms_helper,nouveau,ch7006
psmouse                54927  0
iTCO_wdt               16945  0
iTCO_vendor_support    12632  1 iTCO_wdt
ac97_bus               12462  1 snd_ac97_codec
yenta_socket           22402  0
rng_core               12580  0
pcmcia_rsrc            17380  1 yenta_socket
dcdbas                 13080  0
serio_raw              12803  0
pcspkr                 12515  0
evdev                  17225  15
acpi_cpufreq           12807  0
video                  17412  1 nouveau
mperf                  12421  1 acpi_cpufreq
parport_pc             22036  1
parport                31254  3 parport_pc,lp,ppdev
ac                     12552  0
battery                12957  0
processor              27565  2 acpi_cpufreq
button                 12817  1 nouveau
shpchp                 26717  0
power_supply           13283  2 battery,ac
ext4                  302665  3
crc16                  12327  2 ext4,bluetooth
jbd2                   52246  1 ext4
mbcache                12897  1 ext4
usbhid                 31523  0
hid                    60120  1 usbhid
sg                     21476  0
sr_mod                 17468  0
sd_mod                 35425  5
crc_t10dif             12332  1 sd_mod
cdrom                  34813  1 sr_mod
ata_generic            12439  0
b44                    22955  0
ssb                    43266  1 b44
firewire_ohci          26784  0
mmc_core               61993  1 ssb
mii                    12595  1 b44
ata_piix               21175  4
libata                124981  2 ata_piix,ata_generic
firewire_core          38719  2 firewire_ohci,firewire_sbp2
crc_itu_t              12331  1 firewire_core
pcmcia                 32012  1 ssb
pcmcia_core            17942  3 pcmcia,pcmcia_rsrc,yenta_socket
thermal                13103  0
thermal_sys            17752  3 thermal,processor,video
scsi_mod              135124  5 libata,sd_mod,sr_mod,sg,firewire_sbp2
uhci_hcd               22337  0
ehci_hcd               35509  0
usbcore               104352  4 ehci_hcd,uhci_hcd,usbhid
usb_common             12338  1 usbcore
#


PS
I tried also

/etc/modprobe.d/nouveau.conf
options nouveau noaccel=1
# even worse


/etc/modprobe.d/nouveau.conf
options nouveau nofbaccel=1
# even worse

#686611#10
Date:
2012-09-03 20:44:54 UTC
From:
To:
Seems to be the same problem as #595447, see also
https://bugs.freedesktop.org/show_bug.cgi?id=50403.

Try disabling acceleration (e.g. boot with nouveau.noaccel=1), it will
be very slow but should at least support the 1900x1200 resolution on the
external display, something you probably won't get with the vesa driver.

Cheers,
       Sven

#686611#15
Date:
2012-09-04 07:22:18 UTC
From:
To:
Dear Sven

Yes, they seem to describe the same thing, maybe you should merge 595477.

I tried also

/etc/modprobe.d/nouveau.conf
options nouveau noaccel=1

and then

/etc/modprobe.d/nouveau.conf
options nouveau nofbaccel=1

but the results are worse in both cases: no text is readable, even in tty (and I had to blindly write to get back to original status). I guess that "boot with nouveau.noaccel=1" is equivalent to what I've done. Thanks anyway.

Regards
ric

#686611#20
Date:
2012-09-05 19:33:00 UTC
From:
To:
Control: merge 595447 -1

Doing so now.

Could you please try a 3.5 kernel from experimental, and report a new
bug upstream if that problem persists?  See
http://nouveau.freedesktop.org/wiki/Bugs for instructions.

Besides booting with nouveau.noaccel=1, you could also try to use the
"NoAccel" option in xorg.conf (see nouveau(4)), or use the new
xserver-xorg-video-modesetting driver.

Cheers,
       Sven

#686611#29
Date:
2012-09-09 19:53:23 UTC
From:
To:
Thanks for the suggestions.

Here some results of my new trials
1) boot with nouveau.noaccel=1 in kernel line
   TTY and X badly screwed up

2) boot with nouveau.nofbaccel=1 in kernel line
   TTY badly screwed up, X distorted as in the plain case

3) boot with Option "NoAccel" "On"
X distorted

4) Booted with experimenta kernel
linux-image-3.5-trunk-686-pae
Version: 3.5.2-1~experimental.1
black TTY and black X so I cannot document this.

I've reported the bug upstream
https://bugs.freedesktop.org/show_bug.cgi?id=54700
(but I reported the bug with the old kernel, the new one breaks the
system badly)


As for the driver modesetting, I use
Package: xserver-xorg-video-modesetting
State: installed
Automatically installed: no
Version: 0.3.0-1
# cat /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
# cat /etc/X11/xorg.conf.d/98-me
Section "Device"
Identifier "Device0"
Driver "modesetting"
BusID "pci:0000:01:00.0"
EndSection

but nouveau is still loaded. (I attach dmsg and Xorg.log if somebody
can understand why I cannot start modesetting, maybe the pci data I
used are wrong ... I'm really incompetent!)

Cheers
ric

#686611#34
Date:
2012-09-10 19:21:51 UTC
From:
To:
I'm afraid upstream won't be interested in that then, since they don't
support the 3.2 kernel.

You should not blacklist nouveau, the modesetting driver actually needs
that kernel module to be loaded.

There's no need to specify the BusID, but your file is ignored entirely
because its name does not end in ".conf".  See xorg.conf.d(5).

Cheers,
       Sven

#686611#39
Date:
2012-09-12 09:59:22 UTC
From:
To:
Dear Sven

With a /etc/X11/xorg.conf.d/modesetting.conf and NO "blacklist nouveau", modesetting starts (only with BusID) but with fatal problems. Not to pollute this bug I've opened a new bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687372

Thanks and cheers
ric

#686611#46
Date:
2015-06-27 12:42:45 UTC
From:
To:
The xdm login is distorted, most stuff in my X11/icewm session, too,
but some things can be seen/ read clearly, like iceweasel or icewm menus.

Seems fonts can influence the display, yet it's still generally
broken... I need my xterm with font "5x7" readable! 8-)

When booting, the dmesg line suggested to report, so there I am.

[   13.080753] nouveau E[     DRM] Unknown LVDS configuration bits, please report

but see also full reports below, especially the strange stuff in Xorg.0.log.

#686611#51
Date:
2015-06-27 13:38:46 UTC
From:
To:
=- To Debian Bug Tracking System wrote on Sat 27.Jun'15 at 14:42:45 +0200 -=

Ooops, sorry, I used "reportbug", didn't notice #595477, and it
didn't mention #686611 was merged with it.

Shall I re-report to #595477?

Rado