linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark v Wolher <trilight@ns666.com>
To: Jiri Slaby <xslaby@fi.muni.cz>
Cc: Sami Farin <7atbggg02@sneakemail.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	arjan@infradead.org, jesper.juhl@gmail.com,
	s0348365@sms.ed.ac.uk, rlrevell@joe-job.com,
	mchehab@brturbo.com.br, video4linux-list@redhat.com
Subject: Re: system keeps freezing once every 24 hours / random apps crashing
Date: Sun, 01 Jan 2006 19:49:00 +0100	[thread overview]
Message-ID: <43B8241C.2020305@ns666.com> (raw)
In-Reply-To: <20060101183832.2BE0222AEE7@anxur.fi.muni.cz>

Jiri Slaby wrote:
> Mark v Wolher wrote:
> 
>>>Still no crashes or irregular things happened ! Will let it go for a few
>>>more hours. This test is being done with the binary nvidia module loaded
>>>and bttv disabled. The next test will be nv for X instead of the binary
>>>module with bttv enabled, if crashes and such start to occur then it's
>>>very likely that the problem sits in the bttv code.
>>
>>
>>Okay, here are the test results:
>>
>>
>>- heavy load + nvidia (binary module) + bttv with grabdisplay = crash
>>- heavy load + nv (not tainted kernel) + bttv with grabdisplay = crash
>>
>>- heavy load + nvidia (binary module) + bttv with overlay = OK
>>- heavy load + nv (not tainted kernel) + bttv with overlay = OK
>>
>>Adding vmware on top of it will cause the system sooner to freeze/crash
>>(using grabdisplay)
>>
>>So what you think guys ?
> 
> Hi,
> we still think that there is a problem in bttv_risc_packed in computing
> estimated size. My patch was bad, I see it now, but still don't understand, how
> it is computed and how it should be:
>         instructions  = (bpl * lines) / PAGE_SIZE + lines;
>         instructions += 2;
> and here it crashes (the first line, the (*rp)) -- actually after while loop.
> 	*(rp++)=cpu_to_le32(BT848_RISC_WRITE|BT848_RISC_EOL|todo);
> 	*(rp++)=cpu_to_le32(sg_dma_address(sg));
> So, Mauro (or somebody from list), have you any idea, what could be wrong?  
> 
> thanks,

Well, i'd like to help in any way i can, but i'm not really a programmer :(

It seems also that xawtv on nvidia cards (using either nvidia binary
module or nv), at least, somehow doesn't know how to use the hardware to
scale the image in overlay mode. So if you use tvtime which i just
installed and running it is now fullscreen in overlay mode using the
card hardware (quite technical stuff so i'm not sure what else to say).

But back to grabdisplay, this causes the freezes/crashes, especially
under heavy load it'll happen very quick. It seems maybe that other
hardware combinations maybe do not suffer quickly from these things or
ppl with other videocards maybe (?)

It seems to be a combination of factors which might lead to these
issue's, maybe some bug in the bttv code, combined with nvidia cards for
example and xawtv using grabdisplay causes the freezes/crashes.

I'm now currently using tvtime instead of xawtv, overlay mode (i hope),
fullscreen which is basically why i had to use grabdisplay with xawtv in
the first place. I'm putting now alot of load on the system and hope
this is the solution (for now) ...











  reply	other threads:[~2006-01-01 18:49 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-30 14:05 system keeps freezing once every 24 hours / random apps crashing Trilight
2005-12-30 14:11 ` Ochal Christophe
2005-12-30 14:27 ` Jesper Juhl
2005-12-30 15:52   ` Mark v Wolher
2005-12-30 16:37     ` Mark v Wolher
2005-12-30 16:47       ` Folkert van Heusden
2005-12-30 17:14         ` Mark v Wolher
2005-12-30 18:30           ` Folkert van Heusden
2005-12-30 19:22             ` Mark v Wolher
2005-12-30 20:24               ` Folkert van Heusden
2005-12-30 20:58                 ` Mark v Wolher
2005-12-30 21:15                   ` Mark v Wolher
2005-12-30 21:30                     ` Mark v Wolher
2005-12-30 21:35                       ` Lee Revell
2005-12-30 21:47                         ` Mark v Wolher
2005-12-30 21:51                           ` Lee Revell
2005-12-30 21:57                             ` Mark v Wolher
2005-12-30 22:00                               ` Lee Revell
2005-12-30 22:05                                 ` Mark v Wolher
2005-12-30 22:11                                   ` Lee Revell
2005-12-30 22:16                                     ` Mark v Wolher
2005-12-30 23:11                                       ` Alistair John Strachan
2005-12-30 23:42                                         ` Mark v Wolher
2005-12-30 23:56                                           ` Alistair John Strachan
2005-12-31  0:20                                             ` Mark v Wolher
2005-12-31  0:27                                               ` Alistair John Strachan
2005-12-31  0:42                                                 ` Mark v Wolher
2005-12-31  0:51                                                   ` Alistair John Strachan
2005-12-31  0:54                                                     ` Mark v Wolher
2005-12-31 10:31                                                       ` Mark v Wolher
2005-12-31 11:08                                                         ` Jesper Juhl
2005-12-31 11:40                                                           ` Mark v Wolher
2005-12-31 11:49                                                             ` Jesper Juhl
2005-12-31 12:46                                                               ` Mark v Wolher
2005-12-31 15:18                                                                 ` Mark v Wolher
2005-12-31 15:22                                                                   ` Arjan van de Ven
2005-12-31 15:34                                                                     ` Mark v Wolher
2005-12-31 15:51                                                                   ` Mark v Wolher
2005-12-31 16:34                                                                   ` Sami Farin
2005-12-31 16:48                                                                     ` Mark v Wolher
2005-12-31 17:02                                                                       ` Sami Farin
2005-12-31 17:26                                                                         ` Mark v Wolher
2005-12-31 22:01                                                                       ` Sami Farin
2006-01-01  2:26                                                                       ` Mark v Wolher
2006-01-01 13:06                                                                         ` Mark v Wolher
2006-01-01 14:47                                                                           ` Mark v Wolher
2006-01-01 17:47                                                                             ` Mark v Wolher
2006-01-01 18:38                                                                               ` Jiri Slaby
2006-01-01 18:49                                                                                 ` Mark v Wolher [this message]
2006-01-01 19:01                                                                                   ` Mauro Carvalho Chehab
2006-01-01 19:12                                                                                     ` Jiri Slaby
2006-01-01 19:37                                                                                       ` Mark v Wolher
2006-01-01 23:20                                                                                         ` Re; system keeps freezing once every 24 hours / random apps crashing Peter Missel
2006-01-02 22:29                                                                                           ` Alan Cox
2006-01-03  0:19                                                                                             ` Mauro Carvalho Chehab
2006-01-01 18:49                                                                                 ` Folkert van Heusden
2006-01-01 18:54                                                                                   ` Mark v Wolher
2006-01-01 20:49                                                                                     ` Folkert van Heusden
2006-01-01 21:38                                                                                       ` Mark v Wolher
2006-01-01 21:41                                                                                         ` Lee Revell
2006-01-01 22:01                                                                                           ` Mark v Wolher
2006-01-25 12:46                                                                                 ` Jiri Slaby
2006-01-01 15:14                                                                           ` Sami Farin
2005-12-31 11:23                                                   ` Jesper Juhl
2005-12-31 11:31     ` Jesper Juhl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43B8241C.2020305@ns666.com \
    --to=trilight@ns666.com \
    --cc=7atbggg02@sneakemail.com \
    --cc=arjan@infradead.org \
    --cc=jesper.juhl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@brturbo.com.br \
    --cc=rlrevell@joe-job.com \
    --cc=s0348365@sms.ed.ac.uk \
    --cc=video4linux-list@redhat.com \
    --cc=xslaby@fi.muni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).