LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-26-2010, 04:28 PM   #16
icovnik
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 5

Thank you for the packages, but the result is the same - the notebook freezes.

I don't know whether it is important, but I also tried to use vesa driver (changed "intel" to "vesa" in /root/xorg.conf.new). The notebook didn't freeze, but the screen was blank. Then I killed the X server (Ctrl+Alt+BS) and it returned back to console. Then on console there was an error:

Code:
(++) Using config file: "/root/xorg.conf.new"
error setting MTRR (base = 0x80000000, size = 0x01ff0000, type = 1) Inappropriate ioctl for device (25)
Any other ideas what should I try? If there is some kernel/xorg patch or other things to try I am here to do it.

Thank you.
 
Old 05-26-2010, 04:43 PM   #17
gapan
Member
 
Registered: Feb 2007
Posts: 372

Original Poster
Rep: Reputation: 154Reputation: 154
Did you try running X without a xorg.conf? I never use a xorg.conf anymore.
 
Old 05-26-2010, 05:15 PM   #18
icovnik
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 5
Yes. No difference.

When I disable the the kernel mode setting, anything I do with X freezes the notebook (the slack13.1's driver 2.11 and the older 2.9.1 too). One exception is the vesa driver, it just blanks the screen.

When I don't disable the kernel mode setting, I am unable to see the console after loading the framebuffer module. Then I can start X, but the screen remains blank. To again see anything I have to hard reboot.

Last edited by icovnik; 05-26-2010 at 05:16 PM. Reason: typo
 
Old 05-26-2010, 09:13 PM   #19
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,462

Rep: Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062
@icovnik - The problem with your hardware and a fix is discussed here. http://permalink.gmane.org/gmane.com...vers.intel/401
 
Old 05-27-2010, 06:19 AM   #20
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,145

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Hi allend,

Quote:
Originally Posted by allend View Post
@icovnik - The problem with your hardware and a fix is discussed here. http://permalink.gmane.org/gmane.com...vers.intel/401
I have the same problem hardware:

Code:
root@skamandros/home/andrew# lspci | grep 'Intel Corporation Mobile'
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
although I have managed to run with the vesa driver, it is not great but it is usable . Can ask 2 questions:
  1. Is the only way to specify vesa for X in xorg.conf? This is certaonly how I have done this...
  2. What do you think the chances are of Slackware putting a patched driver together for 13.1 incorporating the change suggested in your link?

I have to say that finding this specific change and rebuilding the package is beyond my skills at the moment .

Andrew

Last edited by andrew.46; 05-27-2010 at 06:21 AM.
 
Old 05-27-2010, 09:15 AM   #21
gapan
Member
 
Registered: Feb 2007
Posts: 372

Original Poster
Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by andrew.46 View Post
Is the only way to specify vesa for X in xorg.conf? This is certaonly how I have done this...
If you removed the xf86-video-intel package from your system, the vesa driver should be used, even if you had no xorg.conf specifying it.
 
Old 05-27-2010, 09:43 AM   #22
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,462

Rep: Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062
@andrew.46
Quote:
I have to say that finding this specific change and rebuilding the package is beyond my skills at the moment
C'mon, be a Slacker!
This is a link to the problematic change. http://kerneltrap.org/mailarchive/gi...010/1/16/22087
All you have to do is edit the two files /usr/source/linux/drivers/gpu/drm/i915/intel_display.c and /usr/source/linux/drivers/gpu/drm/i915/intel_dp.c to revert the changes i.e. remove lines preceded with a + and add back lines preceded with a -. Then compile and install the patched i915.ko kernel module. There is a brief description for doing this here. http://www.linuxquestions.org/questi...6/#post3974322
 
1 members found this post helpful.
Old 05-27-2010, 12:57 PM   #23
icovnik
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 5
Quote:
Originally Posted by allend View Post
@icovnik - The problem with your hardware and a fix is discussed here. http://permalink.gmane.org/gmane.com...vers.intel/401
@allend: wow great! That's the thing I was looking for! Reverting the commit (well, a part of it) really solved my problem. Big Thank You to you!

@andrew.46: Yesterday I didn't know how to revert commits and today I know Somehow easier recipe for you:

Download kernel 2.6.34. Untar it into /usr/src/linux-2.6.34. Then save this file http://slack.isper.sk/pub/misc/i915-fix.diff also into /usr/src. Then go into linux source dir and patch it with downloaded file. Then build and install the kernel as you would normally. That's it
 
Old 05-28-2010, 03:31 AM   #24
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,145

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Hi allend,

Quote:
Originally Posted by allend View Post
@andrew.46

C'mon, be a Slacker!
In fact this proved to be the kick in the pants I needed to sort out this issue myself instead of coming whining on these Forums asking for spoonfeeding .

Quote:
This is a link to the problematic change. http://kerneltrap.org/mailarchive/gi...010/1/16/22087
All you have to do is edit the two files /usr/source/linux/drivers/gpu/drm/i915/intel_display.c and /usr/source/linux/drivers/gpu/drm/i915/intel_dp.c to revert the changes i.e. remove lines preceded with a + and add back lines preceded with a -.
Rather than do it manually I took the patch directly from the git-web site and applied it with the -R option in the kernel source.

Quote:
Then compile and install the patched i915.ko kernel module. There is a brief description for doing this here. http://www.linuxquestions.org/questi...6/#post3974322
My dirty little secret is that I have never actually compiled a kernel before so I took the opportunity to rebuild the 13.1 kernel not only with the patch in place but with a few other options adjusted as well (just processor type, file system compiled in etc, but I can see I need to come back to this in the near future). All is working well now with the intel driver and I have been forced again by Slackware to learn a little more .

Thanks for the kick in the pants!

Andrew
 
Old 05-28-2010, 08:30 AM   #25
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,462

Rep: Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062Reputation: 2062
@icovnik and @andrew.46 - Kudos to both of you for overcoming your trepidation and finding a better answer than I gave, then making it work and finally reporting your experience for all to share. The thanks should go to Johannes Schauer who did the hard work of git bisection to find the original problem.
 
Old 06-15-2010, 03:49 PM   #26
vit_r
LQ Newbie
 
Registered: Jun 2008
Posts: 14
Blog Entries: 1

Rep: Reputation: 0
Slack 13.1 (not laptop): http://www.linuxquestions.org/questi...507/page2.html
Posted On: 06-09-2010 02:35 PM

i've had small font instead of black screen
solution was found just by disabling KMS:
http://www.linuxquestions.org/questi...7/#post3998177

NO RECOMPILING etc

hope it may be of some help

Vit
 
Old 06-15-2010, 05:14 PM   #27
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,145

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I meant to repost here a while back: Recompiling the kernel with the patch discussed on this thread certainly worked in some areas but as time went on I still noted some graphics instability. Final resolution in my case, now tested over a week, was to add nomodeset to lilo and run 2.9.1 of the intel driver. It is perhaps not ideal but it has given me stable graphics display under 13.1.

Andrew

Last edited by andrew.46; 06-15-2010 at 05:15 PM.
 
Old 06-16-2010, 01:06 PM   #28
plutt
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware 13.1
Posts: 2

Rep: Reputation: 0
After install Slackware 13.1, I had blank screen issues with my Thinkpad R61i. The workaround for me was to create an initrd.gz file that included the intel_apg and i915 modules. Here is the mkinitrd command I used:

mkinitrd -c -k 2.6.33.4-smp -m ext4:intel_agp:i915 -f ext4 -r /dev/sda6

Paul
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Gotta blank screen on Asus A42F (with intrigated VGA intel GMA HD, Core i3) ironear Linux - Laptop and Netbook 4 07-17-2010 09:36 PM
-current users with 2.6.33+ and nVidia GPU : nomodeset can avoid you a blank screen Didier Spaier Slackware 2 04-08-2010 02:07 PM
Rotate screen Intel 945 koloth Slackware 1 06-02-2009 08:08 AM
i810 & i915 blank screen Intel Corporation 82845G onboard video davimint Slackware 30 06-28-2007 03:58 AM
need information about Intel 915GM and intel 945 graphics chipsets mechmg93 Debian 1 04-15-2006 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:27 PM.

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