All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 94374] New: transparent window with DRI_PRIME=1, depending on size of used textures
Date: Wed, 02 Mar 2016 19:17:14 +0000	[thread overview]
Message-ID: <bug-94374-8800@http.bugs.freedesktop.org/> (raw)


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

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

            Bug ID: 94374
           Summary: transparent window with DRI_PRIME=1, depending on size
                    of used textures
           Product: Mesa
           Version: 11.2
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/nouveau
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
          Reporter: peter.fiss-Mmb7MZpHnFY@public.gmane.org
        QA Contact: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

Created attachment 122086
  --> https://bugs.freedesktop.org/attachment.cgi?id=122086&action=edit
the source code of the program (.tar,xz)

Here's the source code of a simple program, that reproduces incorrect behavior
of PRIME. I actually wanted to try something different, but then I discovered
this bug. The program generates noise textures and displays them on a quad
using OpenGL 3.3. You can specify the size of the noise textures with the
program's first parameter.

The program runs fine on my Intel Ivy Bridge gpu and it also runs on my GeForce
GT 640M (Kepler) with nouveau and DRI_PRIME=1. When I increase the texture size
to 128 or something larger, the program's window sometimes (>= 50% chance)
becomes transparent (see attached screenshot) when using DRI_PRIME=1. This
*never* happens with texture sizes of 64 or less. If I remove the use of
textures completely from the program, it always runs fine as well. DRI_PRIME=1
glxgears always works as expected.

My system is Arch Linux with mesa 11.1.2-1 and kernel 4.4.1-2. I'm sorry that I
cannot install mesa-git since this is my computer for productive work.
Hopefully, someone else can reproduce the issue.

Steps to build the program:
- make sure you have SDL2 installed
- ./build.sh
- DRI_PRIME=1 ./a.out 512       <- might not work
- DRI_PRIME=1 ./a.out 64        <- always works for me

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

             reply	other threads:[~2016-03-02 19:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 19:17 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
     [not found] ` <bug-94374-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2016-03-02 19:18   ` [Bug 94374] transparent window with DRI_PRIME=1, depending on size of used textures bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-03-02 19:45   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-03-02 19:53   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-03-02 20:59   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-03-02 21:09   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-03-02 22:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-03-12 18:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-03-25 19:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-04-10 10:23   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-31 14:01   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-12-22  8:08   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

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-94374-8800@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.