Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Advertisement

Reply
 
Thread Tools
Old 10-16-08, 11:31 AM   #1
taltalon
Registered User
 
Join Date: Oct 2008
Posts: 2
Default Workaround to for 177.80 Gnome Terminal Corruption.Tested!

Guys,
nvidia 177.80 on ubuntu 8.04 works very nice, the problem for me on my Dell D630 with Quadron NVS 135 is that gnome-terminal sessions are corrupted - missing lines, or you need to do ctrl-L to redraw the screen.

I found some clues in this forums that this is related to the powermizer throtteling down to the lowest performance settings and its seems correct. After much research i found away to force the nvidia driver to LOCK to the full performance mode of the GPU and not to throttle back.

Some Myths:
any changes you made in xorg.conf regarding RegistryDwords and the PowerMizer settings SIMPLY DO NOT WORK.

How to REALLY make it work:
To make it work we must tell the nvidia kernel module to set some RegistryDwords. For some reasone this settings is being ignored from the xorg.conf and the driver.

on ubutu: go to /etc/modprobe.d
1. backup nvidia-kernel-nkc to somewhere else - not the same directory.
2. edit the file and add another line at the end:

options nvidia NVreg_Mobile=1 NVreg_RegistryDwords="PerfLevelSrc=0x2222"

i use the the original nvidia driver from nvidia site. thus the kernel module name is nvidia , not nvidia_new or nv or what ever. just nvidia.

Note the NVreg_Mobile=1 - without this settings the rest of the line will *NOT* work. this tells nvidia module that the device to be used is a laptop.

PerfLevelSrc tells the nvidia drive to lock its powermizer to the top performance.
for me it locks the GPU clock to 400Mhz and memory to 594mhz.

Save. Reboot. Enjoy.
You can double check in Nvidia X Server Settings GUI that it stays locked.

Have Fun,
Taltalon.
taltalon is offline   Reply With Quote
Old 10-16-08, 11:53 AM   #2
jcornwall
Registered User
 
Join Date: Aug 2007
Location: London, UK
Posts: 102
Send a message via MSN to jcornwall
Default Re: Workaround to for 177.80 Gnome Terminal Corruption.Tested!

http://www.nvnews.net/vbulletin/show...hp?t=120829#13

A more reliable, albeit incomplete fix. Tweaking the GPU clock just alters the chance of this race condition happening. Aaron's Compiz patch still has a race condition but eliminated the problem on my system.
jcornwall is offline   Reply With Quote


Old 10-16-08, 12:18 PM   #3
taltalon
Registered User
 
Join Date: Oct 2008
Posts: 2
Default Re: Workaround to for 177.80 Gnome Terminal Corruption.Tested!

Intersting,
but since i "disabled"/lock powermizer - i never get any corruption in any terminal app.
works flawlessly.

further more you get by far better performance from compiz. perviously when i rotated the desktop in 3d to the next virtual screen the rotation was kinda slow but then it picks up speed. i guess this is because it takes time to the powermizer to understand i want full performance.

which wrapper file am i suppose to edit as mention in the link you send?
thanks
taltalon is offline   Reply With Quote
Old 10-16-08, 03:04 PM   #4
Kirurgs
Registered User
 
Join Date: Jul 2007
Posts: 164
Default Re: Workaround to for 177.80 Gnome Terminal Corruption.Tested!

Actually that Mobile thing is not required! I have tested this myself and it works flawlessy! So I don't really know what this mobile thing actually does!
However, I end up using lighter gtk theme and I think it's useable and since PMiz is not at full throttle all the time - energy efficient too

What is interesting however, is that using this trick makes my GPU to heat up to 55-57 degrees, without that it's 53-55, which is not that big difference at all...

About the terminal thing, I have blank terminal only when I maximize it and unmaximize - blank, then enter at terminal window and it gets displayed again...
No that big problem, really...
__________________
** Laptop T61: C2D 2.2Ghz, 2Gb RAM, Quadro NVS140M, ArchLinux i686, Gnome, custom 2.6.30.2, 185.18.10...
** Homebrew desktop 1: AMD Athlon 2500XP (Barton), 1.5Gb RAM, GF6600GT 128Mb AGP 4x, ArchLinux i686, Gnome, custom 2.6.29.1, 185.18.08... (6600 is fixed, soldered new capacitors instead of broken ones )
** Homebrew desktop 2: AMD Phenom X4 9950 Black Edition, 4Gb RAM, integrated Radeon HD3300 + discrete Radeon 4850 512M, Windows 7 Ultimate (for games), ArchLinux i686, Gnome, 2.6.29, catalyst 9.4... (this now just rocks in lunix, really )
Kirurgs is offline   Reply With Quote
Old 10-16-08, 04:55 PM   #5
jcornwall
Registered User
 
Join Date: Aug 2007
Location: London, UK
Posts: 102
Send a message via MSN to jcornwall
Default Re: Workaround to for 177.80 Gnome Terminal Corruption.Tested!

Quote:
Originally Posted by taltalon View Post
which wrapper file am i suppose to edit as mention in the link you send?
thanks
You just need to add Aaron's repository to /etc/apt/sources.list, then do a software update to receive patched Compiz packages.

deb http://ppa.launchpad.net/aplattner/ubuntu hardy main
deb-src http://ppa.launchpad.net/aplattner/ubuntu hardy main

(You can also do this in the Synaptic Package Manager GUI.)

I think you'll find it fixes the terminal corruption bugs without forcing the card to maximum power. Accepted that Compiz performance will still be poor at low performance levels, though.
jcornwall is offline   Reply With Quote
Reply


Most Popular NVIDIA Based Graphics Cards


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:04 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
nV News - Copyright ©1998-2010. All rights reserved.