LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-18-2007, 02:45 AM   #1
treth
LQ Newbie
 
Registered: Mar 2003
Distribution: Gentoo
Posts: 14

Rep: Reputation: 0
Exclamation nVidia -- STRANGE garbled screen error


So, get this, guys. When I unplug the power cable, the screen goes crazy. The only thing semi-consistent is the mouse pointer, everything else looks almost like line noise is being piped into the screen buffer. More appropriately, I suppose, it looks like the current windows are being put into a blender--I don't see a spectrum of colors, I see a mutated version of my current windows.

Now, here's the best part. Plug the power cable back in? And I'm golden. The moment the blue light indicating power comes up, I'm all good, windows and screens go back to normal. The problem is infinitely replicable and works no matter how many times I do it, no matter how long I leave the machine on battery before I bring it back.

The severity of the problem seems to depend on a variety of factors. Right now, with X freshly restarted and no compositing window manager, I just see some white lines dancing around the screen in a few places, all horizontal. I can't give specific details about what makes the problem worse or better because I need time to test them. If they'll be helpful, let me know.

My kernel is fed the 'noapic' parameter, because the HP dv6000 has a flawed APIC and without this the OS will not boot. I'm using Ubuntu 7.04 Beta, with kernel build 2.6.20-15-generic, in 64 bit. I am using the nvidia-glx driver package from the repositories. Here's some data . . .

Quote:
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express Bridge (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01)
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
07:05.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
07:05.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
Quote:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Thu Nov 9 17:55:59 PST 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"

# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "dvorak"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
My CPU Model Name: AMD Turion(tm) 64 X2 Mobile Technology TL-50

I sincerely apologize for any of this information not being relevant, but I honestly don't understand this problem in any capacity, so I don't know what 'relevance' means at this point. Any ideas, anyone? I'm listening for any suggestions . . .

~Dakota
 
Old 04-18-2007, 11:03 AM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
I suppose from this that you have a laptop with a battery? Most desktops with which I am familiar don't have the display go crazy when you unplug the power cord; they go dead.

Most likely you have a battery problem; voltage is low. If not that, then you have some voltage regulation problem such that the voltage delivered to the system is below the regulation point.
 
Old 04-18-2007, 02:36 PM   #3
treth
LQ Newbie
 
Registered: Mar 2003
Distribution: Gentoo
Posts: 14

Original Poster
Rep: Reputation: 0
Post Battery Concerns

I'm certain that the voltage levels are perfectly fine, because this laptop is a few days old and the battery was at a full charge when I tested this. Incidentally, I'm on it with only battery power right now, because I resumed from a hibernate without the power cable in and it's working fine. Just now, I plugged in the power cable, and nothing happened, then unplugged it, and the screen garbling began again.

It really seems like I'm the first person to ever have this problem, which is very odd . . .
 
Old 06-01-2007, 08:04 PM   #4
Gflopper
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by treth
I'm certain that the voltage levels are perfectly fine, because this laptop is a few days old and the battery was at a full charge when I tested this. Incidentally, I'm on it with only battery power right now, because I resumed from a hibernate without the power cable in and it's working fine. Just now, I plugged in the power cable, and nothing happened, then unplugged it, and the screen garbling began again.

It really seems like I'm the first person to ever have this problem, which is very odd . . .
You may be the first, but not the only one to have this problem. I have a
dv6000 and could not get hibernation to work at all until I loaded kubuntu 7.04
two days ago. I have tried various sequences of power to battery and battery
to power transitions under various sequences of complete shutdown vs
hibernation. My summary, as well as I can put it, is that after a complete
shutdown I can boot on battery or adapter and swap between them with no problem
until I hibernate. Coming out of hibernation on battery or adapter makes no
difference: the screen always looks fine, but the problem is set up and waiting
to happen when the adapter is unplugged. Only the transition from adapter to
battery while the machine is running is the last straw, and on the adapter the
screen is always clear. Once a hibernation has been done, the only way to get
back to what it should do is a complete shutdown. I can hibernate, unplug the
adapter, and awaken from hibernate just fine. I can then plug in the adapter
just fine, but unplugging while on shows the problem is still there. I have
even tried starting hibernation while on battery and an unreadable screen by
CTRL-ALT-DEL then ALT-H. It hibernates, it comes out of hibernation fine, but
the problem still happens on the unplug. I also set the power configuration to
hibernate when the screen closes. It's the same hibernation either way. As
you have said, is quite deterministic. I don't know what causes it, but
obviously it was not anticipated by those who designed the hardware and wrote
the drivers. All I can say is that if I want to go from the adapter to the
battery I have to pay a time penalty while the machine goes through a full
hibernate-awake cycle. But when I do transition to battery it is usually going
to be when I want to move the notebook to a different location, and I would
have to admit I should not be doing that with the machine running anyway.
Still, it would be nice to have things working as they should.
 
  


Reply

Tags
laptop, nvidia, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Garbled Screen on Installation Hitendra Jain Fedora - Installation 1 05-15-2006 04:09 PM
Garbled Screen deena102 Mandriva 1 03-12-2006 09:16 AM
nvidia display driver on 2.6 mouse sluggish, screen paint garbled jankom Linux - Hardware 5 03-12-2005 12:39 PM
laptop screen garbled ..please help quo_vadis Linux - Hardware 3 06-03-2004 11:25 PM
nVidia Geforce FX G0 5600 garbled screen 1kyle Linux - Hardware 5 03-17-2004 05:37 PM


All times are GMT -5. The time now is 03:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration