Video is broken with switchable graphics
On a MacBook Pro 6,2, which has both an intel and nvidia graphics card Tails 1.1-rc1 boots fine but X fails to start.
It is possible to make it work by booting with
i915.modeset=0 rootpw=pass and drop a file containing:
Section "Device" Identifier "Device0" Driver "nouveau" BusID "1:0:0" EndSection
and restart X with
service gdm3 restart
#1 Updated by mguiraud almost 5 years ago
these Mac Book models have dual graphics processors and may have the same issue :
MacBookPro 5,1 - MacBook Pro (15-inch, Late 2008)
MacBookPro 5,2 - MacBook Pro (17-inch, Early 2009)
MacBookPro 5,3 - MacBook Pro (15-inch, 2.53GHz, Mid 2009)
MacBookPro 6,1 - MacBook Pro (17-inch, Mid 2010)
MacBookPro 6,2 - MacBook Pro (15-inch, Mid 2010)
MacBookPro 8,3 - MacBook Pro (17-inch, Early 2011)
MacBookPro 8,2 - MacBook Pro (15-inch, Early 2011)
MacBookPro 9,1 - MacBook Pro (15-inch, Mid 2012)
MacBookPro 10,1 - MacBook Pro (Retina, Mid 2012)
#5 Updated by sajolida almost 5 years ago
New MacbookPro are dual-GPU, they have an integrated and a discrete GPU.
According to WhisperBack report 7c8517875e5945220714fe6ea9112211,
MacBookPro10,1 Retina, Tails doesn't work in the default setup, but
works if forced to start with the integrated GPU only.
This person used a third party application, http://gfx.io/, to force integrated only through OS X, and then reboot in that special mode that works with Tails.
This workaround suggests that a solution might be found outside of Tails...
#7 Updated by indolering over 4 years ago
I wanted to confirm that I ran into a similar issue on a "MacBook Pro 15-inch, Early 2011" with a dual graphics card setup.
Specifically, the boot process got past the loading bars and the laptop was on but the screen was blank. Booting using the failsafe option got me to a command line. I have another laptop so I didn't go any further.
I would be happy to test a fix or workaround. I know my way around the command line, but please include step-by-step instructions.
#11 Updated by BitingBird about 4 years ago
- Assignee set to sajolida
- Target version set to Tails_1.4.1
- % Done changed from 0 to 30
- QA Check set to Ready for QA
Created a dedicated section (I thought it only affected Mac computers, but intri says others are in the same case). Added the 2 workarounds. Please review :)
#17 Updated by intrigeri about 3 years ago
- Status changed from Confirmed to In Progress
- Assignee set to intrigeri
- Target version set to Tails_2.6
- % Done changed from 0 to 10
I have something that boots and apparently has the needed bits, let's wait for an ISO to be online and then point testers to it.
#18 Updated by intrigeri about 3 years ago
Regression on ThinkPad T540p:
- booted fine 2.4~rc1;
- with this branch it fails to start X (tried
i915.modeset=0, failsafe mode); I see kernel messages about
i915, nothing about
bbswitchsays it has disabled the discrete graphics card, and X.Org tries to use the QXL (!) driver.
#23 Updated by intrigeri almost 3 years ago
- Target version deleted (
- Type of work changed from Research to Code
This topic branch now has merge conflicts with devel, since the branch for #10298 was merged in there. They are non-trivial to fix: building dkms modules for the amd64 kernel is quite painful due to multiarch. Also, I got basically no feedback from the people who I was doing this work for (MacBook & powerful ThinkPad users), which does not help motivating me to work on this further right now. Once we have #8183 it'll be easy to fix the modules compilation problem, so I'll work on it again once we have a 64-bit userland, but not earlier. If someone wants to work on it earlier, feel welcome to reassign to you :)
#29 Updated by goupille about 1 year ago
another user reported what looks like the same issue on a Dell XPS with an Intel(R) HD Graphics 630 and a NVIDIA GeForce GTX 1050. The user didn't get a black screen tho, but the "Error starting GDM with your graphic cars: Intel corporation device..." screen.
it is not possible to disable one of the GPU in the BIOS on Dell XPS, so no "easy" workaround...
- Status changed from In Progress to Rejected
- Assignee deleted (
This ticket is of the kind that won't ever be closed, and is hardly actionable:
- It's scope is much too broad: there are many kinds of switchable graphics nowadays (and I bet some of them work just fine in Tails).
- There's nothing we can do ourselves about it, apart of shipping and updating required software & drivers.
Besides, the problem is documented as a known issue.
So let's close this one and open new tickets for specific situations, when there's a known candidate solution in Debian that we could try shipping.