Fedora Linux Support Community & Resources Center
  #1  
Old 20th July 2011, 09:44 AM
bjz Offline
Registered User
 
Join Date: May 2009
Posts: 17
linuxchrome
[Fedora 15] Black windows with nvidia drivers (GF6200 TurboCache)

Hello !

I decided recently to try a new Fedora (15) on my desktop computer with old GF6200 TurboCache (64MB physical memory). Installation was pretty easy, however the screen was full of artifacts on default driver (Nouveau). Therefore installed nvidia drivers following this guide http://forums.fedoraforum.org/showthread.php?t=204752. It seemed to be working... until I opened more than 5/6 windows - every new window was appearing black. Resizing the window helps but it looks like the total display area is limited (memory problem?) - I can downsize the visible windows to give more resources for the new one. Played with nvidia-config for some time without any luck. Google showed me I was not alone with this problem - https://bbs.archlinux.org/viewtopic.php?id=119478. However no solution is apparently available yet. Let's start with some debug information:

Code:
# rpm -qa *\nvidia\*  *\kernel\*|sort;uname -r;lsmod |grep -e nvidia -e nouveau;cat /etc/X11/xorg.conf

abrt-addon-kerneloops-2.0.3-1.fc15.i686
akmod-nvidia-275.09.07-1.fc15.i686
kernel-2.6.38.6-26.rc1.fc15.i686
kernel-2.6.38.8-35.fc15.i686
kernel-devel-2.6.38.8-35.fc15.i686
kernel-headers-2.6.38.8-35.fc15.i686
kmod-nvidia-2.6.38.8-35.fc15.i686-275.09.07-1.fc15.2.i686
nvidia-settings-1.0-10.fc15.i686
nvidia-xconfig-1.0-8.fc15.i686
xorg-x11-drv-nvidia-275.09.07-1.fc15.i686
xorg-x11-drv-nvidia-libs-275.09.07-1.fc15.i686

2.6.38.8-35.fc15.i686

nvidia              10659833  40 
i2c_core               21384  2 nvidia,i2c_i801
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 270.41.06  (mockbuild@hephaestus.wilsonet.com)  Sun May  1 15:55:22 EDT 2011

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 270.41.06  (mockbuild@)  Sun May  1 14:42:33 EDT 2011

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "pc105"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HIQ L70N"
    HorizSync       31.5 - 80.0
    VertRefresh     60.0 - 75.0
    Option         "DPMS"
EndSection



Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200 TurboCache(TM)"
EndSection

Section "Device"
    Identifier		"Device0"
    Driver		"nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Videocard0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1400x1050 +0+0; nvidia-auto-select +0+0; 1280x1024 +0+0"
    SubSection     "Display"
        Depth       24        
    EndSubSection
EndSection
Discovered this at startup:

Code:
Jul 19 09:31:41 pc-linux systemd[1]: akmods.service: control process exited, code=exited status=128
Jul 19 09:31:41 pc-linux systemd[1]: Unit akmods.service entered failed state.
systemctl confirms the problem:

Code:
#  systemctl list-units --failed
UNIT                      LOAD   ACTIVE SUB    JOB DESCRIPTION
akmods.service            loaded failed failed     LSB: Builds and install new k

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
JOB    = Pending job for the unit.

1 units listed. Pass --all to see inactive units, too.

#  systemctl status akmods.service
akmods.service - LSB: Builds and install new kmods from akmod packages
	  Loaded: loaded (/etc/rc.d/init.d/akmods)
	  Active: failed since Tue, 19 Jul 2011 09:31:41 +0200; 31min ago
	 Process: 756 ExecStart=/etc/rc.d/init.d/akmods start (code=exited, status=128)
	  CGroup: name=systemd:/system/akmods.service
here however they say its normal:
http://fedoraforum.org/forum/showthread.php?t=266780

Since "black windows issue" depends on number of open windows - there could be a problem with video memory sharing (since physical memory on my card is only 64MB multiplied by 4 by magic word "TurboCache"). This should be however handled by the driver (correct?). Anyway it was worth to try:

