From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 95406] glLogicOp (GL_XOR) does not work on AMD/ATI card
Date: Sun, 15 May 2016 11:38:03 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1989007724=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 754A46E357
for ; Sun, 15 May 2016 11:38:03 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1989007724==
Content-Type: multipart/alternative; boundary="14633122830.7CBc.30953";
charset="UTF-8"
--14633122830.7CBc.30953
Date: Sun, 15 May 2016 11:38:03 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D95406
Bug ID: 95406
Summary: glLogicOp (GL_XOR) does not work on AMD/ATI card
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel@lists.freedesktop.org
Reporter: franz.reiter@cadcam.co.at
Linux-driver on Ubuntu 14.04.4/64-bit with card AMD/ATI Richland Radeon HD
8570D
(AMD Radeon R7 240):
it seems that "glLogicOp (GL_XOR)" does not work:
..
glLogicOp (GL_XOR);
glEnable (GL_COLOR_LOGIC_OP);
..
glPixelZoom (1.f, 1.f);
glDrawPixels (rb_dx, rb_dy, // width, height
// GL_BLUE, // yellow
GL_GREEN, // violet
// GL_RED, // cyan
GL_FLOAT,
fBuf); // data
glDisable(GL_COLOR_LOGIC_OP);
creates a black background only.
Sourcecode: see function GL_RubberBox_draw in:
https://github.com/gcad3d/gcad3d/blob/master/src/gr/ut_GL.c
The proprietary AMD/ATI-driver and all Nvidia-cards/drivers work ok with th=
is
code.
---------------------------------------------------------
CAD-CAM Services Ing. Franz Reiter
email franz.reiter@cadcam.co.at
http://www.cadcam.co.at
http://www.gcad3d.org
---------------------------------------------------------
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14633122830.7CBc.30953
Date: Sun, 15 May 2016 11:38:03 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
95406
|
| Summary |
glLogicOp (GL_XOR) does not work on AMD/ATI card
|
| Product |
DRI
|
| Version |
XOrg git
|
| Hardware |
x86-64 (AMD64)
|
| OS |
Linux (All)
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
DRM/Radeon
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
franz.reiter@cadcam.co.at
|
Linux-driver on Ubuntu 14.04.4/64-bit with card AMD/ATI Richla=
nd Radeon HD
8570D
(AMD Radeon R7 240):
it seems that "glLogicOp (GL_XOR)" does not work:
..
glLogicOp (GL_XOR);
glEnable (GL_COLOR_LOGIC_OP);
..
glPixelZoom (1.f, 1.f);
glDrawPixels (rb_dx, rb_dy, // width, height
// GL_BLUE, // yellow
GL_GREEN, // violet
// GL_RED, // cyan
GL_FLOAT,
fBuf); // data
glDisable(GL_COLOR_LOGIC_OP);
creates a black background only.
Sourcecode: see function GL_RubberBox_draw in:
htt=
ps://github.com/gcad3d/gcad3d/blob/master/src/gr/ut_GL.c
The proprietary AMD/ATI-driver and all Nvidia-cards/drivers work ok with th=
is
code.
---------------------------------------------------------
CAD-CAM Services Ing. Franz Reiter
email franz.reiter@cad=
cam.co.at
http://www.cadcam.co.at
http://www.gcad3d.org
---------------------------------------------------------
You are receiving this mail because:
- You are the assignee for the bug.
=
--14633122830.7CBc.30953--
--===============1989007724==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1989007724==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 95406] glLogicOp (GL_XOR) does not work on AMD/ATI card
Date: Sun, 15 May 2016 11:46:56 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0592318030=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 303026E341
for ; Sun, 15 May 2016 11:46:56 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0592318030==
Content-Type: multipart/alternative; boundary="14633128160.4d28A6.32561";
charset="UTF-8"
--14633128160.4d28A6.32561
Date: Sun, 15 May 2016 11:46:56 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D95406
--- Comment #1 from Vedran Mileti=C4=87 ---
Ubuntu 14.04 is a bit dated. Is it also broken on latest Mesa git?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14633128160.4d28A6.32561
Date: Sun, 15 May 2016 11:46:56 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
You are receiving this mail because:
- You are the assignee for the bug.
=
--14633128160.4d28A6.32561--
--===============0592318030==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0592318030==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 95406] glLogicOp (GL_XOR) does not work on AMD/ATI card
Date: Mon, 16 May 2016 08:31:11 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1153910086=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 6ED186E3CE
for ; Mon, 16 May 2016 08:31:11 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1153910086==
Content-Type: multipart/alternative; boundary="14633874710.1f038eC.29849";
charset="UTF-8"
--14633874710.1f038eC.29849
Date: Mon, 16 May 2016 08:31:11 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D95406
Franz Reiter changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED
--- Comment #2 from Franz Reiter ---
my problem is solved; after:
sudo apt-get build-dep mesa
- this did install (add !) several packages *drm* *llvm* ..
- now the selection-box (rubber-box - by glLogicOp (GL_XOR)) works ! Thanks.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
Grafic card is: [Radeon HD 8570 / R7 240/340 OEM]
OS is Ubuntu 14.04.4 - Linux 3.19.0.59
> dpkg -l | grep mesa
libegl1-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libgl1-mesa-dev 10.1.3-0ubuntu0.6
libgl1-mesa-dri-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libgl1-mesa-glx-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libglapi-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libgles1-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libgles2-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libwayland-egl1-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
mesa-common-dev 10.1.3-0ubuntu0.6
mesa-utils 8.1.0-2
> ldd /usr/lib/gCAD3D/binLinux64/gCAD3D
libGL.so.1 =3D> /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
lrwxrwxrwx 1 root root 14 Aug 21 2015 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 594456 Aug 21 2015 libGL.so.1.2.0
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14633874710.1f038eC.29849
Date: Mon, 16 May 2016 08:31:11 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Franz Reiter
changed
bug 95406<=
/a>
| What |
Removed |
Added |
| Resolution |
---
|
WORKSFORME
|
| Status |
NEW
|
RESOLVED
|
Comment=
# 2
on bug 95406<=
/a>
from Franz Reiter
my problem is solved; after:
sudo apt-get build-dep mesa
- this did install (add !) several packages *drm* *llvm* ..
- now the selection-box (rubber-box - by glLogicOp (GL_XOR)) works ! Thanks.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
Grafic card is: [Radeon HD 8570 / R7 240/340 OEM]
OS is Ubuntu 14.04.4 - Linux 3.19.0.59
> dpkg -l | grep mesa
libegl1-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libgl1-mesa-dev 10.1.3-0ubuntu0.6
libgl1-mesa-dri-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libgl1-mesa-glx-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libglapi-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libgles1-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libgles2-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
libwayland-egl1-mesa-lts-vivid:amd64 10.5.9-2ubuntu1~trust=
y2
mesa-common-dev 10.1.3-0ubuntu0.6
mesa-utils 8.1.0-2
> ldd /usr/lib/gCAD3D/binLinux64/gCAD3D
libGL.so.1 =3D> /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
lrwxrwxrwx 1 root root 14 Aug 21 2015 libGL.so.1 -> libGL.so.1.2.0
-rw-r--r-- 1 root root 594456 Aug 21 2015 libGL.so.1.2.0
You are receiving this mail because:
- You are the assignee for the bug.
=
--14633874710.1f038eC.29849--
--===============1153910086==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1153910086==--