strange thing after using shasum/md5sum

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Post Reply
Ron.W
Simple Hen
Posts: 89
Joined: Fri Dec 08, 2006 20:11

strange thing after using shasum/md5sum

Post by Ron.W » Thu Mar 06, 2008 3:08

hello people,

I do need some advice again. I have here a 3.4f with nvidia drivers installed, working really great.
But I just had to learn: Everytime when creating checksums for large files (600...700MB) using shasum or md5sum within a console window (with user priveleges) all videoplayers installed in sabayon don't show any picture anymore, but green stripes, when playing video (in window as well as fullscreen). No error-message, no entries in logfiles. As far I could find out, only a complete reboot will give me back the ability to play video after using shasum or md5sum. What's giong on there? How can I fix this?
Greetings
Ron.

Update: As I allready thought, it is sufficient to restart x-session instead of reboot. Looks like these programs corrupt somehow the video-overlay.

DontPanic
Old Dear Hen
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: strange thing after using shasum/md5sum

Post by DontPanic » Thu Mar 06, 2008 17:05

What kind of video card do you have ?

Is this an embedded video card (using shared RAM if you're wondering why I'm asking :) ) ?

How much RAM do you have?
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU [email protected] 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM

Ron.W
Simple Hen
Posts: 89
Joined: Fri Dec 08, 2006 20:11

Re: strange thing after using shasum/md5sum

Post by Ron.W » Sat Mar 08, 2008 2:31

Thanks for your reply.

This is an MD95500 Arima/Medion Notebook with a Nvidia 6600 Go PCI Express Card, 128MB seperate Graphics-RAM (not shared) and 512MB System DDR-II-RAM, on an Intel Pentium M 740 with 1,73 GHz. Should be enough for calculating checksums by far... or not?

DontPanic
Old Dear Hen
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: strange thing after using shasum/md5sum

Post by DontPanic » Sat Mar 08, 2008 6:56

It is very reasonable to expect that you can calculate a checksum without affecting your video. :D

Which version of nvidia-drivers do you have installed?

What resolution and color-depth are you running your xorg-server?

Do you have a swap file configured?

Which video player are you using when you get this problem, and have you tried other video players (I'd like to try and replicate the problem if I can)?

When you encounter this problem, do you have anything in your /var/log files that gives you any insights?

Can you run 'top' in a separate console window when replicating this problem, and watch the memory allocation to see if there is some insight there?

I have three nVidia video cards right now, but I've stradled the 6000 series. I have two older 4000-series video cards, and a newer 7600 GT video card, but nothing in the 6000's. I was looking at nVidia's Technical Specs for the 6000 Go series. Apparently, the 6200 and 6400 implemented something called "TurboCache Technology" which utilized system RAM in some manner. If I read this page correctly, the 6600 does not use this feature.

Besides, the md5sum and shasum programs do not use that much memory on my system.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU [email protected] 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM

Ron.W
Simple Hen
Posts: 89
Joined: Fri Dec 08, 2006 20:11

Re: strange thing after using shasum/md5sum

Post by Ron.W » Mon Mar 17, 2008 0:26

Hello,
sorry for the long dealay. I had to wait until weekend for additional testing.

Well, certainly I have created a swap-partition during sabayon installation (2 GiB linux-swap as /dev/sda7).

Partitioning of Harddisk is:
/dev/sda1 ntfs 46,29 GiB (original bootpartition of this notebook, with an winxp installed on it)
/dev/sda2 extended 46,87 GiB
/dev/sda6 ext3 / 34,89 GiB (root-Partition of Sabayon)
/dev/sda7 linux-swap 2 GiB
/dev/sda5 fat32 9,98 GiB (Exchange)

Graphics device is:
GeForce Go 6600, VBIOS Version 05.43.02.49.18
Resolution is native 1440x900, 96x96 dpi on for this tft-display, depth 24
Nvidia-Driver version is 100.14.19
X Server VErsion 11.0, X Screen resolution "Auto", 32bpp.
XServer Video settings:
- Video Texture Adaptor: Sync to VBlank enabled
- Video Blitter Adaptor: Sync to VBlank disabled

I performed some aditional testing:

1.) Creating checksums for small files (4,6 KB) doesn't produce the problem.

2.) Creating the checksum for an 2,3GB DVD-Image (ISO-File) results in green video-window. (Desktop, Cube and Compiz-effects are still fine)

3.) Tried allredy VLC, Mplayer, Kaffeine, Totem... all the same.

4.) Sound of the video plays always fine, only no picture.

5.) No related entry (no entry with that timestamp at all) in /var/log/messages.

6.) Don't have to restart Xserver at all, just logging of and logging on again does the job.

7.) "top" tells me:
- when processing a 417MB file:
VIRT:2676 RES:572 SHR:500 %CPU:4,3 %MEM:0,1
- when processing a 834MB file:
VIRT:2680 RES:572 SHR:500 %CPU:4,3 %MEM:0,1

8.) There are no corresponding messages in the system log.

9.) It doesn't make any difference on which partition the files are stored, same result when storing them on a nas.

I'll call it a day. I'll investigate further next week.
Greetings
Ron.

DontPanic
Old Dear Hen
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: strange thing after using shasum/md5sum

Post by DontPanic » Mon Mar 17, 2008 5:17

Nvidia-Driver version is 100.14.19
There is a newer version of the nVidia driver package: x11-drivers/nvidia-drivers-169.09-r1 for a stable version, and a x11-drivers/nvidia-drivers-169.12-r10 in the sabayon overlay.

I haven't heard of anybody having your problem with the old driver, but I think updating the nvidia-driver should probably be the first step.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU [email protected] 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM

Post Reply