LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-30-2011, 02:49 PM   #1
Krystah
Member
 
Registered: Feb 2011
Posts: 36

Rep: Reputation: 0
Unable to start X when booting with acpi=off or modeset=0


Hello

Yesterday I thought I had solved my "Blank screen boot"-issue when I successfully got
to the terminal login screen without the screen going black by booting with
Code:
Linux acpi=off
I spoke too soon. I found out shortly after that when trying to "startx" with acpi off gave me these errors:
Code:
WARNING: Error inserting i2c_algo_bit ("filepath"): No such device
WARNING: Error inserting intel_agp ("filepath"): No such device
WARNING: Error inserting drm ("filepath"): No such device
WARNING: Error inserting drm_kms_helper ("filepath"): No such device
FATAL: Error inserting i915 ("filepath") No such device
(EE) No devices detected.

Fatal server error:
no screens found
Then I read somewhere that booting with "i915.modeset=0" might work. So I removed acpi=off from lilo and added this,
and sure enough, I got to terminal login, but I get the same errors with "startx".

I must make it clear that I can successfully perform startx when I boot without "acpi=off" or "i915.modeset=0",
I am unable to see the screen but I can hear the KDE fanfare, etc.


Any kind soul willing to help me track down the culprit?

Krystah
 
Old 06-30-2011, 07:19 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Acpi should have nothing to do with being able to get a normal display.

You need to fix your x config file or get support for your video adapter or both.
 
Old 07-01-2011, 01:45 AM   #3
Krystah
Member
 
Registered: Feb 2011
Posts: 36

Original Poster
Rep: Reputation: 0
Hello =)

I have ran xorgsetup multiple times with different settings, but no dice. Any clue to what I
might have to do with my xorg.conf manually, seeing the automatic setup is of little success?
 
Old 07-01-2011, 05:23 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You need to give more info about what exactly the problem is. So, it just boots to a black screen ? In lilo.conf make sure to use 'vga=normal'.
 
Old 07-01-2011, 08:58 AM   #5
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
It seems that for your Xorg video-drivers acpi-dependent drivers need to be loaded .
Instead of "acpi=off" you could use "acpi_enforce_resources=lax" to prevent the strict execution of acpi .

I am actually using this parameter on my platform to get the temperature module registerd (it87) .
Without acpi-support my PC does not poweroff the PSU .

There is a bunch of acpi parameters for the boot line , look into the kernel source /Documentation/kernel-parameters.txt like "acpi_irq_[no]balance" or "pci=noacpi" .

Last edited by Karl Godt; 07-01-2011 at 09:00 AM. Reason: wrote acpi_enforc_resources=lax
 
Old 07-01-2011, 09:11 AM   #6
Krystah
Member
 
Registered: Feb 2011
Posts: 36

Original Poster
Rep: Reputation: 0
Hi again!

If I remove "acpi=off" and i915.modeset=0 it turns into a quite different issue, which I described in another thread.

Firstly, I have tried setting vga to normal, ask and several other settings in lilo.conf without success.

What happens if I omit the above from lilo.conf is that the system boots with a seemingly blank screen,
I am able to login and startx, but here is the detail that really confuses me:

The screen is not really black/blank. If I take a lamp and put it close up to the screen, I can actually see
text on the screen, if I look closely enough. The text is not "frozen" on the screen, when I input commands
and execute them, I see the text flowing upwards as usual.

The conclusion I make from this is that the monitor backlight/lamps turns off when booting with acpi enabled.
More specifically, the light goes off a couple of seconds after the LILO screen. If there is any more info
I can provide to make things clearer, let me know!

Thanks

UPDATE: My Linux system is on a laptop, and I thought it might be an idea to try with a different monitor.
So I connected on a separate monitor and it works perfectly. The backlight-issue is somehow specifically
related to the laptop then, but I've never heard of this problem before..
 
Old 07-01-2011, 09:14 AM   #7
Krystah
Member
 
Registered: Feb 2011
Posts: 36

Original Poster
Rep: Reputation: 0
Tried "acpi_enforce_resources=lax", didn't help :/
 
Old 07-02-2011, 07:06 AM   #8
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Code:
acpi_backlight=	[HW,ACPI]
			acpi_backlight=vendor
			acpi_backlight=video
			If set to vendor, prefer vendor specific driver
			(e.g. thinkpad_acpi, sony_acpi, etc.) instead
			of the ACPI video.ko driver.
No experience with that parameter .

This might be also put [with the right syntax] into
/etc/[modprobe.d]/modprobe.conf||acpi.conf||video.conf||distro.conf||driver.conf||etc

01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440SE AGP 8x] (rev a2)
01:00.0 0300: 10de:0182 (rev a2)

man lspci :
-d [<vendor>]:[<device>]

Code:
modprobe -l | grep acpi
/lib/modules/2.6.33.2/kernel/drivers/platform/x86/toshiba_acpi.ko
/lib/modules/2.6.33.2/kernel/drivers/platform/x86/thinkpad_acpi.ko
/lib/modules/2.6.33.2/kernel/drivers/platform/x86/asus_acpi.ko

I am also not sure if you need to type the hex or the char syntax ,
it looks like "acpi_backlight=thinkpad_acpi" to me .

Contrary to the two others , thinkpad_acpi has got a bunch of parameters , like :
  • parm:brightness_mode:Selects brightness control strategy: 0=auto, 1=EC, 2=UCMS, 3=EC+NVRAM (uint)
  • parm:brightness_enable:Enables backlight control when 1, disables when 0 (uint)

and
Code:
modinfo video
  • parm: brightness_switch_enabled:bool
  • parm: allow_duplicates:bool
I am not sure about bool , if it needs to be without "=Y|N" or "=1|0" .
If anyone could point me to the right direction ?

If I do :
Code:
v=`find /sys -name "*video*"`
for i in $v ; do
echo $i
f=`find $i -type f`                                 
for j in $f ; do
echo $j
cat $j
echo '*****'
done
echo
echo '*****'
done
I get f.ex.:
Quote:
*****
/sys/module/video/parameters/brightness_switch_enabled
Y
*****
/sys/module/video/initstate
live
*****
/sys/module/video/refcnt
0
*****
And if I do :
Code:
echo '0' > /sys/module/video/parameters/allow_duplicates
cat /sys/module/video/parameters/allow_duplicates
I get
Quote:
N
And this is f.ex.from /linux-2.6.33.7/Documentation/laptops/sony-laptop.txt :
Code:
Backlight control:
------------------
If your laptop model supports it, you will find sysfs files in the
/sys/class/backlight/sony/
directory. You will be able to query and set the current screen
brightness:
	brightness		get/set screen brightness (an integer
				between 0 and 7)
	actual_brightness	reading from this file will query the HW
				to get real brightness value
	max_brightness		the maximum brightness value
There are several extra drivers vendor specific .
 
Old 07-02-2011, 07:43 AM   #9
Krystah
Member
 
Registered: Feb 2011
Posts: 36

Original Poster
Rep: Reputation: 0
Wow, thank you very much for such an extensive reply! I will dive into this now and report back with updates
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware 13.1 blank screen - intel kms modeset? back40 Slackware - Installation 3 05-30-2010 11:12 PM
acpi booting problem furrytonic SUSE / openSUSE 5 05-25-2009 05:40 PM
ACPI: Unable to locate RSDP bobby_hawk Ubuntu 8 06-15-2006 06:44 PM
Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs.. kannath Debian 0 05-11-2006 09:26 AM
irq 185: Please try booting with acpi=off bionicmaximu Linux - Hardware 3 01-12-2006 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:36 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