/proc/sys/kernel/shmmax

showed
33554432

which is 32MB only

so increased to 512 MB permanently by adding to /etc/sysctl.conf these two lines:
kernel.shmmax=536870912
kernel.shmall=536870912

Also added to xorg.conf:

Code:
Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VideoRam		524288
EndSection
Did it although nvidia states "VideoRam" is obsolete. Anyway nothing changed. Before and after Xorg.log shows this:

Code:
# more /var/log/Xorg.0.log | egrep Mem
[   216.478] (--) PCI:*(0:4:0:0) 10de:0161:107d:203c rev 161, Mem @ 0xcf000000/16777216, 0xd0000000/268435456, 0xce000000/16777216, BIOS @ 0x????????/131072
[   217.083] (--) NVIDIA(0): Memory: 262144 kBytes
"BIOS @ 0x????????" looks interesting so tried to change the video ram sharing options in BIOS but...it was impossible. Anyway Windows system handles the card pretty well so I believe the problem lies on driver side which is buggy for linux. This issue doesn't appear in fallback mode by the way.

Finally the question - does onyone of you (who experienced the similar problem) has some workaround for this issue?

Last edited by bjz; 20th July 2011 at 03:51 PM.
Reply With Quote
  #2  
Old 20th July 2011, 11:33 AM
inigo Offline
Registered User
 
Join Date: Jun 2011
Posts: 10
linuxfirefox
Re: [Fedora 15] Black windows with nvidia drivers (GF6200 TurboCache)

Take a look at:
http://www.nvnews.net/vbulletin/showthread.php?t=162959

In post #10 I included the way I finally found to solve the issue.

Hope it helps,
Iņigo Serna
Reply With Quote
  #3  
Old 20th July 2011, 12:25 PM
bjz Offline
Registered User
 
Join Date: May 2009
Posts: 17
linuxchrome
Re: [Fedora 15] Black windows with nvidia drivers (GF6200 TurboCache)

Quote:
Originally Posted by inigo View Post
Take a look at:
http://www.nvnews.net/vbulletin/showthread.php?t=162959

In post #10 I included the way I finally found to solve the issue.

Hope it helps,
Iņigo Serna
Thanks, however as I mentioned, I don't have this option in my BIOS settings and therefore I tried with system settings (shmmax and shmmall) but without success.
Reply With Quote
  #4  
Old 20th July 2011, 01:30 PM
inigo Offline
Registered User
 
Join Date: Jun 2011
Posts: 10
linuxfirefox
Re: [Fedora 15] Black windows with nvidia drivers (GF6200 TurboCache)

Quote:
Originally Posted by bjz View Post
Thanks, however as I mentioned, I don't have this option in my BIOS settings and therefore I tried with system settings (shmmax and shmmall) but without success.
sorry, I didn't read your post completely.

I've just seen that nvidia has released new version of the drivers in past days. Try them.

Btw, did you try open source nouveau driver?

Iņigo
Reply With Quote
  #5  
Old 20th July 2011, 02:55 PM
bjz Offline
Registered User
 
Join Date: May 2009
Posts: 17
linuxchrome
Re: [Fedora 15] Black windows with nvidia drivers (GF6200 TurboCache)

Quote:
Originally Posted by inigo View Post
sorry, I didn't read your post completely.

I've just seen that nvidia has released new version of the drivers in past days. Try them.

Btw, did you try open source nouveau driver?

Iņigo
Nouveau driver was producing strange artifacts. As for new drivers I would rather prefer to wait until they appear in Fedoras repositories.

Changes in 275.19 (http://www.nvidia.com/object/linux-d...-driver.html):

Quote:
Added support for the following GPU:
GeForce GT 540M

Fixed memory error and abort reported by glibc when running the application FieldView from Intelligent Light.
Fixed an OpenGL driver bug that caused an application crash when running Altair HyperMesh.
Fixed a performance problem when switching between stereo and monoscopic rendering in the application Smoke.
Fixed poor X driver handling of pixmap out of memory scenarios.
Fixed an interrupt handling deficiency that could lead to performance and stability problems when many NVIDIA GPUs shared few IRQs.
Fixed bugs in the VDPAU presentation queue that could cause GPU errors and hangs when destroying a presentation queue. This happens when exiting applications, and also when toggling to and from full-screen mode in Adobe Flash.
Nothing related to my problem. Apparently have to wait for the next version.
Reply With Quote
  #6  
Old 20th July 2011, 03:06 PM
inigo Offline
Registered User
 
Join Date: Jun 2011
Posts: 10
linuxfirefox
Re: [Fedora 15] Black windows with nvidia drivers (GF6200 TurboCache)

I meant:

- Fixed a bug that caused desktop corruption in GNOME 3 after a VT-switch or suspend/resume cycle.

in 275.0907.

Anyway, your problem looks the same that the one I had, so try the nvidia forum thread I posted, where an nvidia engineer accepted the bug (post #11).

Iņigo
Reply With Quote
  #7  
Old 20th July 2011, 03:26 PM
bjz Offline
Registered User
 
Join Date: May 2009
Posts: 17
linuxchrome
Re: [Fedora 15] Black windows with nvidia drivers (GF6200 TurboCache)

Quote:
Originally Posted by inigo View Post
I meant:

- Fixed a bug that caused desktop corruption in GNOME 3 after a VT-switch or suspend/resume cycle.

in 275.0907.
This is the one I have:

xorg-x11-drv-nvidia-275.09.07-1.fc15.i686

Quote:
Originally Posted by inigo View Post
Anyway, your problem looks the same that the one I had, so try the nvidia forum thread I posted, where an nvidia engineer accepted the bug (post #11).

Iņigo
Yes, I am monitoring this thread.
Reply With Quote
  #8  
Old 22nd September 2011, 02:50 PM
st2000 Offline
Registered User
 
Join Date: Jun 2011
Posts: 6
linuxfirefox
Re: [Fedora 15] Black windows with nvidia drivers (GF6200 TurboCache)

Quote:
Originally Posted by inigo View Post
Take a look at:
http://www.nvnews.net/vbulletin/showthread.php?t=162959

In post #10 I included the way I finally found to solve the issue.

Hope it helps,
Iņigo Serna
Just installed Fedora 15 and was just about to leave Fedora for Ubuntu for-ev-er.

Had two problems: (1) gnome desk top was at 99% -and- (2) had the black window problem as described here. This on a newly built machine created just because jumping from Fedora 10 to Fedora 15 made my old machine run unbarably slow.

I read the thread the above quoted post points to and it fixed it. Spcifically, my setup is using a built in Nvidia 7xxx chip set. The BIOS was set to AUTOMATIC w.r.t. video memory size. I changed it to manual and selected the largest video memory allocation (I think it was 256MB). I rebooted and both of the above problems are gone. Guessing, the nvidia drivers and this AUTO BIOS thing are probably not talking to each other. Still, a quick check by the GNOME desk top would have been all it takes to stear clear of such a memory resource problem.

-thanks people for taking your time to find a solution. And good luck to the OP, I hope you find something that will work for you as well.
Reply With Quote
Reply

Tags
black, drivers, fedora, gf6200, nvidia, turbocache, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen goes black when using Livna Nvidia drivers in 1280x1024 Kragnerac Hardware & Laptops 1 8th October 2008 06:22 PM
GF6200 CRT+TV configuration not supported by GPU sl0th Hardware & Laptops 1 21st October 2007 07:28 PM
Low FPS in glxgears with GF6200 elgreco Using Fedora 4 3rd September 2006 01:16 AM
NVIDIA windows drivers far better than linux ones ? trueblue Using Fedora 13 17th March 2006 06:14 PM
black screen/ X windows crashing nvidia 8178 drivers, ptrbee Hardware & Laptops 0 26th January 2006 12:52 PM


Current GMT-time: 22:43 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletinŽ Copyright Š2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat