Re: AMD+Intel - Problema VRAM INtel
Inviato: lunedì 25 settembre 2017, 20:24
ci ho già provato, leggi il primo post di questa domanda che ho fatto!
Il forum della comunità italiana di Ubuntu.
https://forum.ubuntu-it.org/
ci ho già provato, leggi il primo post di questa domanda che ho fatto!
Codice: Seleziona tutto
cat /var/log/syslog | grep switchCodice: Seleziona tutto
sudo cat /var/log/syslog | grep switch
[sudo] password for daniele:
Sep 25 21:00:32 daniele-HP-Pavilion-g6-Notebook-PC kernel: [ 2.418915] Console: switching to colour frame buffer device 170x48
Sep 25 21:00:32 daniele-HP-Pavilion-g6-Notebook-PC kernel: [ 2.955769] fb: switching to inteldrmfb from VESA VGA
Sep 25 21:00:32 daniele-HP-Pavilion-g6-Notebook-PC kernel: [ 2.955832] Console: switching to colour dummy device 80x25
Sep 25 21:00:32 daniele-HP-Pavilion-g6-Notebook-PC kernel: [ 2.962435] vga_switcheroo: detected switching method \_SB_.PCI0.GFX0.ATPX handle
Sep 25 21:00:32 daniele-HP-Pavilion-g6-Notebook-PC kernel: [ 2.982712] vga_switcheroo: enabled
Sep 25 21:00:32 daniele-HP-Pavilion-g6-Notebook-PC kernel: [ 4.058703] Console: switching to colour frame buffer device 128x48
Sep 25 21:00:34 daniele-HP-Pavilion-g6-Notebook-PC NetworkManager[872]: <info> [1506366034.4093] rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/ieee80211/phy0/rfkill0) (driver ath9k)
Sep 25 21:00:35 daniele-HP-Pavilion-g6-Notebook-PC NetworkManager[872]: <info> [1506366035.5486] manager: WiFi enabled by radio killswitch; enabled by state file
Sep 25 21:00:35 daniele-HP-Pavilion-g6-Notebook-PC NetworkManager[872]: <info> [1506366035.5487] manager: WWAN enabled by radio killswitch; enabled by state file
Sep 25 21:00:51 daniele-HP-Pavilion-g6-Notebook-PC compiz[1579]: /usr/bin/compiz (core) - Info: Loading plugin: vpswitch
Sep 25 21:00:51 daniele-HP-Pavilion-g6-Notebook-PC compiz[1579]: /usr/bin/compiz (core) - Info: Starting plugin: vpswitchCodice: Seleziona tutto
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.modeset=1 radeon.drm=1 radeon.runpm=0"Grazie mille adesso provo!cialu [url=https://forum.ubuntu-it.org/viewtopic.php?p=5010433#p5010433][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Mi sono trovato nella tua stessa situazione anni fa con un portatile dotato di doppia scheda grafica AMD GPU + Intel integrata e avevo risolto aggiungendo alcune stringhe nel grub:
Non so se può risolvere il tuo problema, ma ho creduto giusto segnalarlo.Codice: Seleziona tutto
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.modeset=1 radeon.drm=1 radeon.runpm=0"
Hai usato sudo update-grub dopo aver effettuato la modifica al grub? Chiedo per sicurezza, perché nel caso non sarebbe stata applicata.qnst [url=https://forum.ubuntu-it.org/viewtopic.php?p=5010437#p5010437][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Ho provato ma niente! risulta sempre disattivata la radeon. qualche altro consiglio?
Se provassi a modificare GPU Manager?
Codice: Seleziona tutto
sudo update-grub
[sudo] password for daniele:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.10.0-36-generic
Found initrd image: /boot/initrd.img-4.10.0-36-generic
Found linux image: /boot/vmlinuz-4.10.0-19-generic
Found initrd image: /boot/initrd.img-4.10.0-19-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
doneCodice: Seleziona tutto
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.modeset=1 radeon.drm=1 radeon.runpm=0"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modeset=1 hybridopts=ON,IGD,OFF"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"Codice: Seleziona tutto
grep quit /boot/grub/grub.cfgCodice: Seleziona tutto
dmesg | grep switchandrea111 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5010452#p5010452][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:GPU MANAGER è solo un file di log, non è un file di configurazione come lo xorg.conf. Modificarlo non comporta nulla, viene riscritto ad ogni riavvio (come lo Xorg.0.log).
A proposito del grub, fai un po' di ordine, ci sono due righe "GRUB_CMDLINE_LINUX_DEFAULT", non so come si comporta il sistema, sopratutto se ci sono opzioni d'avvio che confliggono, lì mi sembrano decisamente troppe.
Postae ancheCodice: Seleziona tutto
grep quit /boot/grub/grub.cfgCi sono interventi a cascata, e anche impegnativi; @qnst, vedi tu come procedere.Codice: Seleziona tutto
dmesg | grep switch
Codice: Seleziona tutto
daniele@daniele-HP-Pavilion-g6-Notebook-PC:~$ grep quit /boot/grub/grub.cfg
daniele@daniele-HP-Pavilion-g6-Notebook-PC:~$ dmesg | grep switch
[ 2.426652] Console: switching to colour frame buffer device 170x48
[ 2.959578] fb: switching to inteldrmfb from VESA VGA
[ 2.959664] Console: switching to colour dummy device 80x25
[ 2.960104] vga_switcheroo: detected switching method \_SB_.PCI0.GFX0.ATPX handle
[ 2.984852] vga_switcheroo: enabled
[ 4.065962] Console: switching to colour frame buffer device 128x48
Che la scheda relativa (la ATI) è spenta, non è alimentata, per cui non può effettuare nessuna operazione, è del tutto fuori gioco. Quando funzionerà lì ci sarà scritto "On" (ma il fatto che ci sarà scritto On non vorrà necessariamente dire che funzionerà, comunque sarà un bel progresso).Che cosa significa DynOff?
Codice: Seleziona tutto
grep quiet /boot/grub/grub.cfgCodice: Seleziona tutto
daniele@daniele-HP-Pavilion-g6-Notebook-PC:~$ grep quiet /boot/grub/grub.cfg
daniele@daniele-HP-Pavilion-g6-Notebook-PC:~$ sudo grep quiet /boot/grub/grub.cfg
daniele@daniele-HP-Pavilion-g6-Notebook-PC:~$
Codice: Seleziona tutto
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
# GRUB lacks write support for lvm, so recordfail support is disabled.
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/HMx639-c8sg-VCpw-WcM7-yA7P-HWSF-QAqRlC/DiQnUt-Y9jd-LJC3-7gzS-E8gD-zzOk-GeFHX7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/HMx639-c8sg-VCpw-WcM7-yA7P-HWSF-QAqRlC/DiQnUt-Y9jd-LJC3-7gzS-E8gD-zzOk-GeFHX7' 2c9e6ffa-8af4-4abd-a18c-0ba653b01982
else
search --no-floppy --fs-uuid --set=root 2c9e6ffa-8af4-4abd-a18c-0ba653b01982
fi
font="/usr/share/grub/unicode.pf2"Codice: Seleziona tutto
sudo grub-install /dev/sda Codice: Seleziona tutto
sudo fdisk -lChe fretta!ho solo Ubuntu, sto reinstallando il tutto senza LVM, ma non credo che cambi la situazione per le GPU
Codice: Seleziona tutto
sudo update-grubCodice: Seleziona tutto
cat /sys/kernel/debug/vgaswitcheroo/switchNo non c'entra nulla.Può essere anche l'opzione Virtualization Technology che non permette l'attivazione su Ubuntu della GPU AMD?