DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th November 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default Laptop lid problem

I notice a strange thing, when ever I close the lid of my laptop and open it up back display don't turn on, the only way I was able to find to turn it on again was to switch back to console mode (Ctrl - Alt- F1) and then back to X (Ctrl- Alt - F9). Has any one noticed this before and is there a fix for this.

I tried this in two Dell Laptops
Latitude D420
Latitude D800
Reply With Quote
  #2   (View Single Post)  
Old 7th November 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

Try:

# kldload acpi_video
Reply With Quote
  #3   (View Single Post)  
Old 7th November 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by richardpl View Post
Try:

# kldload acpi_video
didn't work
Reply With Quote
  #4   (View Single Post)  
Old 7th November 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

It could be Xorg drivers fault after all.
What driver are you using?
I had same experience with intel driver when DRI was disabled.
Reply With Quote
  #5   (View Single Post)  
Old 7th November 2008
bsddaemon bsddaemon is offline
Slack Daemon
 
Join Date: Oct 2008
Posts: 35
Thanked 3 Times in 3 Posts
Default

Try this command with superuser priviledge:

#sysctl hw.acpi.reset_video=1

, close and open the lid again.
__________________
...then the God created man...
Reply With Quote
  #6   (View Single Post)  
Old 7th November 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by bsddaemon View Post
Try this command with superuser priviledge:

#sysctl hw.acpi.reset_video=1

, close and open the lid again.
Tried this
Code:
# sysctl hw.acpi.reset_video=1
hw.acpi.reset_video: 0 -> 1
#
No luck

Quote:
It could be Xorg drivers fault after all.
What driver are you using?
I had same experience with intel driver when DRI was disabled.
I'm also using intel driver.
Reply With Quote
  #7   (View Single Post)  
Old 7th November 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

Quote:
Originally Posted by rex View Post
I'm also using intel driver.
Then you have same problem like me (it is xf86-video-intel bug)
enable DRI if it is not enabled.(load drm and i915 module, and make sure that glxinfo reports direct rendering is enabled)

If that doesnt help switch to xf86-video-i810.
Reply With Quote
  #8   (View Single Post)  
Old 7th November 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by richardpl View Post
Then you have same problem like me (it is xf86-video-intel bug)
enable DRI if it is not enabled.(load drm and i915 module, and make sure that glxinfo reports direct rendering is enabled)

If that doesnt help switch to xf86-video-i810.
you sure switching to xf86-video-i810 will solve the problem? DRI and i915 are already enabled. How do I make sure that glxinfo reports direct rendering is enabled?

Thanks
Reply With Quote
  #9   (View Single Post)  
Old 8th November 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

Quote:
Originally Posted by rex View Post
you sure switching to xf86-video-i810 will solve the problem?
At least It solved it for me, but maybe i810 will not work at all with new Xorg server (>1.5)
i810 is marked as broken, it does not build with newest libdrm so portdowngrade libdrm to 2.3.0 and after that remove BROKEN from i810 port Makefile.

Quote:
Originally Posted by rex
How do I make sure that glxinfo reports direct rendering is enabled?
In glxinfo ouptut (in first several lines) it should be displayed Yes.

I should really check is this intel bug fixed in newer versions, but I currently dont care ....
Reply With Quote
Old 11th November 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default

To me this seems to be a problem with Dell H/W rather then bug in intel driver. I tried this in Acer laptop with Intel driver worked like charm. Then trien on different Dell dimension laptop with nvidia (nv) driver, problem was there. Infact this time I tried even without installing X, and it was even worst.

While X is running, I was able to turn the display on by switching to TTy 1 and back to X. But when X is not running only way to turn the display on again is to reboot the system .

So I've tried this in 2 different Dell H/W, all of them having this problem and tried on one Acer H/W worked without problem.

So any one conscedring to purchase Dell Laptop for BSD might wanna conscider this.
Reply With Quote
Old 12th November 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

Quote:
Originally Posted by rex View Post
To me this seems to be a problem with Dell H/W rather then bug in intel driver. I tried this in Acer laptop with Intel driver worked like charm. Then trien on different Dell dimension laptop with nvidia (nv) driver, problem was there. Infact this time I tried even without installing X, and it was even worst.
It is xf86-video-intel bug, you can not compare nvidia(nv) driver with intel driver. Reasons why it work on some intel cards and on some it does not is because xf86-video-intel driver supports some intel cards better than others.

It is not Dell/HP/Toshiba/IBM etc. fault.
Reply With Quote
Reply

Tags
display, laptop

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Your OpenBSD Laptop vermaden OpenBSD General 95 3rd February 2014 03:44 PM
Your NetBSD Laptop vermaden NetBSD General 25 27th February 2013 04:14 AM
Laptop temparature jorg_andersson FreeBSD General 3 27th April 2009 05:32 PM
What would be the best laptop for FreeBSD? rex General Hardware 6 26th October 2008 09:14 AM
laptop cw_ FreeBSD General 21 14th August 2008 02:48 AM


All times are GMT. The time now is 12:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick