From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 49817] radeon: The kernel rejected CS when running shader example from SFML library
Date: Wed, 04 Jul 2012 17:18:14 +0000 [thread overview]
Message-ID: <bug-49817-502-XGETZ3iUh9@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-49817-502@http.bugs.freedesktop.org/>
https://bugs.freedesktop.org/show_bug.cgi?id=49817
Cédric Legrand <legrand.cedric.01@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #5 from Cédric Legrand <legrand.cedric.01@gmail.com> 2012-07-04 10:18:14 PDT ---
The bug is still present for me when opening two SFML windows, but dmesg output
changed :
radeon 0000:01:00.0: r600_check_texture_resource:1641 tex base offset
(0x11f7000, 0x2000, 4) invalid
[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
* uname -a
Linux perfection 3.4.4-gentoo #2 SMP Tue Jun 26 14:30:57 CEST 2012 x86_64
Intel(R) Core(TM)2 Duo CPU T6500 @ 2.10GHz GenuineIntel GNU/Linux
*glxinfo
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV710
OpenGL version string: 2.1 Mesa 8.1-devel (git-f34764e)
OpenGL shading language version string: 1.30
*libdrm, mesa, xf86-video-ati from yesterday's GIT
*Sample of code to reproduce the bug
###############################################################
#include <SFML/Graphics.hpp>
int main() {
sf::RenderWindow Bug(sf::VideoMode(800, 600), "SFML bugging window");
sf::RenderWindow App(sf::VideoMode(800, 600), "SFML window");
sf::Texture texture;
if (!texture.loadFromFile("cb.bmp"))
return EXIT_FAILURE;
sf::Sprite sprite(texture);
sf::Texture texture2;
if (!texture2.loadFromFile("cb.bmp"))
return EXIT_FAILURE;
sf::Sprite sprite2;
sprite2.setTexture(texture2);
while (Bug.isOpen() || App.isOpen()) {
sf::Event event;
sf::Event event2;
while (Bug.pollEvent(event2)) {
if(event2.type == sf::Event::Closed)
Bug.close();
}
while (App.pollEvent(event)) {
if(event.type == sf::Event::Closed)
App.close();
}
Bug.clear();
App.clear();
Bug.draw(sprite2);
App.draw(sprite);
Bug.display();
App.display();
}
return EXIT_SUCCESS;
}
####################################################################
Opening the windows in different threads works.
Many thanks for your work.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2012-07-04 17:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-11 20:57 [Bug 49817] New: radeon: The kernel rejected CS when running shader example from SFML library bugzilla-daemon
2012-05-18 13:16 ` [Bug 49817] " bugzilla-daemon
2012-06-06 11:44 ` bugzilla-daemon
2012-06-06 18:49 ` bugzilla-daemon
2012-06-19 12:25 ` bugzilla-daemon
2012-06-19 14:23 ` bugzilla-daemon
2012-07-04 17:18 ` bugzilla-daemon [this message]
2012-07-28 22:23 ` bugzilla-daemon
2012-07-28 23:56 ` bugzilla-daemon
2012-07-30 20:30 ` bugzilla-daemon
2012-07-30 21:22 ` bugzilla-daemon
2012-07-31 18:35 ` bugzilla-daemon
2012-07-31 19:44 ` bugzilla-daemon
2012-08-28 7:31 ` bugzilla-daemon
2012-09-20 22:25 ` bugzilla-daemon
2012-09-21 15:20 ` bugzilla-daemon
2012-09-21 15:26 ` bugzilla-daemon
2012-12-12 9:26 ` bugzilla-daemon
2015-04-20 12:24 ` bugzilla-daemon
2015-04-20 12:28 ` bugzilla-daemon
2015-04-20 14:45 ` bugzilla-daemon
2015-04-23 17:54 ` 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-49817-502-XGETZ3iUh9@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 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.