[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2017-03-05 Thread Timo Aaltonen
I'm going to assume this is fixed with mesa 12.0.6 and if you enable
DRI3 or uninstall xserver-xorg-video-intel (which lets it fall back  on
-modeset which uses DRI3)

** Changed in: mesa (Ubuntu)
   Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2017-01-01 Thread Luigi R.
Same for me on Ubuntu 16.0.1. I get a black screen by using DRI_PRIME=1
glxgears but the frame is highen the Intel card.

Is it normal that xrandr --listproviders returns 2 providers for the
AMD/ATI card?

Providers: number : 3
Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 5 
associated providers: 2 name:Intel
Provider 1: id: 0x43 cap: 0x6, Sink Output, Source Offload crtcs: 4 outputs: 0 
associated providers: 2 name:CAICOS @ pci::01:00.0
Provider 2: id: 0x43 cap: 0x6, Sink Output, Source Offload crtcs: 4 outputs: 0 
associated providers: 2 name:CAICOS @ pci::01:00.0

lspci | grep -E 'VGA|Display'
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Seymour [Radeon HD 6400M/7400M Series] (rev ff)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2016-08-24 Thread munbi
Don't know if it can help, but enabling DRI3 solves the problem for me.
Just added this to /usr/share/X11/xorg.conf.d/20-intel.conf :

Section "Device"
Identifier  "Card0"
Driver  "Intel"
Option  "DRI" "3"
EndSection

ad restarted X

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2016-08-23 Thread munbi
Same problem here: Dell Latitude E6540 with Intel HD4000 + AMD Radeon HD8790M 
(OLAND), Ubuntu 16.04 updated.
Some OpenGL programs do not refresh the windows and shows only artifacts from 
background when using DRI_PRIME=1 to lunch (e.g. with kicad pcbnew)

Followed comment #11 suggestion and tried latest Oibaf PPA (
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-
drivers?field.series_filter=xenial ) with:

- mesa 12.1~git1608230730.96ea75~gd~x 
- xserver-xorg-video-ati 1:7.7.99+git1608230731.b08670~gd~x
- xserver-xorg-video-intel 2:2.99.917+git1608121931.c8fc7f~gd~x
- libdrm 2.4.70+git1608210630.b214b0~gd~x
- llvm-toolchain-3.9 1:3.9~+rc2-1~exp1~gd~x

with same result, so updating to mesa 12.1 seems does not solve the
problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2016-08-23 Thread Alessandro Viprati
Tell me if you need any info or log file, this is a really critical bug
and, for now, I can't use my dedicated GPU on Ubuntu.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2016-08-23 Thread Alessandro Viprati
Similar problem in Ubuntu 16.04.1 (Unity), with AMD APU (AMD A4-7210 APU
with AMD Radeon R3 Graphics "MULLINS") + AMD GPU (AMD Radeon R5 M330) on
a Lenovo Yoga 500-14ACL.

Everytime I launch a 3D game application with DRI_PRIME=1, the system
hangs and returns to the lightdm login screen.

I also tried to use a xubuntu session (installing xubuntu-core package)
with xfwm or compton, but the problem persists.

** Tags added: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2016-08-03 Thread Timo Aaltonen
more probably candidate is mesa, please test yakkety which has 12.0.1

commit 9ee3f097b65398250e836785a7e87520eda8298d
Author: Michel Dänzer 
Date:   Thu Jun 9 15:15:19 2016 +0900

st/dri: Clear drawable texture_mask in dri2_invalidate_drawable

This makes sure that dri_set_tex_buffer2 -> dri_drawable_validate_att
will re-create the front left attachment buffer after the drawable got
invalidated.

Fixes window contents not updating until the window is resized when
using DRI2 PRIME.

Reviewed-by: Nicolai Hähnle 
Reviewed-by: Marek Olšák 


** Package changed: compiz (Ubuntu) => mesa (Ubuntu)

** Changed in: mesa (Ubuntu)
 Assignee: (unassigned) => Timo Aaltonen (tjaalton)

** Changed in: mesa (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2016-08-02 Thread Timo Aaltonen
I think this is a compiz bug

** Package changed: xorg (Ubuntu) => compiz (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2015-09-06 Thread Christoph Buchner
I see this too with Steam, only for me the log string is " reporting 6 8 17 
141". Ctrl-Win-D workaround seems to work. 
Any updates on this in the meantime?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2015-04-08 Thread Wolfgang Wallner
In my case, starting steam causes the text 'reporting 9 5 33 271' to be added 
to /var/log/Xorg.0.log three times.
It's always printed twice in a row and again a few seconds later.
For example these are two starts of steam:

[ 17002.853] reporting 9 5 33 271
[ 17002.878] reporting 9 5 33 271
[ 17006.628] reporting 9 5 33 271
[ 17021.267] reporting 9 5 33 271
[ 17021.297] reporting 9 5 33 271
[ 17025.236] reporting 9 5 33 271

But this does happen with and without DRI_PRIME=1, so I don't know if it
is related to this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2015-04-08 Thread Wolfgang Wallner
Additional note regarding compositing:

*) The problem happens regardless if compositing is enabled or disabled.
*) Enabling compositing fixes the problem (as far as I can tell always).

If I start with compositing on, I need to toggle it for the problem to be gone.
If I start with compositing off, I just need to enable it.

-- Something that is done when compositing is turned on fixes the
problem.

(I use KDE and use Shift+Alt+F12 to enable/disable compositing)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2015-04-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: xorg (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2015-04-08 Thread Wolfgang Wallner
This bug is already present in 14.10.

My system is a HP Pavilion laptop with a muxless Intel/AMD combination
(Intel Sandybridge HD graphics and AMD Radeon HD6770).

A Workaround that works most of the time is to press Win+D again and again to 
switch between desktop and game application.
After a few iterations the problem is usually gone: once a game (or steam) 
starts drawing, everything works fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2015-04-08 Thread Simon K
Could you please check your /var/log/Xorg.0.log to see if it contains the 
following Text:
reporting 7 6 5 37

For me it repeats very often if I've started an 3D program with DRI_PRIME where 
this Error appears.
This Message will repeat very often like:

[  1033.178] reporting 7 6 5 37
[  1033.280] reporting 7 6 5 37
[  1046.783] reporting 7 6 5 37
[  1083.116] reporting 7 6 5 37

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2015-04-08 Thread Wolfgang Wallner
The problem is also independent of multi-monitor configurations.
I use a dual monitor setup, and it happens regardless if both monitors are 
activated or just one of them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2015-04-08 Thread Wolfgang Wallner
I tried to reproduce the problem with glxgears.
It can happen, but it is harder to reproduce than with steam.
For steam it happens every time, for glxgears it only happened twice out of ~15 
tries.

But when it happens in glxgears, no reporting 9 5 33 271 lines are
added to Xorg.0.log, so I think these are two different issues.

The compositing-enable trick also works for glx_gears.

As far as I can tell the problem only happens with certain programs.
I think it depends on whether or not OpenGL is used for drawing.
For me it happens for

*) Steam
*) Games (both Steam and others like e.g. supertuxkart)
*) glxgears

It does not happen for typical office programs that use GUI toolkits
like Qt or GTK, e.g. okular, gedit, etc.

According to [1] Steam uses a custom toolkit called VGUI, which is also uses by 
their Source engine.
Thus I would guess that it is also drawn using OpenGL.

[1] http://stackoverflow.com/questions/2389717/what-gui-toolkit-does-
valve-use-for-steam

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430888

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1430888/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs