Minecraft graphics glitches in Ubuntu 10.10 w/ Intel Graphics
Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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?
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?
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.
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).
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.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.