LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-23-2013, 07:43 PM   #1
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Rep: Reputation: 3
Minecraft on Debian using 7u3-2.1.7-1


I am trying to figure out where to go for the Debian repository that has OpenJDH7u3-2.1.7-1 on it, or to find out if anyone knows if there is something I can do with OpenJDK6 that will be likely to solve some issues with Minecraft.

I am using Wheezy, I believe. Current stable version in any event.
 
Old 06-23-2013, 10:21 PM   #2
buttugly
Member
 
Registered: Feb 2006
Distribution: distrohopper
Posts: 58

Rep: Reputation: 16
http://packages.debian.org/search?keywords=openjdk-7

What are the issues?
 
Old 06-24-2013, 11:50 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Can you post the contents of your /etc/apt/sources.list.
jdk
 
Old 06-24-2013, 02:54 PM   #4
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by buttugly View Post
If I play for a few minutes, it starts getting jerky graphics. If I change the video settings, pretty much no matter what change I make, it gets better, but then slowly deteriorates again.

I just upgraded to Wheezy. OMFG did they ever screw up Gnome. =S Oh well... Guess I'll get used to it...

Anyhow, OpenJDK7 is available for Wheezy, so I should be able to get it in here once I finally figure out where everything is in Gnome again. Will let you know if it helped.
 
Old 06-24-2013, 03:02 PM   #5
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by jdkaye View Post
Can you post the contents of your /etc/apt/sources.list.
jdk
Rather long. I ended up adding the squeeze ones back per Wheezy instructions when the install refused to proceed due to "Could not perform immediate configuration" error. I am not sure if it helped or not. What worked was to install the packages separately that were causing the issue.

I'm still not totally done with the upgrade. Need to be sure my kernel is correct, so it would seem.

Code:
# 

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 NETINST Binary-1 20120930-15:53]/ squeeze main

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 NETINST Binary-1 20120930-15:53]/ squeeze main

deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main

deb http://ftp.us.debian.org/debian/ squeeze-updates main
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main
 
Old 06-24-2013, 03:52 PM   #6
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Drat.

Upgrade to OpenJDK7 (As well as entire OS) did not work well. There is definite improvement, but the same issue crops up. It seems to sort of work itself out after playing a while though. Odd.

Any other ideas?

Also, it seems I have the Mobile Intel 4 Series Express Chipset Family Graphics running on the vesa driver that seems to come standard with Debian. If anyone knows how to go about getting a more specific driver for this, or upgrade vesa, or do any optimization, I would appreciate the advice. (8086:2a42)

Last edited by ShaneRoach; 06-24-2013 at 06:22 PM.
 
Old 06-25-2013, 12:01 AM   #7
buttugly
Member
 
Registered: Feb 2006
Distribution: distrohopper
Posts: 58

Rep: Reputation: 16
lspci? a quick google tells me gma4500, lspci mean more.

Why not back up what you need to, install wheezy from scratch and then move forward. I'd have to guess your half n half is not going to play nice for long anyway. I can't tell if you did or didn't install the os from your post.

Did you make a home partition or at least another one you can back up to? If you didn't last time you'll have to hunt an external drive, but do make one this time.

Got an ethernet cable just in case? wireless can be persnicity.

My kid did the minecraft server thing, there are command line switches to do ram stuff for the java/game n what not, i'd imagine there are switches you could use when launching the jar file.

fwiw, the critter has a 4gig gtx680 and complains when his frame rate drops from 200 to 150.

Is there another java based program you could test to see if its minecraft or java?

Also be aware of 32bit vs 64bit if you are multilib. How much ram do you have?

Wheezy etc is not going to have "some firmware" because of open source rules, you may have to enable non-free, we'll know more after lspci.
 
Old 06-25-2013, 10:51 AM   #8
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Heya Buttugly. (Funny)

lspci gave me the video hardware which uses vesa in Debian. I have yet to find if there is anything else I might could do for the video driver. Right now I am playing with opengl off.

The ugrade logging that scrolls by as you install told me about firmware needs, but I had forgotten about it till I revisited this thread.

What I'd like most from you if you can spare the time is some tips on optimizing those java switches - some keywords or a good online source perhaps?

I have Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz and 2G of RAM on a laptop. It's 64 bit, and I have the correct kernel I believe for 64 bit - AMD64. I have been intending to get a desktop.

I have yet to look at the framerate. Frankly as long as I can maneuver well enough to kill spiders, I don't much care about the framerate. In the last day or so, the performance has improved. I cannot really tell why.

Again, the specific symptom was that the video would get very jerky, and if I changed a video setting (I tended to change the shading setting) it would clear up for a few minutes and then slowly get slower again. Now it is not doing it anymore, and I could no more tell you why than the where they hid the man on the moon.... :-S

At least it gave me a motive to upgrade my Debian.

I have two partitions, and the other one is still running squeeze. I back up onto an external drive. No worries there.

But yeah, any info on all of that fun java optimization as it pertains to openjdk would be much appreciated.

Just fyi, here is the lspci output.

Code:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
 
Old 06-27-2013, 02:36 PM   #9
buttugly
Member
 
Registered: Feb 2006
Distribution: distrohopper
Posts: 58

Rep: Reputation: 16
So did you get the firmware? I'm a bit curious about the vesa thing, I would think you should be using intel. xorg.conf is "normally" not used anymore except in specific instances.

Ingnore the fedora reference but look at this http://www.linuxquestions.org/questi...500mhd-894312/

Resolution might be what is causing the disconnect, by this I mean, either the gma 4500 or the display is not reporting their capabilities correctly to xorg. What make, model, maybe a link to the laptop mfg specs page? What is its "optimum" resolution? Is it running that? Can you post Xorg.0.log? (/var/log) Post dmesg too please.

We have to get you using a legitimate driver for your hardware.

For the java options, I give you this, with a hint of comedy, for giggles and sh^ts!

http://lmgtfy.com/?q=openjdk+command...ions+minecraft
 
Old 06-28-2013, 11:23 PM   #10
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
a few things that could result in the Ok --> slow --> ok --> slow

One is CPU throttling due to heat
Check CPU temps and Frequency

Another is memory, check the swap use with top ( which will also give indication of CPU usage )

Third is AutoSave ( less likely )
if you are at your hardware limits and then ask it to save to disk it will have an impact.


Try reducing the render distance and turning off all the extra graphics features.


My Core2 T8300 @ 2.4, 4G Ram would go for 30-60 min and then begin to get laggy
Heat being the problem

Edit: forgot
the java mem 'tweaks'

Code:
-Xms512M -Xmx1024M 
  start    max
adjust numbers to suit ( might as well have them both the same unless running multiple servers)

Last edited by Firerat; 06-28-2013 at 11:40 PM.
 
Old 06-30-2013, 11:26 AM   #11
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
I had thought I had posted that I had reduced Minecraft video settings. As it turns out I had only mentioned in passing that any change up or down in video settings fixed the problem temporarily, which I associated with the game flushing SOMETHING, although looking at cpu and memory usage I never saw any spike that would seem to be causing the issue.

lspci -nn gives me the info on the graphics card, Buttugly.

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)


that 8086:2a42 part is what gives me vesa graphics drivers in google searches. However, it seems it would work better with the Intel driver back when it first was tested.

http://wiki.debian.org/InstallingDeb...pad/T400/lenny for example. I am not sure how to go about getting and installing that driver.

Here are the firmware changes that were suggested.

r8169: rtl_nic/rtl8168f-2.fw, rtl_nic/rtl8168f-1.fw, rtl_nic/rtl8105e-1.fw, rtl_nic/rtl8168e-3.fw, rtl_nic/rtl8168e-2.fw, rtl_nic/rtl8168e-1.fw, rtl_nic/rtl8168d-2.fw, rtl_nic/rtl8168d-1.fw

I haven't bothered with it yet. Things by and large seem to be running fine except for some reason now the sound doesn't work with Wine, but I have never had much luck with Wine anyhow.
Attached Files
File Type: log Xorg.0.log (34.9 KB, 20 views)
File Type: log dmesg.log (50.7 KB, 23 views)

Last edited by ShaneRoach; 06-30-2013 at 11:39 AM. Reason: Uploading logs
 
Old 06-30-2013, 11:41 AM   #12
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by buttugly View Post
For the java options, I give you this, with a hint of comedy, for giggles and sh^ts!

http://lmgtfy.com/?q=openjdk+command...ions+minecraft
LOL

Just read that....
 
Old 06-30-2013, 12:00 PM   #13
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Are you playing this game under wine? This is unneccesary, as this game works natively on Linux. Did you tried to download newest LWJGL libraries? You should extract apopriate files into ~/.minecraft/bin and ~/.minecraft/bin/natives directories replacing old.
 
Old 06-30-2013, 12:17 PM   #14
ShaneRoach
Member
 
Registered: Apr 2013
Posts: 68

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by eSelix View Post
Are you playing this game under wine? This is unneccesary, as this game works natively on Linux. Did you tried to download newest LWJGL libraries? You should extract apopriate files into ~/.minecraft/bin and ~/.minecraft/bin/natives directories replacing old.
No

I said since upgrading my os, Wine does not work with my sound anymore. Just an aside.

Does the engine not update its utilities when you force update? Why would I need to visit a separate site to keep the Minecraft tools within the minecraft launcher itself up to date?

http://www.minecraftwiki.net/wiki/Tu...s/Update_LWJGL

It seems it does update on its own, and fiddling with it without having a specific issue to fix can cause issues to crop up that force you to roll back anyhow. I don't think I will try this just yet.

looking forward to Monday's Horse release tho!

Last edited by ShaneRoach; 06-30-2013 at 12:28 PM. Reason: Further commentary on lwjgl
 
Old 06-30-2013, 01:27 PM   #15
buttugly
Member
 
Registered: Feb 2006
Distribution: distrohopper
Posts: 58

Rep: Reputation: 16
Firerat maybe on to something, especially with this being a laptop....

When is the last time you cleaned the fan, it's not hard(don't let the fan spin when blowing) If you need guidance ask. dmesg shows 33 degrees C at boot....

He also stole my thunder and gave you the java command line options for FREE. I was under the impression that they should be the same but try it, supposedly 512 is "optimum" from reading but ymmv.

There is lm-sensors to get temp readings from, if I remember right you have to run sensorsdetect first to get everything happy. Run the game like you stole it until it lags and see what temps say.

Look in power options, change the cpu scaling settings to fixed, does that help? Are you on a/c or battery when you play? Is there a difference? Remember to set back if you go mobile....

*************
Back to video settings, it appears that vesa, framebuffer and intel have been "found", the idea being if one doesn't work another one is ready to go. Unless you have a non-standard set up xorg.conf is not necessary. So;

Do you have an /etc/X11/xorg.conf?

Can you try backing it up, delete it (follow the steps in this link)

http://wiki.debian.org/Xorg

Did it change anything?

Can I get lsmod?

********************
Firmware you listed is for the realtek nic, your call on using it or not. Just for giggles&sh^ts, does playing on wired vs wireless make any difference.
 
  


Reply



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
Minecraft Problems! goodbyebluemonday Linux - Games 3 07-03-2017 11:40 AM
Rasberry Pi + Minecraft = Fun sycamorex Linux - News 0 12-17-2012 06:01 PM
Minecraft not running on Java 7 Lumify Linux - Games 16 06-27-2012 03:40 AM
minecraft ssh todo Linux - Newbie 2 01-12-2012 07:15 PM

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

All times are GMT -5. The time now is 04:20 AM.

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
Open Source Consulting | Domain Registration