LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 12-03-2011, 04:56 PM   #1
Rotten194
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Rep: Reputation: Disabled
Question Minecraft graphics glitches in Ubuntu 10.10 w/ Intel Graphics


Issue:
http://i.imgur.com/pY848.png
Basically, black noise all over the screen.

I'm running Ubuntu 10.10, with an Intel (i7) graphics card.

Info:
Code:
jon@ubuntu: sudo lspci -v                                                   (0)
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
	Subsystem: Toshiba America Info Systems Device fc30
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Toshiba America Info Systems Device fc30
	Flags: bus master, fast devsel, latency 0, IRQ 50
	Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915
Minecraft console output:
Code:
jon@ubuntu: ./minecraft.sh                                                  (0)
27 achievements
174 recipes
Setting user: <me>, <sessionid>
Mesa: Initializing x86-64 optimizations
Loading: net.java.games.input.LinuxEnvironmentPlugin
Failed to open device (/dev/input/event12): Failed to open device /dev/input/event12 (13)

Failed to open device (/dev/input/event8): Failed to open device /dev/input/event8 (13)

Failed to open device (/dev/input/event7): Failed to open device /dev/input/event7 (13)

Failed to open device (/dev/input/event6): Failed to open device /dev/input/event6 (13)

Failed to open device (/dev/input/event5): Failed to open device /dev/input/event5 (13)

Failed to open device (/dev/input/event4): Failed to open device /dev/input/event4 (13)

Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13)

Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)

Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)

Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)

Linux plugin claims to have found 0 controllers

<game runs for awhile>
<hit "quit game" on main menu>

Stopping!
Exception in thread "Minecraft main thread" org.lwjgl.LWJGLException: X Error - disp: 0x7f073002f690 serial: 41392 error: GLXBadWindow request_code: 155 minor_code: 32
	at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:313)
	at org.lwjgl.opengl.LinuxDisplay.nDestroyWindow(Native Method)
	at org.lwjgl.opengl.LinuxDisplay.destroyWindow(LinuxDisplay.java:560)
	at org.lwjgl.opengl.Display.destroyWindow(Display.java:351)
	at org.lwjgl.opengl.Display.access$400(Display.java:62)
	at org.lwjgl.opengl.Display$5.destroy(Display.java:860)
	at org.lwjgl.opengl.Display.destroy(Display.java:1110)
	at net.minecraft.client.Minecraft.d(SourceFile:514)
	at net.minecraft.client.Minecraft.run(SourceFile:675)
	at java.lang.Thread.run(Thread.java:662)
<^C and kill it>
Driver is mesa, I've tried compiling the version from Intel's open-source site as well as installing it via apt-get, both of which had this issue.

After a reboot, Minecraft doesn't have this issue, but after about a minute it suddenly shows up. After that, immediately after starting Minecraft it has this issue, so I think it's an issue in the driver itself and not with Minecraft.
 
Old 12-05-2011, 01:49 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
What kind of computer do you have? I have the Alienware M14x, running Fedora 15 64-bit, and I had a similar issue. After installing bumblebee and configuring everything to work properly, using my nvidia chipset, the problem went away. Also, after I installed the needed dependencies and libraries to enable 3D support for the Intel graphics chipset, the problem went away.
 
1 members found this post helpful.
Old 12-05-2011, 05:59 PM   #3
Rotten194
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks corp769. I have a Toshiba Satellite, which doesn't have a discrete graphics card (only an integrated one), so I don't think Bumblebee would help. I think I have all the Mesa dependencies installed, though there's a lot of them.
 
Old 12-11-2011, 06:50 PM   #4
yooman
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Rep: Reputation: Disabled
+1 on this problem

Hi Rotten194,

I have the same problem! Did you ever figure out a solution?
I'm running a fresh install of Ubuntu 11.10 on an HP Probook 4530s (Intel Core i3) with integrated graphics.
The problem is present when running Minecraft with both the OpenJDK JVM (installed via apt) and the official Sun/Oracle JVM (downloaded from java.com).

