FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Strange rendering bug (Netbeans 6.5, Ubuntu 8.10)
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
cesc



Joined: 26 Nov 2008
Posts: 6

PostPosted: Wed Nov 26, 2008 5:06 pm    Post subject: Reply with quote

Ok, thx very much for your help.
Back to top
View user's profile Send private message
Jan Chalupa
Posted via mailing list.





PostPosted: Wed Nov 26, 2008 8:58 pm    Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

If anyone is still interested, here's more info from the Java graphics
experts:

----------------------------%<-----------------------------
The following from the xorg.log file tells us that EXA hw accelerated
rendering is enabled:
(II) EXA(0): Offscreen pixmap area of 84934656 bytes
(II) EXA(0): Driver registered support for the following operations:
(II) Solid
(II) Copy
(II) Composite (RENDER acceleration)

The EXA drivers are still very buggy so this is likely a driver bug.
Please try switching to XAA and see if it makes any difference.
(add Option "AccelMethod" "XAA" to xorg.conf, see 'man xorg.conf').
----------------------------%<-----------------------------

Another work around for this issue is the previously mentioned
"-J-Dsun.java2d.pmoffscreen=false" switch.

One more time: thank you all for your help!

-Honza


Jan Chalupa wrote:
Quote:
Great! Thanks for all your help. I'll update the bug report accordingly.

-Honza

ako wrote:
Quote:
So, I tried the notepad example with the previous java update, but the
bug is the same there.


Code:


java version "1.6.0_07"

Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)







But it works when I use the parameter, just like the last poster
reported.


Code:
-Dsun.java2d.pmoffscreen=false
















Back to top
ako



Joined: 21 Nov 2008
Posts: 11

PostPosted: Wed Nov 26, 2008 9:40 pm    Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

Jan Chalupa wrote:

The EXA drivers are still very buggy so this is likely a driver bug.
Please try switching to XAA and see if it makes any difference.
(add Option "AccelMethod" "XAA" to xorg.conf, see 'man xorg.conf').


Thank you, I will try that tomorrow!
By googling for that, I found that some people have the same problems with their SAP Gui Smile
https://www.sdn.sap.com/irj/scn/message?messageID=6554847
The combination of Ubutnu 8.10 and intel drivers seems to be the issue here.
Back to top
View user's profile Send private message
ksfreitas



Joined: 20 Jan 2009
Posts: 1

PostPosted: Tue Jan 20, 2009 12:53 pm    Post subject: Intel chipset Reply with quote

This bug affect Intel chipsets. Anybody with other videocard have this issue?

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/299867

Any information of hardware will be helpful. Thanks.
Back to top
View user's profile Send private message
momchilk



Joined: 20 Jan 2009
Posts: 1

PostPosted: Tue Jan 20, 2009 2:00 pm    Post subject: Confirming the problem Reply with quote

Hi there!

I have the same problem. Spending few days researching the problem I can state that:
1. The problem is related with Xorg 7.4. If you use earlier version - everything is OK
2. The problem is related to intel graphic cards (probably intel driver) and not SIS and NVidia (those types I have). With Xorg 7.4 and some other card - no problem.
3. The problem is related to Java applications that use SWING. Eclipse does not this bug because it uses GTK to draw the interface
4. Does not matter which Java version you use - 1.4.x, 1.5.x, 1.6.x - same (d)effect

If someone of the developers needs more information - let me know I'll provide whatever I can.

Currently I'm forced to use Eclipse for PHP and Java development I do which is a big pain in the ass for me. Hope there will be a solution soon!

<edit few minutes later>
Huge Thanks to Jan Chalupa!!! Adding folowing line:
Code:
Option "AccelMethod" "XAA"

in Screen section of xorg.conf definitely solved the problem in NetBeans and in ZendStudio. Looks like this really is a Intel's driver problem.
</edit>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB