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.
Has anyone here tried intel kernel mode setting with slack-current?
I managed to make it work (well, almost), there're still some problems remain. I really appreciate if someone can give me some clue.
I have G45 chipset (GMA X4500HD). I've updated xorg.conf to remove all input devices and switch to "UXA" acceleration method. That works nicely with VESA framebuffer before I enable kernel mode setting.
Then I recompiled my kernel to enable kernel mode setting by default:
Code:
CONFIG_DRM_I915_KMS=y
After that, I can switch among graphic consoles (I configured two of them using kdm) extremely fast, without any blink. However, I can no longer switch to text consoles. I decided that's because I don't use intel framebuffer driver, so I compiled intel framebuffer driver into kernel directly:
Code:
CONFIG_FB_INTEL=y (... and quite a few of other dependents)
I found VESA framebuffer will always be used, even if I specified the following boot option:
Code:
video=intelfb:mode=800x600
Well, I finally solved the problem by forcing all consoles to map to the second framebuffer driver with the following boot parameter:
Code:
fbcon=map:1
After that, I can switch to text consoles (BTW, the switch is REALLY fast!), but I still have quite some nuisance, like X crash when logout from Xfce. I finally decided to remove VESA framebuffer and use intel framebuffer only. However, all problem still remains, except I can greatly simplify the boot options (no more vga=..., fbcon=map:1 etc.).
Now I'll list all problems I found, hopefully someone here knows how to solve them:
I loss penguin mascot on boot screen, it's now text only (yes, I compiled in the logo, it works when I use VESA framebuffer). It seems intel framebuffer won't take control at the early stage of booting. Is that expected behavior?
Video mode specified with "video=intelfb:mode=800x600" boot option will be totally ignored. Once framebuffer kicks in, it will always switch to 1280x1024. Characters displayed in such high resolution mode is too small for my eyes. I also tried to use larger framebuffer console font with the following boot option:
fbcon=font:SUN12x22
The new font will be used once framebuffer take control, but everything will be reverted once X11 starts: video mode will be switched to 1280x1024, and font switch back to 8x16. Does anyone know how to set text console to a difference resolution?
X server simply crash when logout Xfce (I use kdm session manager and Xfce). Here's relevant part in Xorg log:
I managed to get it working on my 945GM chip with a custom 2.6.30 kernel, and a UXA intel driver.
I get my native resolution at boot, but X hangs requiring a hard reboot if I attempt to switch to a VT or quit X.
I managed to get it working on my 945GM chip with a custom 2.6.30 kernel, and a UXA intel driver.
I get my native resolution at boot, but X hangs requiring a hard reboot if I attempt to switch to a VT or quit X.
I also tried 2.6.30, but I got a complaint said "fail to remount / as rw". I have not get time to sort that out yet. As for framebuffer behavior, nothing has changed as compared to 2.6.29.5, all problems listed in my original post are still there.
I also tried 2.6.30, but I got a complaint said "fail to remount / as rw". I have not get time to sort that out yet. As for framebuffer behavior, nothing has changed as compared to 2.6.29.5, all problems listed in my original post are still there.
Make your filesystem a built-in in stead of a module. This will get rid of that.
Make your filesystem a built-in in stead of a module. This will get rid of that.
Thanks for mention that, but I always build in ext3, which I used for root (and all other file systems). The thing changed is I turned off the "data=ordered default" per reccommendation.
Looks like I'm changing topic Anyway, one primary reason I want to try 2.6.30 is fast boot. Have you noticed the difference in boot speed?
I removed intel framebuffer driver as suggested by "botnet" (that's a cool ID ). That's the only one in my customized kernel so no framebuffer driver is left after the removal. There's no behavior change after that, I think that means intel framebuffer is not necessary at all when KMS has been enabled.
Then I realize I have built DRM driver (i915 driver) as module. After I built i915 into kernel directly, the boot screen looks correctly, and the penguin mascot is now back!
I also solve X crash problem follows helo's suggestion, add the following to the [X-:*-Core] section of /etc/kde/kdm/kdmrc:
Code:
TerminateServer=true
The only problem left is the resolution of text console. Is it possible to set resolution of text console when kernel mode setting is enabled?
BTW, kernel mode setting is really great, switching between VT is blazingly fast. I know I won't go back to non-KMS kernel.
I built a new 2.6.31-rc1 kernel and for whatever reason, KMS now works perfectly for me No more crashes on vt switch. Native resolution in VTs is very nice.
I also tried 2.6.30, but I got a complaint said "fail to remount / as rw".
I solved this (unrelated) problem myself. I have "data=ordered" in mount options for my root file system. Problem fixed after I removed that option. I think the problem is root FS is mounted as ro without "data=ordered" at first, then I try to remount it as rw with "data=ordered", which leads to the failure.
Now I'm using 2.6.30.1 with KMS, graphic behavior is as good as 2.6.29.5 (all problems solved except the text console resolution). I also tried the same kernel build options (no framebuffer driver, build in AGP and DRM driver, enable KMS by default) on another box (dell vostro 1400 laptop, GMA3100) with the same satisfactory result.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.