Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487090 - A lesson I can hardly forget about hardware and usefullness of dual linux-windows systems
Summary: A lesson I can hardly forget about hardware and usefullness of dual linux-win...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-06 12:16 UTC by Jimis Hol
Modified: 2013-11-10 10:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg before switching with working vgaswitcheroo (dmesg-before-switch,60.44 KB, text/plain)
2013-10-06 12:16 UTC, Jimis Hol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jimis Hol 2013-10-06 12:16:27 UTC
Created attachment 360222 [details]
dmesg before switching with working vgaswitcheroo

When friends asks why I have windows on my machines since I use always linux I said that I have Windows just for hardware failure detection. If something is not working on linux and I cant fix it I log in Windows that are only with default programs and check if it is working there. If it is not working on both systems then I have a hardware failure.
After 10 days of trying and almost before a possible ruin of my notebook (I almost had in my hands on heat pistol on an attempt to try a reflow of dGPU (dedicated gpu) accidentally discovered that the previous one was a wrong assumption.
I have a HP G62-b75ev notebook with hybrid with muxless i suppose 2 graphics cards that used to switch through vgaswitcheroo.
Some fixing of disabling backlight on normal systems ruined mine.
The problem was solved with recent patches and is described mostly at https://bugzilla.kernel.org/show_bug.cgi?id=55311 and at https://bugs.gentoo.org/show_bug.cgi?id=458746 where I firstly started.
Unwilling to update kernel I stayed with patched kernel-3.10.0 with a working switch.
After a usual update world that involved video drivers i faced the same problem again unable to fix whatever i tried.
I decided to login to win7 since my bios hasn't an option about choosing what graphics card to use. As soon as logon of windows disappearance I faced the same black screen again. Able to login only on safe-mode. Disabling HD5470 login normally through intel but “stupid” windows force detecting new device and upon installing HD5470 screen turned black again. I tried the most ancient recover point I had. I loged in, I saw Bios EFI or Uefi update and after rest of updates I ended once again with black screen. Just before unscrewing my laptop to perform a dubious reflow of ATI gpu I noticed, during an  accidentally startup on my gentoo, some warning about uvd, or something like that, that had to do with firmware. So before reflow I decided to check firmware more closly. I noticed about some CYPRESS_uvd.bin that I added to extra/firmware. Then I faced something about r600 failure and some ring_test failure ending always in black screen. I synced and updated all, I putted git (through 99999999) on firmware and hwids with same results. I tried downgrade kernel to 3.10.0 and firmware at the same time but somehow I couldn't compile kernel. I updated all, and after some try with windows that remain with black screen, before the try of unwilling reflow I connected an external screen. For my surprise second screen accepted dgpu out of the box with gentoo and decided to make a firmware downgrade as hard as I could.
This time I forgot to take into consideration some compiling warnings and mostly to follow dmesg warnings about extra/firmware needing before I try switch.
So after sys-kernel/linux-firmware-20130421, “make clean” and the last kernel I tried switch before  trying to fix dmesg's firmware warnings.
And voila!!! 
I had a WORKING desktop with dGPU.
So my conclusion is.
HP with some firmware update that I cannt control on Win7 ruined me as customer.
Linux community somehow followed those updates with same result
So some users like me may decide that dgpu is ruined since it is not working on both Oss and may ruin their notebook.
Please
Of course fill free to alter the title of this bug BUT dont erase  sys-kernel/linux-firmware-20130421 from portage.
I didnt check later firmwares and this time I am afraid of bisecting. Hope someone will do.
Thank you
Comment 1 Jimis Hol 2013-10-06 12:18:02 UTC
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] (prog-if 00 [VGA controller])

Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.11.3-gentoo x86_64)
=================================================================
System uname: Linux-3.11.3-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_460_@_2.53GHz-with-gentoo-2.2
KiB Mem:     3843936 total,   1217596 free
KiB Swap:    5241852 total,   5241852 free
Timestamp of tree: Fri, 04 Oct 2013 17:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Broadcom AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.ntua.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.ntua.uoc.gr/mirrors/linux/gentoo/ http://mirror.gentoo.se/ http://files.gentoo.gr/ ftp://files.gentoo.gr/"
LANG="el_GR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -l2.95"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acl acpi alsa amd64 aperfmperf apic arat arch_perfmon berkdb branding bts bzip2 cairo cdda cdr clflush cli cmov colord constant_tsc cracklib crypt cups cx16 cx8 cxx dbus dconf de dri ds_cpl dtes64 dts dvd dvdr eds emboss encode ept est evo exif fam firefox flac flexpriority fortran fpu fxsr gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk ht iconv icu ida introspection ipv6 java jpeg lahf_lm lcms ldap libnotify libsecret lm mad mca mce mmx mng modules monitor mp3 mp4 mpeg msn msr mtrr mudflap multilib nautilus ncurses networkmanager nls nonstop_tsc nopl nptl nx ogg opengl openmp pae pam pango pat pbe pcre pdcm pdf pebs pge png pni policykit popcnt ppds pse pse36 pulseaudio qt3support rdtscp readline rep_good sdl sep session socialweb spell ss sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg syscall systemd tcpd tiff tm tm2 tpr_shadow truetype tsc udev udisks unicode upower usb v4l v4l2 vme vmx vnmi vorbis vpid wxwidgets x264 xcb xml xtopology xtpr xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="el" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-06 14:10:09 UTC
This is not a bug report. It's a blog entry.
Comment 3 Jimis Hol 2013-11-10 10:25:14 UTC
To whoever reads this.
It actually turned to be the start of hardware failure. I reflowed dgpu and this fixed the problem. 
Every time I update world laptop temperature raises too high. So half of the times dgpu wasn't working correctly giving the impression that ws update's fault.
2 to 3 times, specially when laptop powered violently off cause of hit and powered on without waiting to cool down, gpu was 'auto' fixed giving the impression that new configuration fixed it.
Actually, the randomness of fixing and broking after too high temperatures of laptop pointed that it was a hardware problem and a reflow may be would solve the problem. And it did!
Thank you