It is a simples render code with only this:
Code: Select all
public void render() {
33 Graphics2D g = (Graphics2D) bufferStrategy.getDrawGraphics();
34 g.setColor(Color.black);
35 g.fillRect(0, 0, mainWindow.getWidth(), mainWindow.getHeight());
36 onRender(g);
37 g.dispose();
38 bufferStrategy.show();
39 }
When I type top on terminal my xorg is with 100% of cpu usage and a Java application too.
when I type lspci -nn | grep VGA
it shows me
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Thames [Radeon 7500M/7600M Series] [1002:6841]
I already installed the ATI drivers but did not solve the problem.
Someone can help me?