Live Media

  • Status Closed
  • Percent Complete
  • Task Type Feature request
  • Category Live Media
  • Assigned To No-one
  • Operating System All
  • Severity Critical
  • Priority Urgent
  • Reported Version Euler
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Live Media
Opened by Luca Giambonini (AlmAck) - 2015-03-08
Last edited by Luca Giambonini (AlmAck) - 2018-01-01

FS#872 - Implement support for hybrid video card

more and more the new laptop use a hybrid video card.
If the current hardware detection script we are not able to install the correct drivers, but we fallback to the opensource one.
In fact if the number of graphic cards is greater then 1 the non free installation process is completely skipped.

Looking in the hook, hwdetect_7_graphics we can read:

# check how many graphic cards exist; TODO: this is not
# robust enough; it will also detect multiple Nvidia/AMD cards, which
# gamers might use
# it is needed to disable proprietary drivers when having
# hybrid graphics; this is a WORKROUND and should be removed in further
# releases

CARD_NUMBER=$(lspci -v | grep VGA | wc -l) # number of graphic cards
[ $CARD_NUMBER -gt 1 ] && NONFREE="no"

[ -n "$NONFREE" ] || NONFREE="yes"
Closed by  Luca Giambonini (AlmAck)
Monday, 01 January 2018, 14:20 GMT
Reason for closing:  Deferred
Additional comments about closing: a-iso/issues/63
gnastyle (gnastyle)
Thursday, 19 March 2015, 08:27 GMT
I found an applet to handle hybrid card switch.
I installed it on my laptop that has a single video card and it makes KDED crash at boot.
Maybe it is because I don't have dual video card, so if you have one you can try it and if it works I can put it on CCR.
If it doesn't work either on you, you have to remove manually all files
Give this command

sudo rm /usr/lib/kde4/ \
/usr/share/kde4/services/kded/switchablegraphics.desktop \
/usr/share/polkit-1/actions/org.admiral0.switchablegraphics.policy \
/usr/lib/kde4/libexec/switchablegraphicshelper \
/etc/dbus-1/system.d/org.admiral0.switchablegraphics.conf \
/usr/share/dbus-1/system-services/org.admiral0.switchablegraphics.service \
/usr/lib/kde4/ \
/usr/share/kde4/services/switchablegraphicsconfig.desktop \
/usr/share/locale/kde4/it/LC_MESSAGES/ \
gnastyle (gnastyle)
Thursday, 19 March 2015, 08:33 GMT
Neofytos Kolokotronis (tetris4)
Sunday, 22 March 2015, 18:50 GMT

Actually that was developed by admiral0, a former Chakra contributor. ;)

I don't think it has anything to do with this, the issue here is related to the initial detection of the drivers when booting the ISO.