[Bug 28771] Vsync always on

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28771

--- Comment #10 from Toni Spets  2010-07-17 22:36:22 PDT 
---
(In reply to comment #9)
> (In reply to comment #8)
> > I can confirm that setting vblank_mode=0 in drirc doesn't work here either.
> > 
> > Can't reproduce the other problem though, window or fullscreen doesn't make 
> > a
> > difference.
> 
> Maybe the wait for vline type vsync I get is r600 specific.

I can also confirm .drirc gets ignored but env vblank_mode works.

To disable vsync completely you currently (and before) need a DDX hack along
with vblank_mode=0.

With this patch interestingly glxgears goes from ~1400 fps to ~2100 fps and
Quake 2 can run uncapped.

What is the real solution and why is this patch needed in DDX?



[Bug 25622] KMS blurry output after initialisation

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25622

Aidan Marks  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #8 from Aidan Marks  2010-07-17 21:58:16 PDT ---
unreproducible on current git d-r-t.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[PATCH 1/2] drm: Return EBUSY if the framebuffer is unbound when flipping.

2010-07-17 Thread Chris Wilson
It looks like there is a race condition between unbinding a framebuffer
on a hotplug event and user space trying to flip:

BUG: unable to handle kernel NULL pointer dereference at 0058
IP: [] intel_crtc_page_flip+0xc9/0x39c [i915]
PGD 114724067 PUD 1145bd067 PMD 0
Oops:  [#1] SMP
Pid: 10954, comm: X Not tainted 2.6.35-rc5_stable_20100714+ #1
P5Q-EM/P5Q-EM
RIP: 0010:[]  []
intel_crtc_page_flip+0xc9/0x39c [i915]
RSP: 0018:880114927cc8  EFLAGS: 00010282
RAX:  RBX: 88012df48320 RCX: 88010c945600
RDX: 880001a109c8 RSI: 88010c945840 RDI: 88012df48320
RBP: 880114927d18 R08: 88012df48280 R09: 88012df48320
R10: 03c2e0b0 R11: 3246 R12: 88010c945840
R13: 88012df48000 R14: 0060 R15: 88012dbb8000
FS:  7f9e6078e830() GS:880001a0()
knlGS:
CS:  0010 DS:  ES:  CR0: 8005003b
CR2: 0058 CR3: 0001177a8000 CR4: 000406f0
DR0:  DR1:  DR2: 
DR3:  DR6: 0ff0 DR7: 0400
Process X (pid: 10954, threadinfo 880114926000, task
88012a4a1690)
Stack:
 88010c945600 880115b176c0 88012db1 0246
<0> fff40006101c 88010c945600 ffea 88010c945600
<0> 88012df48320 88011b4b6780 880114927d78 a003bd0e
Call Trace:
 [] drm_mode_page_flip_ioctl+0x1bc/0x214 [drm]
 [] drm_ioctl+0x25e/0x35e [drm]
 [] ? drm_mode_page_flip_ioctl+0x0/0x214 [drm]
 [] vfs_ioctl+0x2a/0x9e
 [] do_vfs_ioctl+0x531/0x565
 [] sys_ioctl+0x55/0x77
 [] ? sys_read+0x47/0x6f
 [] system_call_fastpath+0x16/0x1b
Code: 45 d4 f4 ff ff ff 0f 84 e0 02 00 00 48 8b 4d b0 49 8d 9d 20 03 00 00 48
89 df 49 89 4c 24 38 49 8b 07 49 89 44 24 20 49 8b 47 20 <48> 8b 40 58 49 c7 04
24 00 00 00 00 49 c7 44 24 18 a9 a5 08 a0
RIP  [] intel_crtc_page_flip+0xc9/0x39c [i915]
 RSP 
CR2: 0058

References:

  Bug 28811 - [page-flipping] GPU hang when modeset after unplugging
  another monitor (under compiz)
  https://bugs.freedesktop.org/show_bug.cgi?id=28811

Signed-off-by: Chris Wilson 
Cc: Jesse Barnes 
Cc: Dave Airlie 
---
 drivers/gpu/drm/drm_crtc.c |9 +
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 0371a2f..d9d5e9f 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -2610,6 +2610,15 @@ int drm_mode_page_flip_ioctl(struct drm_device *dev,
goto out;
crtc = obj_to_crtc(obj);

+   if (crtc->fb == NULL) {
+   /* The framebuffer is currently unbound, presumably
+* due to a hotplug event, that userspace has not
+* yet discovered.
+*/
+   ret = -EBUSY;
+   goto out;
+   }
+
if (crtc->funcs->page_flip == NULL)
goto out;

-- 
1.7.1



[PATCH] drm/radeon/kms: add ioport register access

2010-07-17 Thread Dave Airlie
2010/7/17 Rafa? Mi?ecki :
> Dave, last time you decided to push this fix for 2.6.35, then
> resigned. After additional fix from Alex I can see this in drm-next
> only, not in drm-fixes or Linus's tree. Did you change your mind to
> postpone it until next merge window, or just forgot about this in
> drm-fixes?

It only gets one chance at fixes, so its in drm-next now.

Dave.

>
> --
> Rafa?
>


Regression 2.6.34+ -> 2.6.34-rc5: radeon KMS rs780 problems

2010-07-17 Thread Ed Tomlinson
Hi,

My 790gx chipset supplies an rs780.  With .34+ all is ok.  With .35-rc5 basic 
function seems ok (kde works) but
games like extreme tux racer have problems.  The cursor does not display when 
on the tux racer window and
various objects flicker on and off as I attempt to play the game.   

Here is what .34+ detects (think this kernel has a drm-radeon-testing from may 
or early june)

[1.370735] [drm] Initialized drm 1.1.0 20060810
[1.376014] [drm] radeon defaulting to kernel modesetting.
[1.382041] [drm] radeon kernel modesetting enabled.
[1.387560] radeon :01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[1.395205] radeon :01:05.0: setting latency timer to 64
[1.397347] [drm] initializing kernel modesetting (RS780 0x1002:0x9614).
[1.404961] [drm] register mmio base: 0xFE9F
[1.410036] [drm] register mmio size: 65536
[1.415328] ATOM BIOS: B27722
[1.418612] [drm] Clocks initialized !
[1.422740] [drm] 3 Power State(s)
[1.426486] [drm] State 0 Default (default)
[1.431081] [drm]1 Clock Mode(s)
[1.434831] [drm]0 engine: 30
[1.438773] [drm] State 1 Performance
[1.442897] [drm]1 Clock Mode(s)
[1.446648] [drm]0 engine: 50
[1.450589] [drm] State 2 Default
[1.454344] [drm]1 Clock Mode(s)
[1.458093] [drm]0 engine: 50
[1.462038] [drm] radeon: power management initialized
[1.467705] radeon :01:05.0: VRAM: 256M 0xC000 - 0xCFFF (256M 
used)
[1.475724] radeon :01:05.0: GTT: 512M 0xA000 - 0xBFFF
[1.485117] [drm] Detected VRAM RAM=256M, BAR=256M
[1.490391] [drm] RAM width 32bits DDR
[1.494785] [TTM] Zone  kernel: Available graphics memory: 3956838 kiB.
[1.502042] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB.
[1.509465] [drm] radeon: 256M of VRAM memory ready
[1.514825] [drm] radeon: 512M of GTT memory ready.
[1.520236] [drm] radeon: irq initialized.
[1.524739] [drm] GART: num cpu pages 131072, num gpu pages 131072
[1.532253] [drm] Loading RS780 Microcode

with .35-rc5 it finds a different ammount of VRAM.  Hardware wise there is 128M 
of sideport ram.

 [1.361622] [drm] Initialized drm 1.1.0 20060810
 [1.366843] [drm] radeon defaulting to kernel modesetting.
 [1.372863] [drm] radeon kernel modesetting enabled.
 [1.378371] radeon :01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
 [1.386003] radeon :01:05.0: setting latency timer to 64
 [1.388242] [drm] initializing kernel modesetting (RS780 0x1002:0x9614).
 [1.395870] [drm] register mmio base: 0xFE9F
 [1.400940] [drm] register mmio size: 65536
 [1.406238] ATOM BIOS: B27722
 [1.409531] [drm] Clocks initialized !
 [1.413688] radeon :01:05.0: VRAM: 384M 0xC000 - 0xD7FF (384M 
used)
 [1.421706] radeon :01:05.0: GTT: 512M 0xA000 - 0xBFFF
 [1.429481] [drm] Detected VRAM RAM=384M, BAR=256M
 [1.436429] [drm] RAM width 32bits DDR
 [1.440829] [TTM] Zone  kernel: Available graphics memory: 3956866 kiB.
 [1.448096] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB.
 [1.455348] [TTM] Initializing pool allocator.
 [1.460471] [drm] radeon: 384M of VRAM memory ready
 [1.465824] [drm] radeon: 512M of GTT memory ready.
 [1.471255] [drm] radeon: irq initialized.
 [1.475760] [drm] GART: num cpu pages 131072, num gpu pages 131072
 [1.483280] [drm] Loading RS780 Microcode

User space/firmware/bios is the same in both cases.

Idea?
Ed Tomlinson


[PATCH 1/2] drm: Return EBUSY if the framebuffer is unbound when flipping.

2010-07-17 Thread Jesse Barnes
On Sat, 17 Jul 2010 20:23:26 +0100
Chris Wilson  wrote:

> It looks like there is a race condition between unbinding a
> framebuffer on a hotplug event and user space trying to flip:
> 

Nice, yeah that would definitely be a problem.  Alternately we could
solder everyone's configuration into something they couldn't change. :)

Reviewed-by: Jesse Barnes 

-- 
Jesse Barnes, Intel Open Source Technology Center


[Bug 29134] New: [r300g] Lightsmark: penumbra shadows does not render correctly

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29134

   Summary: [r300g] Lightsmark: penumbra shadows does not render
correctly
   Product: Mesa
   Version: git
  Platform: Other
   URL: http://dee.cz/lightsmark/
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/r300
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: sa at whiz.se


Created an attachment (id=37163)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37163)
Screenshot of Lightsmark displaying penumbra shadows

In the benchmark tool Lightsmark, the "penumbra shadows" test doesn't render
correctly. See the attached screenshot.

http://dee.cz/lightsmark/

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: cdeb1949c820242f05a8897d3ddd0718f204dacf
-- xserver: 1.8.99.904 (1.9.0 RC 4)
-- mesa: 70b27be923bcce4da171fb7154bb1df20bd85f87
-- drm: 6ea2bda5f5ec8f27359760ce580fdad3df0464df
-- kernel: 2.6.35-rc5

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 28996] [r300g] Shadowgrounds Survivor: crashes on start

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28996

Sven Arvidsson  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Sven Arvidsson  2010-07-17 15:41:01 PDT ---
Wohoo! Seems to be working fine now, using git master
70b27be923bcce4da171fb7154bb1df20bd85f87

Now only 24016 needs to be fixed, so the menus don't need to be navigated
blindly.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 28847] [r300c, r300g] Regnum Online only works in safe mode

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28847

--- Comment #2 from Sven Arvidsson  2010-07-17 14:11:28 PDT ---
Created an attachment (id=37161)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37161)
Screenshot of bug in RO in safe mode

Even safe mode isn't working perfectly. Every few seconds all characters
flickers and seems to lose their shape. The attached screenshot shows the bug.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[patch] drm: radeon: fix sign bug

2010-07-17 Thread Dan Carpenter
The "error" variable is unsigned so it's never less than zero.  I
changed it to check if (freq < current_freq) directly.

"best_error" is also unsigned so "best_error - 100" could be a large
number instead of a negative.  Since "error" is unsigned it is never
less than a negative and so the cases where "best_error" is less than or
equal to 100 are false.

Signed-off-by: Dan Carpenter 

diff --git a/drivers/gpu/drm/radeon/radeon_display.c 
b/drivers/gpu/drm/radeon/radeon_display.c
index 8154cdf..a68728d 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -558,15 +558,17 @@ static void radeon_compute_pll_legacy(struct radeon_pll 
*pll,
current_freq = radeon_div(tmp, ref_div 
* post_div);

if (pll->flags & 
RADEON_PLL_PREFER_CLOSEST_LOWER) {
-   error = freq - current_freq;
-   error = error < 0 ? 0x 
: error;
+   if (freq < current_freq)
+   error = 0x;
+   else
+   error = freq - 
current_freq;
} else
error = abs(current_freq - 
freq);
vco_diff = abs(vco - best_vco);

if ((best_vco == 0 && error < 
best_error) ||
(best_vco != 0 &&
-(error < best_error - 100 ||
+((best_error > 100 && error < 
best_error - 100) ||
  (abs(error - best_error) < 100 && 
vco_diff < best_vco_diff {
best_post_div = post_div;
best_ref_div = ref_div;


[PATCH] drm/radeon/kms: add ioport register access

2010-07-17 Thread Rafał Miłecki
W dniu 17 lipca 2010 11:27 u?ytkownik Dave Airlie  
napisa?:
> 2010/7/17 Rafa? Mi?ecki :
>> Dave, last time you decided to push this fix for 2.6.35, then
>> resigned. After additional fix from Alex I can see this in drm-next
>> only, not in drm-fixes or Linus's tree. Did you change your mind to
>> postpone it until next merge window, or just forgot about this in
>> drm-fixes?
>
> It only gets one chance at fixes, so its in drm-next now.

OK, thanks for expl. :)

-- 
Rafa?


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29128

Marek Ol??k  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #6 from ?lmos  2010-07-17 08:15:38 PDT ---
The attached patch works.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 28615] [r300g] Hard freeze when running POP: Sands of time under wine

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28615

--- Comment #3 from Maciej Cencora  2010-07-17 08:00:04 
PDT ---
No luck, it still hangs.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #5 from Marek Ol??k  2010-07-17 06:36:04 PDT 
---
Created an attachment (id=37148)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37148
 Review: https://bugs.freedesktop.org/review?bug=29128=37148

fix

Could you try the attached patch?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #4 from ?lmos  2010-07-17 06:08:31 PDT ---
Now it is much better, but it's still not perfect. The intro movie of openarena
is drawn in purple, and in ut2004 the map preview has inverted colors and there
is no lighting at all (everything is black).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #3 from Marek Ol??k  2010-07-17 05:44:06 PDT 
---
Yeah the fix introduced another regression, it should be fixed now.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #2 from ?lmos  2010-07-17 05:32:22 PDT ---
The situation didn't get much better, but the error messages changed to:

stderr:
debug_get_bool_option: RADEON_DUMP_CS = FALSE
radeon: The kernel rejected CS, see dmesg for more information.

dmesg:
[18652.649971] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #1 from Marek Ol??k  2010-07-17 04:39:56 PDT 
---
Fixed in master, can you confirm?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 29128] New: [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29128

   Summary: [r300g] nearly all CS gets rejected, rendering only
garbage
   Product: Mesa
   Version: git
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/r300
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: aaalmosss at gmail.com


After the following commit: 
3eb557778376bcbbc6f25da88ffbaa269607254c is the first bad commit
commit 3eb557778376bcbbc6f25da88ffbaa269607254c
Author: Marek Ol??k 
Date:   Fri Jul 16 12:53:40 2010 +0200

r300g: do not make copies of constant buffers, emit them directly

:04 04 a69b58bdfeed6b10709e771e09d6b0e7756c35a2
1b7411912b05b30cea9c6a3063fc5f8fb2c476b8 Msrc

rendering is totally garbage in all applications I tried.

Stderr:
r300: Warning: cs_count off by -12 at (r300_emit_fs_constants, r300_emit.c:185)
debug_get_bool_option: RADEON_DUMP_CS = FALSE
radeon: The kernel rejected CS, see dmesg for more information.

dmesg:
[10445.982286] Forbidden register 0x in cs at 15805
[10445.982292] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 29116] [wine] Offscreen rendering with FBO results in GL_FRAMEBUFFER_UNSUPPORTED

2010-07-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29116

--- Comment #7 from Marek Ol??k  2010-07-17 01:25:02 PDT 
---
A fix is on the way.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


Re: [PATCH] drm/radeon/kms: add ioport register access

2010-07-17 Thread Dave Airlie
2010/7/17 Rafał Miłecki zaj...@gmail.com:
 Dave, last time you decided to push this fix for 2.6.35, then
 resigned. After additional fix from Alex I can see this in drm-next
 only, not in drm-fixes or Linus's tree. Did you change your mind to
 postpone it until next merge window, or just forgot about this in
 drm-fixes?

It only gets one chance at fixes, so its in drm-next now.

Dave.


 --
 Rafał

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


[Bug 29128] New: [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29128

   Summary: [r300g] nearly all CS gets rejected, rendering only
garbage
   Product: Mesa
   Version: git
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/r300
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: aaalmo...@gmail.com


After the following commit: 
3eb557778376bcbbc6f25da88ffbaa269607254c is the first bad commit
commit 3eb557778376bcbbc6f25da88ffbaa269607254c
Author: Marek Olšák mar...@gmail.com
Date:   Fri Jul 16 12:53:40 2010 +0200

r300g: do not make copies of constant buffers, emit them directly

:04 04 a69b58bdfeed6b10709e771e09d6b0e7756c35a2
1b7411912b05b30cea9c6a3063fc5f8fb2c476b8 Msrc

rendering is totally garbage in all applications I tried.

Stderr:
r300: Warning: cs_count off by -12 at (r300_emit_fs_constants, r300_emit.c:185)
debug_get_bool_option: RADEON_DUMP_CS = FALSE
radeon: The kernel rejected CS, see dmesg for more information.

dmesg:
[10445.982286] Forbidden register 0x in cs at 15805
[10445.982292] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

-- 
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


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #1 from Marek Olšák mar...@gmail.com 2010-07-17 04:39:56 PDT ---
Fixed in master, can you confirm?

-- 
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


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #2 from Álmos aaalmo...@gmail.com 2010-07-17 05:32:22 PDT ---
The situation didn't get much better, but the error messages changed to:

stderr:
debug_get_bool_option: RADEON_DUMP_CS = FALSE
radeon: The kernel rejected CS, see dmesg for more information.

dmesg:
[18652.649971] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

-- 
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


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #4 from Álmos aaalmo...@gmail.com 2010-07-17 06:08:31 PDT ---
Now it is much better, but it's still not perfect. The intro movie of openarena
is drawn in purple, and in ut2004 the map preview has inverted colors and there
is no lighting at all (everything is black).

-- 
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


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #5 from Marek Olšák mar...@gmail.com 2010-07-17 06:36:04 PDT ---
Created an attachment (id=37148)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37148
 Review: https://bugs.freedesktop.org/review?bug=29128attachment=37148

fix

Could you try the attached patch?

-- 
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


[Bug 28615] [r300g] Hard freeze when running POP: Sands of time under wine

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28615

--- Comment #3 from Maciej Cencora m.cenc...@gmail.com 2010-07-17 08:00:04 
PDT ---
No luck, it still hangs.

-- 
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


[Bug 29128] [r300g] nearly all CS gets rejected, rendering only garbage

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29128

--- Comment #6 from Álmos aaalmo...@gmail.com 2010-07-17 08:15:38 PDT ---
The attached patch works.

-- 
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


[Bug 28847] [r300c, r300g] Regnum Online only works in safe mode

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28847

--- Comment #2 from Sven Arvidsson s...@whiz.se 2010-07-17 14:11:28 PDT ---
Created an attachment (id=37161)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=37161)
Screenshot of bug in RO in safe mode

Even safe mode isn't working perfectly. Every few seconds all characters
flickers and seems to lose their shape. The attached screenshot shows the bug.

-- 
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


[Bug 28996] [r300g] Shadowgrounds Survivor: crashes on start

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28996

Sven Arvidsson s...@whiz.se changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Sven Arvidsson s...@whiz.se 2010-07-17 15:41:01 PDT ---
Wohoo! Seems to be working fine now, using git master
70b27be923bcce4da171fb7154bb1df20bd85f87

Now only 24016 needs to be fixed, so the menus don't need to be navigated
blindly.

-- 
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


[Bug 29134] New: [r300g] Lightsmark: penumbra shadows does not render correctly

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29134

   Summary: [r300g] Lightsmark: penumbra shadows does not render
correctly
   Product: Mesa
   Version: git
  Platform: Other
   URL: http://dee.cz/lightsmark/
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/r300
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: s...@whiz.se


Created an attachment (id=37163)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=37163)
Screenshot of Lightsmark displaying penumbra shadows

In the benchmark tool Lightsmark, the penumbra shadows test doesn't render
correctly. See the attached screenshot.

http://dee.cz/lightsmark/

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: cdeb1949c820242f05a8897d3ddd0718f204dacf
-- xserver: 1.8.99.904 (1.9.0 RC 4)
-- mesa: 70b27be923bcce4da171fb7154bb1df20bd85f87
-- drm: 6ea2bda5f5ec8f27359760ce580fdad3df0464df
-- kernel: 2.6.35-rc5

-- 
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


Re: [PATCH 1/2] drm: Return EBUSY if the framebuffer is unbound when flipping.

2010-07-17 Thread Jesse Barnes
On Sat, 17 Jul 2010 20:23:26 +0100
Chris Wilson ch...@chris-wilson.co.uk wrote:

 It looks like there is a race condition between unbinding a
 framebuffer on a hotplug event and user space trying to flip:
 

Nice, yeah that would definitely be a problem.  Alternately we could
solder everyone's configuration into something they couldn't change. :)

Reviewed-by: Jesse Barnes jbar...@virtuousgeek.org

-- 
Jesse Barnes, Intel Open Source Technology Center
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 25622] KMS blurry output after initialisation

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25622

Aidan Marks ai...@cisco.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #8 from Aidan Marks ai...@cisco.com 2010-07-17 21:58:16 PDT ---
unreproducible on current git d-r-t.

-- 
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


[Bug 28771] Vsync always on

2010-07-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28771

--- Comment #10 from Toni Spets toni.sp...@iki.fi 2010-07-17 22:36:22 PDT ---
(In reply to comment #9)
 (In reply to comment #8)
  I can confirm that setting vblank_mode=0 in drirc doesn't work here either.
  
  Can't reproduce the other problem though, window or fullscreen doesn't make 
  a
  difference.
 
 Maybe the wait for vline type vsync I get is r600 specific.

I can also confirm .drirc gets ignored but env vblank_mode works.

To disable vsync completely you currently (and before) need a DDX hack along
with vblank_mode=0.

With this patch interestingly glxgears goes from ~1400 fps to ~2100 fps and
Quake 2 can run uncapped.

What is the real solution and why is this patch needed in DDX?

From 311d4c299ed8de4f28d3fd637a7bde8176db245b Mon Sep 17 00:00:00 2001
From: Toni Spets toni.sp...@iki.fi
Date: Wed, 17 Feb 2010 17:37:49 +0200
Subject: [PATCH] Disable vsync

---
 src/radeon_dri2.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index a0ed085..b74a18b 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -315,7 +315,7 @@ radeon_dri2_copy_region(DrawablePtr drawable,
 }   

 vsync = info-accel_state-vsync;
-info-accel_state-vsync = TRUE;
+info-accel_state-vsync = FALSE;

 (*gc-ops-CopyArea)(src_drawable, dst_drawable, gc, 
  0, 0, drawable-width, drawable-height, 0, 0); 
-- 
1.7.1

-- 
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