I've noticed that the "noise" particles seem to be holes in the rendered world-- you can see through them. See this screenshot, noise above the horizon is blue (the sky) and noise below the horizon is black (the void): http://i.imgur.com/gVGLa.png I can sometimes also see torches on the opposite side of a wall through the noise on that wall.
Also, it gets a LOT worse when you're actually mining, as I imagine the rapid texture swaps (block getting more and more cracked) exacerbates this problem: http://i.imgur.com/wOooe.png

Interestingly, if I leave Minecraft running in the background and navigate around Ubuntu, the UI in other programs starts to glitch and flicker as well! This makes me think it's a video driver problem and not a Java problem.

Code:
mturley@SpaceTrapezoid:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
	Subsystem: Hewlett-Packard Company Device 167c
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 167c
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at d4000000 (64-bit, non-prefetchable) [size=4M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 5000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915
Let's figure this out together. It's very annoying and makes the game nearly unplayable at times.
 
1 members found this post helpful.
Old 12-11-2011, 06:52 PM   #5
Rotten194
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yooman View Post
Hi Rotten194,

I have the same problem! Did you ever figure out a solution?
I'm running a fresh install of Ubuntu 11.10 on an HP Probook 4530s (Intel Core i3) with integrated graphics.
The problem is present when running Minecraft with both the OpenJDK JVM (installed via apt) and the official Sun/Oracle JVM (downloaded from java.com).

I've noticed that the "noise" particles seem to be holes in the rendered world-- you can see through them. See this screenshot, noise above the horizon is blue (the sky) and noise below the horizon is black (the void): http://i.imgur.com/gVGLa.png I can sometimes also see torches on the opposite side of a wall through the noise on that wall.
Also, it gets a LOT worse when you're actually mining, as I imagine the rapid texture swaps (block getting more and more cracked) exacerbates this problem: http://i.imgur.com/wOooe.png

Interestingly, if I leave Minecraft running in the background and navigate around Ubuntu, the UI in other programs starts to glitch and flicker as well! This makes me think it's a video driver problem and not a Java problem.

Code:
mturley@SpaceTrapezoid:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
	Subsystem: Hewlett-Packard Company Device 167c
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 167c
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at d4000000 (64-bit, non-prefetchable) [size=4M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 5000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915
Let's figure this out together. It's very annoying and makes the game nearly unplayable at times.
Yes, this is exactly the problem I'm having! I haven't managed to fix it, however. What drivers are you using?
 
Old 12-11-2011, 09:37 PM   #6
yooman
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by Rotten194 View Post
What drivers are you using?
I'm not sure... whatever comes stock with Ubuntu. Nothing shows up in Ubuntu's "Additional Drivers" utility, and I haven't gone looking for any. All I've installed since I installed Ubuntu is the Gnome3 Shell (I prefer it to Unity), some Gnome3 extensions, some media codecs, and the two different JVMs.

Where can you find alternate Intel graphics drivers for Ubuntu?
 
1 members found this post helpful.
Old 12-11-2011, 09:39 PM   #7
Rotten194
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by yooman View Post
I'm not sure... whatever comes stock with Ubuntu. Nothing shows up in Ubuntu's "Additional Drivers" utility, and I haven't gone looking for any. All I've installed since I installed Ubuntu is the Gnome3 Shell (I prefer it to Unity), some Gnome3 extensions, some media codecs, and the two different JVMs.

Where can you find alternate Intel graphics drivers for Ubuntu?
Probably the VESA driver than... I was using that, then I installed the MESA one (from source, but it should be available in the repositories too), but it didn't help.
 
Old 12-11-2011, 09:43 PM   #8
yooman
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by Rotten194 View Post
Probably the VESA driver than... I was using that, then I installed the MESA one (from source, but it should be available in the repositories too), but it didn't help.
I'll give that a try and get back to you. Have you done any other research on this issue? Any ideas for what else to try? I've been googling around with not much to show for it (except discovering this thread, of course).
 
1 members found this post helpful.
Old 12-11-2011, 09:45 PM   #9
Rotten194
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yooman View Post
I'll give that a try and get back to you. Have you done any other research on this issue? Any ideas for what else to try? I've been googling around with not much to show for it (except discovering this thread, of course).
I've looked all over and haven't found anything (besides the MESA driver). At this point, I think it's just an issue with the drivers and won't get a fix until Intel updates them.
 
Old 12-11-2011, 10:23 PM   #10
yooman
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by Rotten194 View Post
I've looked all over and haven't found anything (besides the MESA driver). At this point, I think it's just an issue with the drivers and won't get a fix until Intel updates them.
Well, shit.
 
1 members found this post helpful.
Old 12-11-2011, 10:39 PM   #11
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Ubuntu 10.10/11.04 + 'sandy bridge' video = not fun.

http://www.phoronix.com/scan.php?pag...nb_natty&num=1

Quote:
Originally Posted by yooman View Post
Where can you find alternate Intel graphics drivers for Ubuntu?
x-updates or xorg-edgers PPA.

https://launchpad.net/~ubuntu-x-swat/+archive/x-updates

https://launchpad.net/~xorg-edgers/+archive/ppa

Either of them might help, but they could also make things even worse.
 
1 members found this post helpful.
Old 12-11-2011, 11:37 PM   #12
yooman
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by cascade9 View Post
x-updates or xorg-edgers PPA.

https://launchpad.net/~ubuntu-x-swat/+archive/x-updates

https://launchpad.net/~xorg-edgers/+archive/ppa

Either of them might help, but they could also make things even worse.
Thanks! I assume I should be trying the "xserver-xorg-video-intel" package? Also, if I decide one isn't right and want to switch to the other, is it adequite to simply remove the package with apt, remove the PPA, add the alternate PPA, and reinstall? or is there more cleanup entailed in switching from one to another?

Last edited by yooman; 12-11-2011 at 11:43 PM.
 
1 members found this post helpful.
Old 12-12-2011, 09:20 PM   #13
afaulkner
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
I was having this same problem. I'm fairly sure I fixed it, but not completely positive. I had to compile a kernel from the linux-next git repo, and the problem went away. I also compiled mesa and xf86-video-intel from git, but I'm pretty sure the new kernel is what fixed it.

Its been running for about 45 minutes without the glitches appearing, which is longer than has ever happened before.
 
1 members found this post helpful.
Old 12-13-2011, 12:12 AM   #14
yooman
LQ Newbie
 
Registered: Dec 2011
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by afaulkner View Post
I was having this same problem. I'm fairly sure I fixed it, but not completely positive. I had to compile a kernel from the linux-next git repo, and the problem went away. I also compiled mesa and xf86-video-intel from git, but I'm pretty sure the new kernel is what fixed it.

Its been running for about 45 minutes without the glitches appearing, which is longer than has ever happened before.
Oh yeah? Which Kernel was it?
 
1 members found this post helpful.
Old 12-13-2011, 02:14 AM   #15
afaulkner
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Quote:
Oh yeah? Which Kernel was it?
3.2.0-rc5-next-20111212-dirty - Output from uname -r.

Its been running for several hours now without glitches. I think that it fixed it.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thinkpad T410 graphics issues / Intel HD Graphics Landshark Linux - Laptop and Netbook 1 04-02-2010 07:13 PM
Sound and Graphics not working in Intel D101GGC with ATI graphics and Realtek audio sanu1 Linux - Hardware 2 12-28-2008 08:29 PM
Fedora 10 glitches: Graphics not working fine. crimsonflame123 Fedora 2 11-28-2008 08:58 AM
Intel Extreme Graphics 865GBF graphics driver _UnPrEdictAbLe_ Linux - Hardware 3 07-31-2006 02:48 AM
Graphics issues with Intel 82856G Graphics Adapter herrmag Linux - Newbie 1 08-09-2004 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration