dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 83708] [vdpau,uvd] kernel oops, Unable to handle kernel paging request at virtual address
Date: Thu, 18 Sep 2014 07:18:45 +0000	[thread overview]
Message-ID: <bug-83708-502-TzsQGmOYnF@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-83708-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 2045 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=83708

--- Comment #6 from Jack <zduo006@163.com> ---
(In reply to comment #1)
> (In reply to comment #1)
> > Hi, I try to using gpu hardware accelerate to play video from mplayer
> > (vdpau+uvd)  . The machine architecture is sparc64,video card is radeon
> > HD7450,OS version is redhat7,kernel version is 3.10.0, mplayer version is
> > 1.1-21,mesa version is 9.2.5-6.
> 
> Please attach the output of dmesg (showing at least all radeon driver
> related initialization), the /var/log/Xorg.0.log file and the output of
> vdpauinfo.
> 
> Can you try newer versions of the kernel and Mesa?
> 
> P.S. AFAICT the 7450 is Northern Islands generation (Caicos) based, not
> Southern Islands based, otherwise I'd be very surprised you even got this
> far, given bug 82455. :)

Hi, attachment are the logs of xort,radeon init,vdpauinfo, the output seem to
be ok.

I try to trace the code ,found that it execute  radeon_uvd_cs_reloc func to get
the start address of the relocs in GPU RAM.
 reloc = p->relocs_ptr[idx/4]     (idx is 0)
 start = reloc->lobj.gpu_offset
and the start address is start:0x182c000, the radeon_uvd_cs_msg func can remap
the gpu address to cpu virtual address use radeon_bo_kmap(bo,
&ptr)->ttm_bo_ioremap, the return cpu virtual address is  [zd
radeon_uvd_cs_msg]  ptr:000000ca1182c000, msg:000000ca1182c000. and this
address is the unhandle address, see the error log. 
       I try to change the PAGE_SHIFT to 12(gpu page shift) in the
ttm_bo_ioremap(cpu is 8K page size ,gpu is 4K page size) ,but no effects. I
think the bo store in gpu ram has the wrong gpu_offset.But I don't know the
reason. the only way can effect this is the remap,base the different cpu page
size and gpu page size.
       Can give me any idea about this? Or maybe have some ways to  verified?
Tks
       By the way, where can download the document about the ttm and gem ? I am
puzzled about the principle of gpu memory managerment .

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3200 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2014-09-18  7:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10 11:02 [Bug 83708] New: mplayer plays video using gpu hardware acceleraing(vdpau,uvd) kernel panic, Unable to handle kernel paging request at virtual address bugzilla-daemon
2014-09-11  2:15 ` [Bug 83708] [vdpau,uvd] kernel oops, " bugzilla-daemon
2014-09-18  6:54 ` bugzilla-daemon
2014-09-18  6:55 ` bugzilla-daemon
2014-09-18  6:55 ` bugzilla-daemon
2014-09-18  6:56 ` bugzilla-daemon
2014-09-18  7:18 ` bugzilla-daemon [this message]
2014-09-18  7:28 ` bugzilla-daemon
2014-09-18 12:41 ` bugzilla-daemon
2014-09-20  4:09 ` bugzilla-daemon
2014-09-20  4:09 ` bugzilla-daemon
2014-09-20  4:10 ` bugzilla-daemon
2014-09-22  8:59 ` bugzilla-daemon
2014-09-23 13:00 ` bugzilla-daemon
2014-09-24  9:28 ` bugzilla-daemon
2014-09-24 15:18 ` bugzilla-daemon
2014-09-25  2:18 ` bugzilla-daemon
2014-09-25  7:26 ` bugzilla-daemon
2014-09-28 12:01 ` bugzilla-daemon
2014-09-29  7:16 ` bugzilla-daemon
2019-11-19  8:55 ` bugzilla-daemon

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=bug-83708-502-TzsQGmOYnF@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /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