[Bug 30337] [r300g bisected] Starcraft 2: circles around units are corrupted

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30337

Tom Stellard tstel...@gmail.com changed:

   What|Removed |Added

  Attachment #38942|0   |1
is obsolete||

--- Comment #6 from Tom Stellard tstel...@gmail.com 2010-09-24 23:32:26 PDT 
---
Created an attachment (id=38948)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38948
 Review: https://bugs.freedesktop.org/review?bug=30337attachment=38948

Fix v3 - This one should work.

Apply this directly to master.

-- 
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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30337

--- Comment #7 from Pavel Ondračka dra...@centrum.cz 2010-09-25 00:22:02 PDT 
---
(In reply to comment #3)
 Created an attachment (id=38923)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38923
 Review: https://bugs.freedesktop.org/review?bug=30337attachment=38923

 Possible Fix
 
 Here is a possible fix.  If it doesn't work, please post the output of
 RADEON_DEBUG=fp with this patch applied.

Thank you, with this patch there is no more corruption.

-- 
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 30329] [r600c/evergreen] KWin Present Windows effect extremely slow and has graphical glitches

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30329

Jure Repinc jlp.b...@gmail.com changed:

   What|Removed |Added

  Attachment #38880|0   |1
is obsolete||

--- Comment #6 from Jure Repinc jlp.b...@gmail.com 2010-09-25 03:34:29 PDT ---
Created an attachment (id=38949)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=38949)
dmesg.new

-- 
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 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #6 from Gerwin gerwin_kra...@hotmail.com 2010-09-25 05:48:54 PDT 
---
(In reply to comment #5)
 This looks like a tiling issue and r300c doesn't implement tiling fully. I
 can't reproduce it on R500. Try to set the environment variable
 RADEON_DEBUG=notiling and please let me know if it fixes the issue.

Yes, RADEON_DEBUG=notiling fixes the issue!

-- 
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 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #7 from Marek Olšák mar...@gmail.com 2010-09-25 06:02:49 PDT ---
Created an attachment (id=38951)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38951
 Review: https://bugs.freedesktop.org/review?bug=30313attachment=38951

possible fix

Could you please try this patch?

And please attach you glxinfo of r300c (I'd like to know the PCI ID, which is
in the renderer string).

-- 
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 29711] kwin crashes when changing font configuration(OpenGL desktop effects enabled)

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29711

--- Comment #8 from Igor Strelnikoff freihe...@mail.ru 2010-09-25 06:14:20 
PDT ---
New crash report

Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#7  0xb6bac27b in dri2DrawableGetMSC (psc=0x80d52e0, pdraw=0x0, ust=0xbfcfb028,
msc=0xbfcfb020, sbc=0xbfcfb018) at dri2_glx.c:226
#8  0xb6b85107 in __glXGetVideoSyncSGI (count=0xbfcfb06c) at glxcmds.c:2317
#9  0xb76bb604 in KWin::SceneOpenGL::waitSync (this=0x8155e30) at
/usr/src/debug/kdebase-workspace-4.5.1/kwin/scene_opengl.cpp:781
#10 0xb76c8950 in KWin::SceneOpenGL::flushBuffer (this=0x8155e30, mask=8,
damage=...) at /usr/src/debug/kdebase-workspace-4.5.1/kwin/scene_opengl.cpp:793
#11 0xb7723c0a in KWin::SceneOpenGL::paint (this=0x8155e30, damage=...,
toplevels=...) at
/usr/src/debug/kdebase-workspace-4.5.1/kwin/scene_opengl.cpp:761
#12 0xb76fbe24 in KWin::Workspace::performCompositing (this=0x814ed70) at
/usr/src/debug/kdebase-workspace-4.5.1/kwin/composite.cpp:454
#13 0xb772d49b in KWin::Workspace::qt_metacall (this=0x814ed70,
_c=QMetaObject::InvokeMetaMethod, _id=value optimized out, _a=0xbfcfb35c)
at /usr/src/debug/kdebase-workspace-4.5.1/build/kwin/workspace.moc:583
#14 0xb66f296d in QMetaObject::metacall (object=0x814ed70,
cl=QMetaObject::InvokeMetaMethod, idx=190, argv=0xbfcfb35c) at
kernel/qmetaobject.cpp:237
#15 0xb6702b1c in QMetaObject::activate (sender=0x814f020, m=0xb68265a4,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#16 0xb6751ef5 in QTimer::timeout (this=0x814f020) at
.moc/release-shared/moc_qtimer.cpp:134
#17 0xb67090e6 in QTimer::timerEvent (this=0x814f020, e=0xbfcfb8b0) at
kernel/qtimer.cpp:271
#18 0xb67014e4 in QObject::event (this=0x814f020, e=0xbfcfb8b0) at
kernel/qobject.cpp:1175
#19 0xb5bed1a4 in QApplicationPrivate::notify_helper (this=0x806d748,
receiver=0x814f020, e=0xbfcfb8b0) at kernel/qapplication.cpp:4396
#20 0xb5bf5dd7 in QApplication::notify (this=0xbfcfbbc4, receiver=0x814f020,
e=0xbfcfb8b0) at kernel/qapplication.cpp:3798
#21 0xb722f401 in KApplication::notify (this=0xbfcfbbc4, receiver=0x814f020,
event=0xbfcfb8b0) at
/usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#22 0xb7695c8f in KWin::Application::notify (this=0xbfcfbbc4, o=0x814f020,
e=0xbfcfb8b0) at /usr/src/debug/kdebase-workspace-4.5.1/kwin/main.cpp:372
#23 0xb66ec12e in QCoreApplication::notifyInternal (this=0xbfcfbbc4,
receiver=0x814f020, event=0xbfcfb8b0) at kernel/qcoreapplication.cpp:732
#24 0xb671d4b4 in sendEvent (this=0x806ded0) at kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x806ded0) at
kernel/qeventdispatcher_unix.cpp:617
#26 0xb671dbfd in QEventDispatcherUNIX::processEvents (this=0x8052b98,
flags=...) at kernel/qeventdispatcher_unix.cpp:938
#27 0xb5ca328a in QEventDispatcherX11::processEvents (this=0x8052b98,
flags=...) at kernel/qeventdispatcher_x11.cpp:152
#28 0xb66eb40d in QEventLoop::processEvents (this=0xbfcfbb14, flags=...) at
kernel/qeventloop.cpp:149
#29 0xb66eb639 in QEventLoop::exec (this=0xbfcfbb14, flags=...) at
kernel/qeventloop.cpp:201
#30 0xb66f0090 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#31 0xb5beaed4 in QApplication::exec () at kernel/qapplication.cpp:3672
#32 0xb77359db in kdemain (argc=1, argv=0xbfcfbe14) at
/usr/src/debug/kdebase-workspace-4.5.1/kwin/main.cpp:531
#33 0x0804860b in main (argc=1, argv=0xbfcfbe14) at
/usr/src/debug/kdebase-workspace-4.5.1/build/kwin/kwin_dummy.cpp:3

-- 
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 29711] kwin crashes when changing font configuration(OpenGL desktop effects enabled)

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29711

--- Comment #9 from Igor Strelnikoff freihe...@mail.ru 2010-09-25 06:39:05 
PDT ---
Application: kwin (4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2)))
KDE Platform Version: 4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2))
Qt Version: 4.7.0
Operating System: Linux 2.6.34-020634-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I opened System Settings - Color Settings - Colors, and changed the color for
Active Titlebar Text, and clicked Apply.

The crash can be reproduced every time.

Thread 1 (Thread 0xb3303720 (LWP 3611)):
[KCrash Handler]
#7  0xb6c719aa in dri2DrawableGetMSC (psc=0x9f5f5d0, pdraw=0x0, ust=0xbf9ce508,
msc=0xbf9ce500, sbc=0xbf9ce4f8) at dri2_glx.c:249
#8  0xb6c4b21c in __glXGetVideoSyncSGI (count=0xbf9ce54c) at glxcmds.c:2317

https://bugs.kde.org/show_bug.cgi?id=241263

-- 
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 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #9 from Marek Olšák mar...@gmail.com 2010-09-25 08:08:49 PDT ---
See: https://bugs.freedesktop.org/show_bug.cgi?id=29066#c10

After git clone, apply the patch using: git am  patch
Also skip the ln command.

-- 
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 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #10 from Gerwin gerwin_kra...@hotmail.com 2010-09-25 09:51:01 PDT 
---
(In reply to comment #9)
 See: https://bugs.freedesktop.org/show_bug.cgi?id=29066#c10
 
 After git clone, apply the patch using: git am  patch
 Also skip the ln command.

The patch worked!

I did:

git clone git://anongit.freedesktop.org/git/mesa/mesa
git am  0001-r300g-attempt-to-fix-tiling-on-R350.patch
./autogen.sh
make

made a backup of the old gallium driver, copied the new one using

sudo cp lib/gallium/*_dri.so /usr/lib/dri/

Double checked it by putting the backup back and the issue was back, putting
the new one back and the issue was gone, so the patch worked, thanks!

-- 
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 30374] ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30374

Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

  Attachment #38952|application/octet-stream|text/plain
  mime type||
  Attachment #38952|0   |1
   is 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 30374] ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30374

--- Comment #2 from Andy Furniss li...@andyfurniss.entadsl.com 2010-09-25 
14:15:38 PDT ---
(In reply to comment #1)
 Created an attachment (id=38952)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38952
 Review: https://bugs.freedesktop.org/review?bug=30374attachment=38952

 readd drm_lock_free
 
 Does this patch help?

  CC [M]  drivers/gpu/drm/drm_lock.o
drivers/gpu/drm/drm_lock.c: In function 'drm_unlock':
drivers/gpu/drm/drm_lock.c:164: error: 'master' undeclared (first use in this
function)
drivers/gpu/drm/drm_lock.c:164: error: (Each undeclared identifier is reported
only once
drivers/gpu/drm/drm_lock.c:164: error: for each function it appears in.)
make[3]: *** [drivers/gpu/drm/drm_lock.o] Error 1
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2

-- 
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 30374] ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30374

Daniel Vetter dan...@ffwll.ch changed:

   What|Removed |Added

  Attachment #38952|0   |1
is obsolete||

--- Comment #3 from Daniel Vetter dan...@ffwll.ch 2010-09-25 14:28:56 PDT ---
Created an attachment (id=38955)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38955
 Review: https://bugs.freedesktop.org/review?bug=30374attachment=38955

readd drm_lock_free

Sorry for wasting your time. This time actually compile-tested.

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


[PATCH] drm_mm: add support for range-restricted fair-lru scans

2010-09-25 Thread Daniel Vetter
Hi all,

This adds support to drm_mm to do range-restricted eviction scans with my
fair-lru scan functions. This is used in a experimental patchset to use
bigger gtt apertures on intel hw. I'm aiming this at 2.6.38 but sending
it out early to solict input.

Please review.

Thanks, Daniel

Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch
---


 drivers/gpu/drm/drm_mm.c |   40 +++-
 include/drm/drm_mm.h |7 +++
 2 files changed, 46 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c
index a6bfc30..c59515b 100644
--- a/drivers/gpu/drm/drm_mm.c
+++ b/drivers/gpu/drm/drm_mm.c
@@ -392,10 +392,36 @@ void drm_mm_init_scan(struct drm_mm *mm, unsigned long 
size,
mm-scanned_blocks = 0;
mm-scan_hit_start = 0;
mm-scan_hit_size = 0;
+   mm-scan_check_range = 0;
 }
 EXPORT_SYMBOL(drm_mm_init_scan);
 
 /**
+ * Initializa lru scanning.
+ *
+ * This simply sets up the scanning routines with the parameters for the 
desired
+ * hole. This version is for range-restricted scans.
+ *
+ * Warning: As long as the scan list is non-empty, no other operations than
+ * adding/removing nodes to/from the scan list are allowed.
+ */
+void drm_mm_init_scan_with_range(struct drm_mm *mm, unsigned long size,
+unsigned alignment,
+unsigned long start,
+unsigned long end)
+{
+   mm-scan_alignment = alignment;
+   mm-scan_size = size;
+   mm-scanned_blocks = 0;
+   mm-scan_hit_start = 0;
+   mm-scan_hit_size = 0;
+   mm-scan_start = start;
+   mm-scan_end = end;
+   mm-scan_check_range = 1;
+}
+EXPORT_SYMBOL(drm_mm_init_scan_with_range);
+
+/**
  * Add a node to the scan list that might be freed to make space for the 
desired
  * hole.
  *
@@ -406,6 +432,8 @@ int drm_mm_scan_add_block(struct drm_mm_node *node)
struct drm_mm *mm = node-mm;
struct list_head *prev_free, *next_free;
struct drm_mm_node *prev_node, *next_node;
+   unsigned long adj_start;
+   unsigned long adj_end;
 
mm-scanned_blocks++;
 
@@ -452,7 +480,17 @@ int drm_mm_scan_add_block(struct drm_mm_node *node)
node-free_stack.prev = prev_free;
node-free_stack.next = next_free;
 
-   if (check_free_hole(node-start, node-start + node-size,
+   if (mm-scan_check_range) {
+   adj_start = node-start  mm-scan_start ?
+   mm-scan_start : node-start;
+   adj_end = node-start + node-size  mm-scan_end ?
+   mm-scan_end : node-start + node-size;
+   } else {
+   adj_start = node-start;
+   adj_end = node-start + node-size;
+   }
+
+   if (check_free_hole(adj_start , adj_end,
mm-scan_size, mm-scan_alignment)) {
mm-scan_hit_start = node-start;
mm-scan_hit_size = node-size;
diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h
index bf01531..e391777 100644
--- a/include/drm/drm_mm.h
+++ b/include/drm/drm_mm.h
@@ -62,11 +62,14 @@ struct drm_mm {
struct list_head unused_nodes;
int num_unused;
spinlock_t unused_lock;
+   unsigned int scan_check_range : 1;
unsigned scan_alignment;
unsigned long scan_size;
unsigned long scan_hit_start;
unsigned scan_hit_size;
unsigned scanned_blocks;
+   unsigned long scan_start;
+   unsigned long scan_end;
 };
 
 /*
@@ -145,6 +148,10 @@ static inline struct drm_mm *drm_get_mm(struct drm_mm_node 
*block)
 
 void drm_mm_init_scan(struct drm_mm *mm, unsigned long size,
  unsigned alignment);
+void drm_mm_init_scan_with_range(struct drm_mm *mm, unsigned long size,
+unsigned alignment,
+unsigned long start,
+unsigned long end);
 int drm_mm_scan_add_block(struct drm_mm_node *node);
 int drm_mm_scan_remove_block(struct drm_mm_node *node);
 
-- 
1.7.1

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


[PATCH] drm: readd drm_lock_free in drm_unlock

2010-09-25 Thread Daniel Vetter
I've accidently killed a little bit too much in

commit 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f
Author: Daniel Vetter daniel.vet...@ffwll.ch
Date:   Mon Aug 23 22:53:24 2010 +0200

drm: kill kernel_context_switch callbacks

Note to self: Next time also test with AIGLX disabled.

Reported-and-Tested-by: Andy Furniss li...@andyfurniss.entadsl.com
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30374
Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch
---
 drivers/gpu/drm/drm_lock.c |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/drm_lock.c b/drivers/gpu/drm/drm_lock.c
index 4b9007e..e5d228e 100644
--- a/drivers/gpu/drm/drm_lock.c
+++ b/drivers/gpu/drm/drm_lock.c
@@ -150,6 +150,7 @@ int drm_lock(struct drm_device *dev, void *data, struct 
drm_file *file_priv)
 int drm_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv)
 {
struct drm_lock *lock = data;
+   struct drm_master *master = file_priv-master;
 
if (lock-context == DRM_KERNEL_CONTEXT) {
DRM_ERROR(Process %d using kernel context %d\n,
@@ -159,6 +160,10 @@ int drm_unlock(struct drm_device *dev, void *data, struct 
drm_file *file_priv)
 
atomic_inc(dev-counts[_DRM_STAT_UNLOCKS]);
 
+   if (drm_lock_free(master-lock, lock-context)) {
+   /* FIXME: Should really bail out here. */
+   }
+
unblock_all_signals();
return 0;
 }
-- 
1.7.1

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


[Bug 30180] HDMI display not detected

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30180

Alex Deucher ag...@yahoo.com changed:

   What|Removed |Added

  Attachment #38688|application/octet-stream|text/plain
  mime type||
  Attachment #38688|0   |1
   is 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


Re: [PATCH] Add drm properties to configure the width of the underscan borders

2010-09-25 Thread Alex Deucher
2010/9/21 Marius Gröger marius.groe...@googlemail.com:
 This allows for a more exact fitting on the physical
 display. The new properties default to zero which corresponds to the
 previous underscan border width[height] formula:
 (display_width[display_width]  5) + 16.

 Example to set a horizontal border width of 30 and a vertikal border
 height of 22:

   xrandr --output HDMI-0 --set underscan on --set underscan hborder 30 
 --set underscan vborder 22

 Signed-off-by: Marius Gröger marius.groe...@googlemail.com

Looks good.

Reviewed-by: Alex Deucher alexdeuc...@gmail.com

 ---
  drivers/gpu/drm/radeon/radeon_connectors.c |   55 
 ++--
  drivers/gpu/drm/radeon/radeon_display.c    |   28 +-
  drivers/gpu/drm/radeon/radeon_mode.h       |    4 ++
  3 files changed, 82 insertions(+), 5 deletions(-)

 diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c 
 b/drivers/gpu/drm/radeon/radeon_connectors.c
 index 1a5ee39..12ec609 100644
 --- a/drivers/gpu/drm/radeon/radeon_connectors.c
 +++ b/drivers/gpu/drm/radeon/radeon_connectors.c
 @@ -326,6 +326,34 @@ int radeon_connector_set_property(struct drm_connector 
 *connector, struct drm_pr
                }
        }

 +       if (property == rdev-mode_info.underscan_hborder_property) {
 +               /* need to find digital encoder on connector */
 +               encoder = radeon_find_encoder(connector, 
 DRM_MODE_ENCODER_TMDS);
 +               if (!encoder)
 +                       return 0;
 +
 +               radeon_encoder = to_radeon_encoder(encoder);
 +
 +               if (radeon_encoder-underscan_hborder != val) {
 +                       radeon_encoder-underscan_hborder = val;
 +                       radeon_property_change_mode(radeon_encoder-base);
 +               }
 +       }
 +
 +       if (property == rdev-mode_info.underscan_vborder_property) {
 +               /* need to find digital encoder on connector */
 +               encoder = radeon_find_encoder(connector, 
 DRM_MODE_ENCODER_TMDS);
 +               if (!encoder)
 +                       return 0;
 +
 +               radeon_encoder = to_radeon_encoder(encoder);
 +
 +               if (radeon_encoder-underscan_vborder != val) {
 +                       radeon_encoder-underscan_vborder = val;
 +                       radeon_property_change_mode(radeon_encoder-base);
 +               }
 +       }
 +
        if (property == rdev-mode_info.tv_std_property) {
                encoder = radeon_find_encoder(connector, 
 DRM_MODE_ENCODER_TVDAC);
                if (!encoder) {
 @@ -1142,10 +1170,17 @@ radeon_add_atom_connector(struct drm_device *dev,
                drm_connector_attach_property(radeon_connector-base,
                                              
 rdev-mode_info.coherent_mode_property,
                                              1);
 -               if (ASIC_IS_AVIVO(rdev))
 +               if (ASIC_IS_AVIVO(rdev)) {
                        drm_connector_attach_property(radeon_connector-base,
                                                      
 rdev-mode_info.underscan_property,
                                                      UNDERSCAN_AUTO);
 +                       drm_connector_attach_property(radeon_connector-base,
 +                                                     
 rdev-mode_info.underscan_hborder_property,
 +                                                     0);
 +                       drm_connector_attach_property(radeon_connector-base,
 +                                                     
 rdev-mode_info.underscan_vborder_property,
 +                                                     0);
 +               }
                if (connector_type == DRM_MODE_CONNECTOR_DVII) {
                        radeon_connector-dac_load_detect = true;
                        drm_connector_attach_property(radeon_connector-base,
 @@ -1170,10 +1205,17 @@ radeon_add_atom_connector(struct drm_device *dev,
                drm_connector_attach_property(radeon_connector-base,
                                              
 rdev-mode_info.coherent_mode_property,
                                              1);
 -               if (ASIC_IS_AVIVO(rdev))
 +               if (ASIC_IS_AVIVO(rdev)) {
                        drm_connector_attach_property(radeon_connector-base,
                                                      
 rdev-mode_info.underscan_property,
                                                      UNDERSCAN_AUTO);
 +                       drm_connector_attach_property(radeon_connector-base,
 +                                                     
 rdev-mode_info.underscan_hborder_property,
 +                                                     0);
 +                       drm_connector_attach_property(radeon_connector-base,
 +                                                     
 rdev-mode_info.underscan_vborder_property,
 +                                                     0);
 +               }
                

[Bug 30337] [r300g bisected] Starcraft 2: circles around units are corrupted

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30337

Tom Stellard tstel...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #8 from Tom Stellard tstel...@gmail.com 2010-09-25 22:40:05 PDT 
---
Fixed in git by commit 522e994a22e8b46c8a41f2920af88c5ebad43cd8

-- 
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 30167] Heroes of Newerth: Setting shader quality to medium results in corrupt rendering

2010-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30167

--- Comment #5 from Tom Stellard tstel...@gmail.com 2010-09-25 22:47:12 PDT 
---
Does running with RADEON_DEBUG=noopt and RADEON_NO_TCL=1 help?

-- 
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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30337

Tom Stellard  changed:

   What|Removed |Added

  Attachment #38942|0   |1
is obsolete||

--- Comment #6 from Tom Stellard  2010-09-24 23:32:26 
PDT ---
Created an attachment (id=38948)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38948
 Review: https://bugs.freedesktop.org/review?bug=30337=38948

Fix v3 - This one should work.

Apply this directly to master.

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


[Bug 30337] [r300g bisected] Starcraft 2: circles around units are corrupted

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30337

--- Comment #7 from Pavel Ondra?ka  2010-09-25 00:22:02 
PDT ---
(In reply to comment #3)
> Created an attachment (id=38923)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38923
 Review: https://bugs.freedesktop.org/review?bug=30337=38923

> Possible Fix
> 
> Here is a possible fix.  If it doesn't work, please post the output of
> RADEON_DEBUG=fp with this patch applied.

Thank you, with this patch there is no more corruption.

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


[Bug 30329] [r600c/evergreen] KWin Present Windows effect extremely slow and has graphical glitches

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30329

Jure Repinc  changed:

   What|Removed |Added

  Attachment #38880|0   |1
is obsolete||

--- Comment #6 from Jure Repinc  2010-09-25 03:34:29 PDT 
---
Created an attachment (id=38949)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=38949)
dmesg.new

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


[Bug 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #6 from Gerwin  2010-09-25 05:48:54 
PDT ---
(In reply to comment #5)
> This looks like a tiling issue and r300c doesn't implement tiling fully. I
> can't reproduce it on R500. Try to set the environment variable
> RADEON_DEBUG=notiling and please let me know if it fixes the issue.

Yes, RADEON_DEBUG=notiling fixes the issue!

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


[Bug 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #7 from Marek Ol??k  2010-09-25 06:02:49 PDT 
---
Created an attachment (id=38951)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38951
 Review: https://bugs.freedesktop.org/review?bug=30313=38951

possible fix

Could you please try this patch?

And please attach you glxinfo of r300c (I'd like to know the PCI ID, which is
in the renderer string).

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


[Bug 29711] kwin crashes when changing font configuration(OpenGL desktop effects enabled)

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29711

--- Comment #8 from Igor Strelnikoff  2010-09-25 06:14:20 
PDT ---
New crash report

Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#7  0xb6bac27b in dri2DrawableGetMSC (psc=0x80d52e0, pdraw=0x0, ust=0xbfcfb028,
msc=0xbfcfb020, sbc=0xbfcfb018) at dri2_glx.c:226
#8  0xb6b85107 in __glXGetVideoSyncSGI (count=0xbfcfb06c) at glxcmds.c:2317
#9  0xb76bb604 in KWin::SceneOpenGL::waitSync (this=0x8155e30) at
/usr/src/debug/kdebase-workspace-4.5.1/kwin/scene_opengl.cpp:781
#10 0xb76c8950 in KWin::SceneOpenGL::flushBuffer (this=0x8155e30, mask=8,
damage=...) at /usr/src/debug/kdebase-workspace-4.5.1/kwin/scene_opengl.cpp:793
#11 0xb7723c0a in KWin::SceneOpenGL::paint (this=0x8155e30, damage=...,
toplevels=...) at
/usr/src/debug/kdebase-workspace-4.5.1/kwin/scene_opengl.cpp:761
#12 0xb76fbe24 in KWin::Workspace::performCompositing (this=0x814ed70) at
/usr/src/debug/kdebase-workspace-4.5.1/kwin/composite.cpp:454
#13 0xb772d49b in KWin::Workspace::qt_metacall (this=0x814ed70,
_c=QMetaObject::InvokeMetaMethod, _id=, _a=0xbfcfb35c)
at /usr/src/debug/kdebase-workspace-4.5.1/build/kwin/workspace.moc:583
#14 0xb66f296d in QMetaObject::metacall (object=0x814ed70,
cl=QMetaObject::InvokeMetaMethod, idx=190, argv=0xbfcfb35c) at
kernel/qmetaobject.cpp:237
#15 0xb6702b1c in QMetaObject::activate (sender=0x814f020, m=0xb68265a4,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#16 0xb6751ef5 in QTimer::timeout (this=0x814f020) at
.moc/release-shared/moc_qtimer.cpp:134
#17 0xb67090e6 in QTimer::timerEvent (this=0x814f020, e=0xbfcfb8b0) at
kernel/qtimer.cpp:271
#18 0xb67014e4 in QObject::event (this=0x814f020, e=0xbfcfb8b0) at
kernel/qobject.cpp:1175
#19 0xb5bed1a4 in QApplicationPrivate::notify_helper (this=0x806d748,
receiver=0x814f020, e=0xbfcfb8b0) at kernel/qapplication.cpp:4396
#20 0xb5bf5dd7 in QApplication::notify (this=0xbfcfbbc4, receiver=0x814f020,
e=0xbfcfb8b0) at kernel/qapplication.cpp:3798
#21 0xb722f401 in KApplication::notify (this=0xbfcfbbc4, receiver=0x814f020,
event=0xbfcfb8b0) at
/usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#22 0xb7695c8f in KWin::Application::notify (this=0xbfcfbbc4, o=0x814f020,
e=0xbfcfb8b0) at /usr/src/debug/kdebase-workspace-4.5.1/kwin/main.cpp:372
#23 0xb66ec12e in QCoreApplication::notifyInternal (this=0xbfcfbbc4,
receiver=0x814f020, event=0xbfcfb8b0) at kernel/qcoreapplication.cpp:732
#24 0xb671d4b4 in sendEvent (this=0x806ded0) at kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x806ded0) at
kernel/qeventdispatcher_unix.cpp:617
#26 0xb671dbfd in QEventDispatcherUNIX::processEvents (this=0x8052b98,
flags=...) at kernel/qeventdispatcher_unix.cpp:938
#27 0xb5ca328a in QEventDispatcherX11::processEvents (this=0x8052b98,
flags=...) at kernel/qeventdispatcher_x11.cpp:152
#28 0xb66eb40d in QEventLoop::processEvents (this=0xbfcfbb14, flags=...) at
kernel/qeventloop.cpp:149
#29 0xb66eb639 in QEventLoop::exec (this=0xbfcfbb14, flags=...) at
kernel/qeventloop.cpp:201
#30 0xb66f0090 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#31 0xb5beaed4 in QApplication::exec () at kernel/qapplication.cpp:3672
#32 0xb77359db in kdemain (argc=1, argv=0xbfcfbe14) at
/usr/src/debug/kdebase-workspace-4.5.1/kwin/main.cpp:531
#33 0x0804860b in main (argc=1, argv=0xbfcfbe14) at
/usr/src/debug/kdebase-workspace-4.5.1/build/kwin/kwin_dummy.cpp:3

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


[Bug 29711] kwin crashes when changing font configuration(OpenGL desktop effects enabled)

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29711

--- Comment #9 from Igor Strelnikoff  2010-09-25 06:39:05 
PDT ---
>>Application: kwin (4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2)))
>>KDE Platform Version: 4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2))
>>Qt Version: 4.7.0
>>Operating System: Linux 2.6.34-020634-generic i686
>>Distribution: Ubuntu 10.04 LTS

>>-- Information about the crash:
>>- What I was doing when the application crashed:
>>I opened System Settings - Color Settings - Colors, and changed the color for
>>Active Titlebar Text, and clicked Apply.

>>The crash can be reproduced every time.

Thread 1 (Thread 0xb3303720 (LWP 3611)):
[KCrash Handler]
#7  0xb6c719aa in dri2DrawableGetMSC (psc=0x9f5f5d0, pdraw=0x0, ust=0xbf9ce508,
msc=0xbf9ce500, sbc=0xbf9ce4f8) at dri2_glx.c:249
#8  0xb6c4b21c in __glXGetVideoSyncSGI (count=0xbf9ce54c) at glxcmds.c:2317

https://bugs.kde.org/show_bug.cgi?id=241263

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


[Bug 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #8 from Gerwin  2010-09-25 07:05:17 
PDT ---
(In reply to comment #7)
> Created an attachment (id=38951)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38951
 Review: https://bugs.freedesktop.org/review?bug=30313=38951

> possible fix
> 
> Could you please try this patch?
> 
> And please attach you glxinfo of r300c (I'd like to know the PCI ID, which is
> in the renderer string).

Renderer string of r300c:

OpenGL renderer string: Mesa DRI R300 (R350 4E48) 20090101  TCL DRI2

I don't have the source of the driver (I am using this r300g driver from the
xorg-edgers ppa)

I can download the source from this ppa, patch and build it, but I am not
experienced with building this driver so then I would need detailed
instructions...

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


[Bug 29711] kwin crashes when changing font configuration(OpenGL desktop effects enabled)

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29711

Martin Gr??lin  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=241263

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


[Bug 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #9 from Marek Ol??k  2010-09-25 08:08:49 PDT 
---
See: https://bugs.freedesktop.org/show_bug.cgi?id=29066#c10

After git clone, apply the patch using: git am < patch
Also skip the "ln" command.

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


[Bug 30374] New: ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30374

   Summary: ums 3D lock since drm: kill kernel_context_switch
callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f
   Product: Mesa
   Version: git
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/R600
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: lists at andyfurniss.entadsl.com


git d-r-t, mesa, ddx and xserver. rv790 PCIE card.

UMS radeon/r600c with current d-r-t soft locks when a mesa demo is run.

Log shows many

[drm:drm_lock_take] *ERROR* 1 holds heavyweight lock

bisect came up with

1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f is first bad commit
commit 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f
Author: Daniel Vetter 
Date:   Mon Aug 23 22:53:24 2010 +0200

drm: kill kernel_context_switch callbacks

Not used by any in-kernel driver. So drop it.

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


[Bug 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #10 from Gerwin  2010-09-25 09:51:01 
PDT ---
(In reply to comment #9)
> See: https://bugs.freedesktop.org/show_bug.cgi?id=29066#c10
> 
> After git clone, apply the patch using: git am < patch
> Also skip the "ln" command.

The patch worked!

I did:

git clone git://anongit.freedesktop.org/git/mesa/mesa
git am < 0001-r300g-attempt-to-fix-tiling-on-R350.patch
./autogen.sh
make

made a backup of the old gallium driver, copied the new one using

sudo cp lib/gallium/*_dri.so /usr/lib/dri/

Double checked it by putting the backup back and the issue was back, putting
the new one back and the issue was gone, so the patch worked, thanks!

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


[Bug 30374] ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30374

--- Comment #1 from Daniel Vetter  2010-09-25 11:33:52 PDT 
---
Created an attachment (id=38952)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=38952)
readd drm_lock_free

Does this patch help?

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


[Bug 30374] ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30374

Alex Deucher  changed:

   What|Removed |Added

  Attachment #38952|application/octet-stream|text/plain
  mime type||
  Attachment #38952|0   |1
   is 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 30374] ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30374

--- Comment #2 from Andy Furniss  2010-09-25 
14:15:38 PDT ---
(In reply to comment #1)
> Created an attachment (id=38952)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38952
 Review: https://bugs.freedesktop.org/review?bug=30374=38952

> readd drm_lock_free
> 
> Does this patch help?

  CC [M]  drivers/gpu/drm/drm_lock.o
drivers/gpu/drm/drm_lock.c: In function 'drm_unlock':
drivers/gpu/drm/drm_lock.c:164: error: 'master' undeclared (first use in this
function)
drivers/gpu/drm/drm_lock.c:164: error: (Each undeclared identifier is reported
only once
drivers/gpu/drm/drm_lock.c:164: error: for each function it appears in.)
make[3]: *** [drivers/gpu/drm/drm_lock.o] Error 1
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2

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


[Bug 30374] ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30374

Daniel Vetter  changed:

   What|Removed |Added

  Attachment #38952|0   |1
is obsolete||

--- Comment #3 from Daniel Vetter  2010-09-25 14:28:56 PDT 
---
Created an attachment (id=38955)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38955
 Review: https://bugs.freedesktop.org/review?bug=30374=38955

readd drm_lock_free

Sorry for wasting your time. This time actually compile-tested.

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


[Bug 30374] ums 3D lock since drm: kill kernel_context_switch callbacks 1da3f87ebb7edb3e0b829ec4bbe5fb3d9d93986f

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30374

--- Comment #4 from Andy Furniss  2010-09-25 
15:06:58 PDT ---
(In reply to comment #3)
> Created an attachment (id=38955)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38955
 Review: https://bugs.freedesktop.org/review?bug=30374=38955

> readd drm_lock_free
> 
> Sorry for wasting your time. This time actually compile-tested.

np and yes, the patch fixes it.

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


[Bug 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #11 from Tomasz Czapiewski  2010-09-25 16:29:11 
PDT ---
(In reply to comment #5)
> This looks like a tiling issue and r300c doesn't implement tiling fully. I
> can't reproduce it on R500. Try to set the environment variable
> RADEON_DEBUG=notiling and please let me know if it fixes the issue.

I have the same issue and RADEON_DEBUG=notiling variable helps here, too.
Tested on Nexuiz.

kernel: linux-image-2.6.35-22-generic (2.6.35-22.33)
xorg: 7.5+6ubuntu3  
xserver-xorg-core: 2:1.9.0-0ubuntu7 
mesa: 7.10.0~git20100925+gallium+r300.58c24390-0ubuntu0tormod   
graphic card: Sapphire Radeon 9600 256MB AGP (RV350)

OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on RV350
OpenGL version string: 2.1 Mesa 7.10-devel
OpenGL shading language version string: 1.20

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 AP [Radeon
9600] [1002:4150]
01:00.1 Display controller [0380]: ATI Technologies Inc RV350 AP [Radeon 9600]
(Secondary) [1002:4170]

I've got RV370 card, too but now I was not able to test if it's got the same
issue:
02:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV370 5B60
[Radeon X300 (PCIE)] [1002:5b60]
02:00.1 Display controller [0380]: ATI Technologies Inc RV370 [Radeon X300SE]
[1002:5b70]

And I've got one more problem with r300g - at the same (custom low) settings
I've had for about 50% more FPS on r300c than on r300g in most places (for
example 20FPS to 30FPS on many map objects on the screen) but when I enable
GLSL in Nexuiz on r300g I have many more FPS, even than in r300c (40-50FPS in
the same places) but then I have other graphic issue. I thought it is something
connected with this issue but for it RADEON_DEBUG=notiling doesn't help.
The issue with GLSL looks like some textures are flashing (once there are
visible (drawn properly) and once not visible at all (only grey color (maybe
other colors, too) in the place of texture). It's flashing very quickly and
cannot be seen on screenshots (I've done almost 100 of them).
Searching bug reports I've saw only this:
https://bugs.freedesktop.org/show_bug.cgi?id=23545 and
https://bugs.freedesktop.org/show_bug.cgi?id=25027
which reading from the description it looks the same.

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


[Bug 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #12 from Tomasz Czapiewski  2010-09-25 16:38:48 
PDT ---
> The issue with GLSL looks like some textures are flashing (once there are
> visible (drawn properly) and once not visible at all (only grey color (maybe
> other colors, too) in the place of texture). 

Now, I've tested other maps in Nexuiz and I see that where the textures are
flashing there are not some colors but textures dissappear and I see through
the walls even the sky in closed places. It can be seen in game menu, too where
'Settings', 'About' and 'Quit' menus are flashing.
Shoud I write a new bug report or comment somewhere in the other bug reports?

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


[Bug 30313] [r300g] Several (big) textures are corrupted when you look at them from certain distances

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30313

--- Comment #13 from Tomasz Czapiewski  2010-09-25 16:45:51 
PDT ---
> Now, I've tested other maps in Nexuiz and I see that where the textures are
> flashing there are not some colors but textures dissappear and I see through
> the walls even the sky in closed places. It can be seen in game menu, too 
> where
> 'Settings', 'About' and 'Quit' menus are flashing.
> Shoud I write a new bug report or comment somewhere in the other bug reports?

Sorry for so many comments but...
Now I've found the same issue with Blur effect in KDE 4.5.1 on Kubuntu 10.10 -
textures are dissapearing and showing again and when I disable Blur and set
other effects to default desktop, panel and windows are visible.

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


[RFC 2/3 v3]update web addresses in stagging

2010-09-25 Thread Justin P. Mattock
On 09/25/2010 01:47 PM, Matthew Dharm wrote:
> On Fri, Sep 24, 2010 at 05:51:56PM -0700, Justin P. Mattock wrote:
>> On 09/24/2010 05:34 PM, Greg KH wrote:
>>> On Fri, Sep 24, 2010 at 05:08:56PM -0700, Justin P. Mattock wrote:
 The below patch, is a simple fix to a broken web address not using a
 period in it's
 name. I'll leave this up to you guys if you want to use it...

   Signed-off-by: Justin P. Mattock
>>>
>>> I'll queue it up, thanks.
>>>
>>> Oh, it's "staging", not "stagging" as you have up there in the Subject:
>>> :)
>>>
>>> thanks,
>>>
>>> greg k-h
>>>
>>
>> shoot... and I actually changed it from staging to stagging thinking
>> that was correct..(duh)..
>>
>> Anyways alright.. I'll exclude this one if the other sets get finalized.
>
> One random suggestion:  Perhaps you should include a date here?  i.e. "URL
> blah blah blah (as of Sept 2010)"
>
> That way, people have some idea how much they can trust that URL without
> having to dig into the kernel history to see when it was last changed.
>
> Matt
>


well.. as it stand right now doing grep -Re "http" in all the 
directories(minus COPYING/MAINTAINERS) gave me a little over 2000
addresses to check(not so bad, only a few days worth of checking(finding 
the broken address is time consuming)).. so I could go back and do this 
for all of them except the webarchive addresses that are broken(maybe 
put a tag on them saying use_webarchive or something).
then there is the question of how much more bloated will the kernel get 
with such a thing(I'm guessing not much, but then again you never know).

Justin P. Mattock


[RFC 2/3 v3]update web addresses in stagging

2010-09-25 Thread Matthew Dharm
On Fri, Sep 24, 2010 at 05:51:56PM -0700, Justin P. Mattock wrote:
> On 09/24/2010 05:34 PM, Greg KH wrote:
> >On Fri, Sep 24, 2010 at 05:08:56PM -0700, Justin P. Mattock wrote:
> >>The below patch, is a simple fix to a broken web address not using a 
> >>period in it's
> >>name. I'll leave this up to you guys if you want to use it...
> >>
> >>  Signed-off-by: Justin P. Mattock
> >
> >I'll queue it up, thanks.
> >
> >Oh, it's "staging", not "stagging" as you have up there in the Subject:
> >:)
> >
> >thanks,
> >
> >greg k-h
> >
> 
> shoot... and I actually changed it from staging to stagging thinking 
> that was correct..(duh)..
> 
> Anyways alright.. I'll exclude this one if the other sets get finalized.

One random suggestion:  Perhaps you should include a date here?  i.e. "URL
blah blah blah (as of Sept 2010)"

That way, people have some idea how much they can trust that URL without
having to dig into the kernel history to see when it was last changed.

Matt

-- 
Matthew Dharm  Home: mdharm-usb at 
one-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

It was a new hope.
-- Dust Puppy
User Friendly, 12/25/1998
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20100925/995f2e65/attachment.pgp>


[Bug 29928] [RADEON-KMS, Evergreen, Eyefinity 5] Invalid output on 4th monitor

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29928

--- Comment #8 from Alex Deucher  2010-09-25 22:07:15 PDT 
---
Does this set of kernel patches help (against 2.6.36)?
http://people.freedesktop.org/~agd5f/pll_fixes/

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


[Bug 30180] HDMI display not detected

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30180

Alex Deucher  changed:

   What|Removed |Added

  Attachment #38688|application/octet-stream|text/plain
  mime type||
  Attachment #38688|0   |1
   is 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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30337

Tom Stellard  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #8 from Tom Stellard  2010-09-25 22:40:05 
PDT ---
Fixed in git by commit 522e994a22e8b46c8a41f2920af88c5ebad43cd8

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


[Bug 30167] Heroes of Newerth: Setting shader quality to medium results in corrupt rendering

2010-09-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30167

--- Comment #5 from Tom Stellard  2010-09-25 22:47:12 
PDT ---
Does running with RADEON_DEBUG=noopt and RADEON_NO_TCL=1 help?

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