Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-13-2013, 12:02 PM
|
#1
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,367
Rep: 
|
Packard Bell EasyNote TK37 (and maybe others): avoid black screen after booting
Context: Slackware64-current, kernel 3.10.14
lspci -vnn says:
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:048a]
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at d0000000 (64-bit, non-prefetchable) [size=4M]
Memory at c0000000 (64-bit, prefetchable) [size=256M] s at 5110 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 3
Kernel driver in use: i915
Symptoms
- during boot sequence, at handover the screen goes and stays black
- if "nomodeset" all goes well but display is restricted to 1024x768
Bad workaround:
Code:
setpci -s 00:02.0 F4.B=0
This writes 0 in register Legacy Backlight Brightness of the GPU cf. this datasheet from Intel, page 366. Don't do that: that works at boot time but if you kill X you get a black screen again.
Good workaround: append to your command line:
Code:
i915.invert_brightness=1
Solution: patch kernel's file drivers/gpu/drm/i915/intel_display.c like already done for other laptop models like this:
Code:
/* Acer Aspire 4736Z */
{ 0x2a42, 0x1025, 0x0260, quirk_invert_brightness },
/* Packard Bell EasyNote TK37 */
{ 0x2a42, 0x1025, 0x048a, quirk_invert_brightness },
then build & and install the patched kernel.
I assume that other laptops including the same device could be in concern, as long as the device id is the same (02a42), so if you have the same symptoms and the same device id you could try the good workaround.
Anyhow I'll file a bug for this one.
PS done here.
Last edited by Didier Spaier; 10-13-2013 at 12:56 PM.
Reason: PS added.
|
|
|
10-13-2013, 04:10 PM
|
#2
|
Senior Member
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425
Rep: 
|
Happens with my desktop as well with Slackware-14.0-x86-64. I just wait until it has finished booting then type root return passwd return startx return now that I can see what I'm doing I install nvidia drivers and get away from the problem. Not elegant but it works.
Not sure if it is caused by the built in or the card.
Quote:
00:02.0 Display controller [0380]: Intel Corporation Ivy Bridge Graphics Controller [8086:0152] (rev 09)
Subsystem: ASRock Incorporation Device [1849:0152]
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
|
Quote:
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:11c6] (rev a1) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. Device [3842:3653]
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
[virtual] Expansion ROM at f7000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] #19
Kernel driver in use: nvidia
|
samac
|
|
|
10-13-2013, 05:49 PM
|
#3
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,367
Original Poster
Rep: 
|
Well samac, that looks more like hybrid graphics, so I'd assume that's a different issue. This can be confirmed typing following command:
Code:
lspci -vnn | grep '\''[030[02]\]'
As many lines in the output, as many graphical processors.
Last edited by Didier Spaier; 10-14-2013 at 03:42 AM.
|
|
|
10-14-2013, 03:38 AM
|
#4
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,367
Original Poster
Rep: 
|
Follow-up
Wow, that was fast...
Eventually Daniel Vetter decided to quirk all PackardBell/Acer laptops including a GM45.
But it's committed in linux-next and merge window for 3.12 is closed, so that will be for kernel 3.13 and we probably won't get it backported in a 3.10 kernel, at least before Slackware 14.1 is released. Pat could cherry-pick the commit from linux-next, but he usually ships unmodified kernels, so this thread will just serve as a reminder for people with the same hardware, I assume.
Last edited by Didier Spaier; 10-14-2013 at 04:00 AM.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 03:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|