News

Donate

Amount


Sponsor

hetzner.de

Languages


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sokminerOffline
25 Post subject: Intel Xorg video Drivers and Kernel Mode Setting  PostPosted: May 14, 2009 - 03:03 PM



Joined: Dec 03, 2006

Posts: 28

Status: Offline
Maybe this should be in software or kernel hacking but I'll let mods choose to relocate if necessary.

The 2.6.29 kernel allows, by using kernel mode setting (KMS), much of the video mode switchnig to be done in the kernel vs. being done by Xorg. So I found this link, http://wiki.debian.org/KernelModesetting, that describes how to enable kernel mode setting for the intel i810 thru 965 and possibly more recent chipsets. The intel driver can take advantage of KMS. Further, the intel-devs have released the 2.7.1 maintenance update to the Xorg driver which is in the sid repos. I updated to this driver yesterday as part of a normal d-u and noticed that all of the video was much smoother. And no crashes yet. I don't plan to do any formal testing yet. I haven't enabled KMS yet but plan to do so tonight. I'll report back with the results of my experiment/experience tomorrow.

For those of you with the intel video chipset that want to give it go and share your experience....

Regards
Sokminer
 
 View user's profile Send private message  
Reply with quote Back to top
michaaa62Offline
Post subject: RE: Intel Xorg video Drivers and Kernel Mode Setting  PostPosted: May 14, 2009 - 03:33 PM



Joined: Feb 24, 2007
Berlin
Posts: 1477

Status: Offline
slh wrote this in a german forum post, but he posted english Laughing
http://sidux.com/index.php?name=PNphpBB ... 012#123012

_________________
http://sidux.com/PNphpBB2-viewtopic-t-2403.html
 
 View user's profile Send private message  
Reply with quote Back to top
sokminerOffline
Post subject: RE: Intel Xorg video Drivers and Kernel Mode Setting  PostPosted: May 16, 2009 - 02:11 PM



Joined: Dec 03, 2006

Posts: 28

Status: Offline
I gave it a try and my box started to boot but the video seemed to shut down. So I had to revert to the non-KMS video. At this point it looks to me like KMS is still very experimental. I'll keep trying as the kernel updates. For those that are interested here's the infobash output for my box

Host/Kernel/OS "sokbox1" running Linux 2.6.29-3.slh.1-sidux-686 i686 [ sidux 2007-04 - Έρως - kde-full - (200711210243) ]
CPU Info (1) Intel Core2 Duo T7250 @ 2048 KB cache flags( sse3 nx lm vmx ) clocked at [ 2000.000 MHz ]
(2) Intel Core2 Duo T7250 @ 2048 KB cache flags( sse3 nx lm vmx ) clocked at [ 2000.000 MHz ]
Videocard Intel Mobile GM965/GL960 Integrated Graphics Controller X.Org 1.6.1 [ 1920x1080@60.0hz ]
Network cards Intel 82566MM Gigabit Network Connection, at port: fe00
Processes 117 | Uptime 5min | Memory 237.7/1001.5MB | HDD Size 410GB (35%used) | Client Shell | Infobash v3.11

Regards
Sokminer
 
 View user's profile Send private message  
Reply with quote Back to top
sokminerOffline
Post subject: RE: Intel Xorg video Drivers and Kernel Mode Setting  PostPosted: Jun 23, 2009 - 12:36 PM



Joined: Dec 03, 2006

Posts: 28

Status: Offline
After the 2.6.30 kernel release I decide to give kernel mode setting another try. It does work !!!
The method I used was to add i915 modeset=1 to the Grub boot line and remove the vga=xxx (might be 791) from the boot line. Apparently the Frame Bufffer needs to be provided by the intel module. In any case, my box booted and shifting between a KDE session and VT1 is much faster. The down-side is that the VT resolution is 800 X 640 and I have yet to figure out how to change the VT resolution using the i915 module.
This method only works during the current session. Follow the instructions above to make it permanent.

Regards
Sokminer
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: Intel Xorg video Drivers and Kernel Mode Setting  PostPosted: Jun 23, 2009 - 12:51 PM



Joined: Nov 25, 2006

Posts: 3237

Status: Offline
....and that it still tends to crash X on resume, which is the reason why we have to keep it disabled for now.
 
 View user's profile Send private message  
Reply with quote Back to top
sokminerOffline
Post subject: RE: Intel Xorg video Drivers and Kernel Mode Setting  PostPosted: Jun 24, 2009 - 11:28 AM



Joined: Dec 03, 2006

Posts: 28

Status: Offline
slh

I've had my box up and running for several days and it hasn't crashed on an X-resume. Perhaps I'm fortunate but ....

Regards
Sokminer
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2009 The Zafenio Group
Credits