New to Slack: Problems with Core i5, WINE, & Laptop issues.
SlackwareThis Forum is for the discussion of Slackware 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.
New to Slack: Problems with Core i5, WINE, & Laptop issues.
Greetings!
This is my first post on these forums. I've been using Fedora/Ubuntu and various other Linux distributions over the past 6 years, but this is the first time I've really took a dive into the official Slackware 13.1. I've used Wolvix before, and absolutely loved it, but it's a bit dated for my taste. I absolutely love reading How-To guides and getting everything working on my own, but I'm having way too many problems and can't seem to figure them out myself. So here I am!
To explain my situation:
I just bought a Lenovo ThinkPad x201 with a Core i5 to replace my old x60s Core Duo. I also decided to finally migrate from Debian Testing to Slackware (something I've been trying to do for a couple years now). I've run into several problems so far, but I've managed to iron most of them out, like bluetoothd not starting up. I've tried installing Ubuntu/Debian and both of them work flawlessly out of the box. I had very little setting up to do, and none of the issues I'm about to explain. However, I'm not giving up on Slackware quite yet.
My issues:
Core i5 Speed - Although I get more FPS (according to glxgears) on Slackware as opposed to Debian, the whole system seems to be running a lot slower. Simple tasks can take up to 10 seconds longer to do in Slackware. I've read several guides on setting up Slackware after a fresh install, but most are for version 12, not 13.1 and none of them seem to help with my speed at all.
Which leads me to my next problem.
WoW in WINE - This one I've been fighting with since day one. I play WoW with my girlfriend so we can "spend time together" while I'm away. The very first problem I ran into was actually getting WINE installed, but I managed to work out the kinks. I've tried using both the InstallPKG method, as well as compiling WINE from source. I had NONE of the following problems on Debian, and in-fact, the intro screen seemed to run much smoother on Debian as well.
When I first launch the installer, it says my CPU speed isn't high enough. I know I'm installing it in WINE, and sometimes it prints out false statements like that, but I didn't get that error in Debian. My next problem is after it's installed, the intro movie, and title screen run SLOW. It's extremely jerky and sometimes freezes up all-together. It ran better on my Core DUO! Like I said before, glxgears says I'm running at a good FPS, and I've fiddled around with the Intel drivers and DRI/Mesa enough to know it should be running properly.
I've compared all the versions of the driver/mesa/kernel to the versions that were in Ubuntu/Debian, and they were all the same version or better on Slackware. Hmm.
Finally, when I go to log in, everything crashes, and I'm left with this in the Terminal:
That's exactly where the crash begins, and will go no further. I also had problems getting winetricks to install directx9 stuff, or to even display it's X menu for installing software. I had to use the command line.
EDIT: I forgot to mention one more issue I wanted to cover. When I close my lid, even though I told XFCE to put my computer to sleep, nothing happens. I haven't tried it since I fixed my permission issues, and I'm currently at work right now.
Those are my two primary issues at the moment, so I'll leave it at that. I noticed this post is getting a little too long, and I would be eternally grateful just to get this part solved.
Many thanks for even taking the time to read my post.
1) Make sure you have the intel drivers running properly. Do you notice high CPU usage, or HDD usage, etc ? Make sure to use the generic kernel + initrd.
2) Running WoW with Intel graphics card maybe impossible ... has it worked before, I'm curious.
1) Make sure you have the intel drivers running properly. Do you notice high CPU usage, or HDD usage, etc ? Make sure to use the generic kernel + initrd.
2) Running WoW with Intel graphics card maybe impossible ... has it worked before, I'm curious.
1) This is about the 10th time I've installed Slackware because I've screwed it up trying to figure out how to install Intel/DRM/Mesa from git. I still don't know if I installed them correctly, so I went back to a fresh install. The kernel version and the versions of Intel/DRM/Mesa are newer than that of Ubuntu 10.04 which runs WoW just fine. As far as CPU and HDD usage, I'll need to check again when I get home, but I didn't see anything out of the ordinary before.
2) Actually, I was capable for running WoW on that old x60s with minimal graphics just fine.
?) How do I check initrd? Sorry, I'm at work right now, I'll try to give you more information after I get home.
When I close my lid, even though I told XFCE to put my computer to sleep, nothing happens.
I like to set the lid switch action in /etc/acpi/acpi_handler.sh so that it works in all environments.
Code:
#!/bin/sh
# Default acpi script that takes an entry for all actions
IFS=${IFS}/
set $@
case "$1" in
button)
case "$2" in
power) /sbin/init 0
;;
lid) /usr/sbin/pm-hibernate
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
logger "ACPI group $1 / action $2 is not defined"
;;
esac
1) Make sure you have the intel drivers running properly. Do you notice high CPU usage, or HDD usage, etc ? Make sure to use the generic kernel + initrd.
2) Running WoW with Intel graphics card maybe impossible ... has it worked before, I'm curious.
Alright. I'm home now, and I checked CPU, HDD, and Memory usage, and there's nothing eating it up. My kernel version is 2.6.33.4-smp and is the default kernel that the 13.1 DVD installed. I'm not sure how to check initrd.
The kernel on Debian is 2.6.32-5686 SMP. The kernel, mesa, and drm are actually newer on the Slackware system. The xorg-video-intel are the same, and the only differences I can see between the xorg.conf files, is that Debian detected my board as "Core Processor Integrated Graphics Controller", and Slackware said that both VendorName and BoardName were Unknown, but still used the Intel driver.
Jinx-Wolf, which Slackware are you running? x86-32 or x86-64? WINE will not run properly since Slackware64 is pure 64-bit. You have to install a number of packages to make it multilib to support running 32-bit software. Debian and Ubuntu are multilib, IIRC, and their package repository takes care of the details. With Slackware, those details are up to you.
As for speed, did you install the smp kernel? Otherwise, you may be using only one CPU core. Also, I am not sure about now, but thinkpads had odd acpi implementations when built by IBM. This could result in the wrong CPU frequency scaling. KDE used to have a applet for this (kpowersave?), but XFCE does not that I know of. You can check with lsmod to see if "acpi-cpufreq" or similar module is loaded. Use "cat /proc/cpuinfo" to see the speeds and number of cores active.
Jinx-Wolf, which Slackware are you running? x86-32 or x86-64? WINE will not run properly since Slackware64 is pure 64-bit. You have to install a number of packages to make it multilib to support running 32-bit software. Debian and Ubuntu are multilib, IIRC, and their package repository takes care of the details. With Slackware, those details are up to you.
As for speed, did you install the smp kernel? Otherwise, you may be using only one CPU core. Also, I am not sure about now, but thinkpads had odd acpi implementations when built by IBM. This could result in the wrong CPU frequency scaling. KDE used to have a applet for this (kpowersave?), but XFCE does not that I know of. You can check with lsmod to see if "acpi-cpufreq" or similar module is loaded. Use "cat /proc/cpuinfo" to see the speeds and number of cores active.
It's the 32-bit version of Slackware. This morning it's giving me an entirely different error. I did a quick Google search and found that many people using Maverick are also getting this error, however Lucid did not. I tested to see if WoW was working on Debian and Ubuntu Lucid, NOT Maverick. It could very well be my kernel. I'm using version 2.6.33.1-smp, which came on the DVD. I haven't had much success doing kernel upgrades manually, but I'll go ahead and give it a shot. It seems the latest version should correct my WINE problems.
When I grep for acpi, I get two modules: acpi_cpufreq and thinkpad_acpi
It shows 2 cpu cores in /proc/cpuinfo. I'm not sure where to look for threads, but the i5 version I have has 2 physical cores and 2 threads.
EDIT: I might be a lost cause. I've read SEVERAL tutorials on compiling the Linux Kernel, but I always end up with the same error:
Code:
this was not an error message (mod note)
I've read that it might be do to lilo pointing to the wrong /boot/ partition, but it's pointing to the same one as my old kernel.
I can confirm that WoW will run flawlessly out of the box on Slackware; Been running that way for years now; So what's to be done is to fix the issues you have.
In order to find out why your system seems a bit unresponsive, we have to find out some bottlenecks.
You could run procinfo (and update every second with -n 1 as parameters)
Some things you could note there:
- Total memory (is this indeed what you have in the system? How much is it?)
- Load averages (high values indicate some more specific issues)
- Idle time (if your system is spending most of it's time idle, it indicates the issues are elsewhere; do note that some of those timers are calculated per cpu. For example each idle second on both cpus results in 2 idle seconds)
I bet the issues you have are related to your graphics driver; You state that your system is somewhat unresponsive for simple tasks. What kind of simple tasks? Can you give indications what these are and how long they take before they give a response, as opposed to what you were used to?
Which windowmanager/desktop environment do you use? Are the issues similar in other environments?
EDIT: Thanks for all the help, but I've pretty much narrowed it down. It's due to my lack of experience of working with the actual kernel. I've managed to get WoW running, and a higher framerate. However, things still seem sluggish, my screen is black on login, and now my WiFi doesn't work. I think I just need to play around with the Kernel configuration a bit. There is SO much in there, it can seem overwhelming at first, but I'll get the hang of it.
I apologize for my absence and my ignorance, I've been busy over the weekend, but now I'm back and ready to get this to work!
I use XFCE, but I once install GNOME thinking maybe it would help, but it had the same issues.
I think you're right about the graphics driver. Debian has me spoiled with APT, and I think I might be installing the drivers incorrectly. I can't even seem to compile a kernel correctly, because every time I try, it ends in a Kernel Panic. I feel like such a n00b!
I ran procinfo, but I'm not entirely certain if I understand it all:
After about 10 minutes of usage:
Total Memory: 3028768 Used: 349828
Load average: 0.25 0.15 1/264 2703
idle: 46650.0%
After an additional 10 minutes of doing nothing at all:
Total Memory: 3028768 Used: 359704
Load average: 0.00 0.00 0.02 1/264 2703
idle: 89664.0&
I remember now that I had a similar problem with WoW on the ThinkPad x60s, when I had to install a MESA driver through APT that did not come default with Debian/Ubuntu...
The total memory and the used percentage indicate that memory is not a bottleneck here; That all of your memory apperast to be discovered (3G of RAM); Load averages indicate there is not alot of wait i/o going on (wait i/o would increase load averages as well as real cpu usage would) Idle percentages are high due to multiple cores, causing the counters to show impossible amounts of idle time ;-)
Do not feel embarassed that you cannot compile your own kernel; Kernel compilation nowadays is a much more complex task than it used to be about 15 years ago. No reason to feel a n00b if you can't ;-)
Anyway, the low performance is most likely caused by incorrect or not-ideal graphics drivers; This would be the first point to look into; A google search on your laptop graphics card in combination with linux may point you towards a good configuration; I'll take a look around when I have some spare time.
When looking about on the interwebs, there seems to be some issues regarding this graphical "card" (GMA actually). You could learn something by reading here: http://intellinuxgraphics.org/
There appears to be a driver package etc that should allow you to get this working; Let us know how you progress about here.
When looking about on the interwebs, there seems to be some issues regarding this graphical "card" (GMA actually). You could learn something by reading here: http://intellinuxgraphics.org/
There appears to be a driver package etc that should allow you to get this working; Let us know how you progress about here.
Thanks for explaining procinfo a bit better. It's sad that I still don't understand /proc, or compiling the kernel that well after watching 3 LPIC/Linux+ training video sets.
After finally figuring out how to compile the kernel properly(I wasn't comping ext4 support before, because I ASSumed too much), things are working BETTER, but not optimal.
I downloaded the 2.6.37.2 kernel, and compiled it with the corresponding drivers for my Intel GMA HD. glxgears' FPS went from 1077 to 1450, but it's still running WAY worse than my old ThinkPad that had 600FPS. WoW now starts up just fine, no errors, but it does have a little more lag than my old laptop. Also, "simple tasks", as in opening up mousepad, seem to hang up for a second or two. I want that instant gratification that the i5 is supposed to give me ;P
I've read that Intel site several times, front and back, and I'm still not sure if I'm installing the drivers properly. I get hung up at the installation of MESA, because it doesn't really have instructions for it, it just points me elsewhere. I didn't stop there, I installed all 4 xf86-video-intel, mesa, drm/agpgart, and libdrm, but I'm not sure if I installed the correctly. git is a whole new monster for me. I've used it a couple times in the past on a Fedora system, but I was following a guide.
[Side Question: I guess I'll just have to keep poking at the kernel until it does exactly what I want? I originally compiled it with little support for any other devices on my system, then went back and recompiled it again with WiFi modules, etc. Still having problems with poor console resolution, blank screen at boot, and bluetooth, but I suppose that just means I have to dig through those menus until I find the droids I'm looking for.]
EDIT: Don't know how I missed it before, but I ran across a thread that said the ThinkPad x201 works best with Kernel v2.6.32, and guess what? Debian and Ubuntu were both v2.6.32! I have work now, but I'll compile it and see how it goes when I get back.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.