Bug 669783

Summary: nouveau [GeForce 7025/nForce 630a/GeForce 6150] Hard distortion due to broken acceleration
Product: [openSUSE] openSUSE 11.4 Reporter: Forgotten User l_fbkbJz_S <forgotten_l_fbkbJz_S>
Component: KernelAssignee: Egbert Eich <eich>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: dmueller, heilandrew, jeffm, mail_to_wrt, psikodad
Version: Milestone 6 of 6   
Target Milestone: ---   
Hardware: i686   
OS: SUSE Other   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=665904
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Xorg.0.log
Xorg.0.log (RC2)
Screenshot (with nouveau on OpenSUSE RC2)
Xorg.0.log (after editing 50-device.conf)
final Xorg.0.log

Description Forgotten User l_fbkbJz_S 2011-02-05 18:25:40 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:2.0b12pre) Gecko/20110205 Firefox/4.0b12pre

With current xorg-x11-driver-video-nouveau-.. in M6 I get hard distortion video,
but with xorg-x11-driver-video-nouveau-0.0.16_20101216_1fc564f-20.2.i586 all Ok.

Reproducible: Always

Steps to Reproduce:
1. Launch LiveCD
2. Switch in console
3. Wait to login GDM



Nvidia GeForce 7025 / nForce 630a (internal)
Comment 1 Stefan Dirsch 2011-02-05 20:28:17 UTC
(In reply to comment #1)
> With current xorg-x11-driver-video-nouveau-.. in M6 I get hard distortion
> video,
> but with xorg-x11-driver-video-nouveau-0.0.16_20101216_1fc564f-20.2.i586 all
> Ok.

Seems to be related to this change

-------------------------------------------------------------------
Tue Jan 25 14:50:25 CET 2011 - dmueller@suse.de

- disable udev support as it causes screens to blank every 10 seconds
- update to slightly newer git for small bugfixes (no new features)
- remove nouveau-bgnr.patch which is already upstream
Comment 2 Stefan Dirsch 2011-02-05 20:57:06 UTC
This would need to be git bisected to find the regression ...
Comment 3 Forgotten User l_fbkbJz_S 2011-02-16 21:13:01 UTC
OpenSUSE 11.4 RC1:
when booting with the nomodeset parameter- no distortion.
Comment 4 Stefan Dirsch 2011-02-26 18:27:58 UTC
Well, nouveau requires KMS. Booting without KMS means nv driver.
Comment 5 Forgotten User l_fbkbJz_S 2011-02-28 21:30:20 UTC
Created attachment 416627 [details]
Xorg.0.log

Sorry. I did not notice:

cat /var/log/Xorg.0.log | grep -i nouveau
[    10.100] (==) Matched nouveau as autoconfigured driver 1
[    10.102] (II) LoadModule: "nouveau"
[    10.102] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    10.124] dlopen: /usr/lib/xorg/modules/drivers/nouveau_drv.so: undefined symbol: RegionEmptyData
[    10.124] (EE) Failed to load /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    10.124] (II) UnloadModule: "nouveau"
[    10.124] (EE) Failed to load module "nouveau" (loader failed, 7)

> rpm -qa | grep nouveau
xorg-x11-driver-video-nouveau-0.0.16_20101216_1fc564f-20.2.i586
Comment 6 Forgotten User l_fbkbJz_S 2011-02-28 22:29:01 UTC
Created attachment 416641 [details]
Xorg.0.log (RC2)

Xorg.0.log in OpenSUSE RC2
Comment 7 Stefan Dirsch 2011-02-28 23:10:58 UTC
(In reply to comment #6)
> Created an attachment (id=416641) [details]
> Xorg.0.log (RC2)

Nothing obvious.
Comment 8 Stefan Dirsch 2011-03-02 12:53:31 UTC
Ok. So this isn't a regression in nouveau driver. The previous nouveau driver didn't load at all, so Xorg fell back to nv driver. No need to bisect.
Comment 9 Forgotten User l_fbkbJz_S 2011-03-02 15:42:01 UTC
Yes, previous nouveau driver didn't load at all. Nouveau driver doesn't work with my video card.
Comment 10 Forgotten User l_fbkbJz_S 2011-03-02 15:49:44 UTC
Created attachment 417096 [details]
Screenshot (with nouveau on OpenSUSE RC2)
Comment 11 Stefan Dirsch 2011-03-03 11:35:29 UTC
Could you try with

  Option "NoAccel" "on"

in "Device" section of /etc/X11/xorg.conf.d/50-device.conf.
Comment 12 Forgotten User l_fbkbJz_S 2011-03-03 23:12:46 UTC
echo 'Option "NoAccel" "on"' >> /etc/X11/xorg.conf.d/50-device.conf
   (OR echo 'Option "NoAccel" "true"' >> /etc/X11/xorg.conf.d/50-device.conf)

X server doesn't start:

(EE) Problem parsing the config file
(EE) Error parsing the config file
Fatal server error:
   no screens found

After clearing /etc/X11/xorg.conf.d/50-device.conf X server start, distorsion.
Comment 13 Forgotten User l_fbkbJz_S 2011-03-03 23:19:22 UTC
Or it is necessary to add entirely:

Section "Device"
Option 
   "NoAccel" "on"

?
Comment 14 Forgotten User l_fbkbJz_S 2011-03-03 23:47:44 UTC
Created attachment 417483 [details]
Xorg.0.log (after editing 50-device.conf)

In var. 2 (Option "NoAccel" "on" in "Device" section of /etc/X11/xorg.conf.d/50-device.conf):

* No distortion
* Windows are moved very slowly, jerks
* At window relocation Glxgears stop
Comment 15 Stefan Dirsch 2011-03-04 00:08:11 UTC
Ok. So mode setting is ok, but acceleration is broken. To make performance bearable add also

 Option "ShadowFB" "on"

to "Device" section.
Comment 16 Forgotten User l_fbkbJz_S 2011-03-04 17:15:03 UTC
Created attachment 417623 [details]
final Xorg.0.log

All works correctly!

In the near future I will update main system (on HDD) and will continue testing
Comment 17 Dominik Platz 2011-03-04 19:02:07 UTC
I own a GeForce 7025 as well and can confirm the regression from 11.3 to 11.4 RC2 with the nouveau driver.

With both options on (Option "ShadowFB" and "NoAccel") the system is as fast as in 11.3 (feelings, no benchmark)
Comment 18 Stefan Dirsch 2011-03-05 17:49:50 UTC
(In reply to comment #17)
> I own a GeForce 7025 as well and can confirm the regression from 11.3 to 11.4
> RC2 with the nouveau driver.

This wasn't a regression in nouveau driver. See my comment #8. Likely you used
nv driver on openSUSE 11.3.
Comment 19 Dominik Platz 2011-03-05 18:24:29 UTC
According to sysinfo:/  and lsmod I'm using nouveau: 
(version 0.0.15_20100401_bfb95cc-1.10)

-----
Kernel:  Linux 2.6.34.7-0.7-default x86_64
  Aktueller Benutzer:  dom@alone
  Distribution:  openSUSE 11.3 (x86_64)
  KDE:  4.6.00 (4.6.0) "release 375"

Hersteller:  nVidia Corporation
  Modell:  C68 [GeForce 7025 / nForce 630a]
  2D-Treiber:  nouveau
  3D-Treiber:  nouveau Gallium (7.8.2)

------
alone:/home/dom # lsmod |grep nv
alone:/home/dom # lsmod |grep nouveau
nouveau               552096  2 
ttm                    64561  1 nouveau
drm_kms_helper         32944  1 nouveau
drm                   221516  4 nouveau,ttm,drm_kms_helper
i2c_algo_bit            6728  1 nouveau
button                  6925  1 nouveau
Comment 20 Stefan Dirsch 2011-03-18 11:19:45 UTC
Justas, could you give it another try with openSUSE 11.4 final? Testing with a LiveCD should be sufficient. Thanks.
Comment 21 Andrew Heil 2011-03-21 03:58:47 UTC
FYI, I have a system with a GeForce 6150 chipset (on the motherboard), and also have what the original poster calls "hard distortion" running the released 11.4 32-bit live CDs (both KDE and GNOME), using the nouveau driver. (Kernel version: 2.6.37.1-1.2-default)

The mouse is clearly visible but the display is completely garbled.

Your fix above, adding the 2 entries to /etc/X11/xorg.conf.d/50-device.conf, solves the problem.
Comment 22 Dominik Platz 2011-04-02 20:11:05 UTC
Same for GeForce 7025: distortion in 11.4 final (64-Bit KDE live USB)
Comment 23 Simon Schmeisser 2011-04-10 20:20:31 UTC
I have a GeForce 7025 as well: output looks as described above (checkerboard-distorsion, mouse-pointer is fine)


simon@sbox:~> /sbin/lspci | grep GeForce
00:12.0 VGA compatible controller: nVidia Corporation C68 [GeForce 7025 / nForce 630a] (rev a2)

simon@sbox:~> uname -a
Linux sbox 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

redhat/fedora has apparently the same bug (haven't tested yet): https://bugzilla.redhat.com/show_bug.cgi?id=665904

there is another workaround (especially for installing from cd):
append "nouveau.noaccel=1" to the boot line in grub
Comment 24 Dominik Platz 2011-04-22 17:58:53 UTC
I've updated the kernel to 2.6.38.3-21-desktop and the problem is solved. (GeForce 7025)

The kernel is from tumbleweed (http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/).
Comment 25 Stefan Dirsch 2011-04-26 11:49:27 UTC
Anyone else who can confirm this?
Comment 26 Simon Schmeisser 2011-04-29 15:11:40 UTC
I can confirm that the problem is fixed with latest thumbleweed kernel and also that it is still ongoing with the latest 11.4 kernel


simon@sbox:~> rpm -qa | grep kernel
kernel-desktop-2.6.37.1-1.2.2.x86_64
kernel-desktop-2.6.37.6-0.5.1.x86_64
kernel-desktop-2.6.38.4-22.1.x86_64
kernel-firmware-20101214-3.1.noarch

kernel-desktop-2.6.37.6-0.5.1.x86_64:
checkerboard as described

kernel-desktop-2.6.38.4-22.1.x86_64:
no distorsions, can use opengl or xrender as backend for kwin (effects enabled), extreme-tuxracer runs (mesa software opengl, 1.2 fps :D ), phonon-xine doesn't work, mplayer does
Comment 27 Stefan Dirsch 2011-04-29 15:18:32 UTC
Ok. So it appears to be a KMS issue. Reassigning.
Comment 28 Jeff Mahoney 2012-08-02 15:55:43 UTC
With the coming release of openSUSE 12.2, openSUSE kernel developers are focusing their efforts there. Reports against openSUSE 11.4 and prior will not get the attention needed to resolve them before openSUSE 12.2 is release and openSUSE 11.4 becomes unmaintained.

Please re-test with openSUSE 12.1 or openSUSE RC2+ and re-open with an updated Product if you still encounter your issue.

We apologize for this issue not getting the attention it deserves but we are focusing our resources in the area where they will have the most impact for our users.  We're working hard to make openSUSE 12.2 the best openSUSE release yet!