Ubuntu freezes on login after nvidia-prime
I have an Asus GL553 with Intel 560 and Nvidia GTX 1050 and I'm tried to configure my hybrid cards with nvidia-prime.
I installed Ubuntu Gnome 17.04 then installed nvidia-381 and ran prime-select intel I had to hard reboot and when I tried to login the system freezes. I have researched and read all these topics but I can't find a solution. https://devtalk.nvidia.com/default/t...rime/?offset=8 https://devtalk.nvidia.com/default/t...ime/?offset=18 https://askubuntu.com/questions/8319...h-4-7-2-kernel https://askubuntu.com/questions/8798...witch-to-intel https://bugs.launchpad.net/lightdm/+bug/1637733 https://bugs.launchpad.net/ubuntu/+s...e/+bug/1663926 Has anyone could configure nvidia properly? Thanks for advanced. |
I finally did it.
1.- Make a folder to store the SSDT files. Then extract it from the ACPI tables (run this part as root): Code:
# mkdir dsdt 3.- There's a duplicate definition in one SSDT file which won't let us dissassemble it. Find out which one it is and delete it: Code:
# grep PRT0 *.dat 4.- Next, we find the SSDT file with the code we need to change. We look for the file with both "NVID" and "OSYS" are present: (There's probably a better way to do this in grep) Code:
# grep NVID *.dat 5.- Disassemble! Code:
# iasl -e *.dat -d SSDT3.dat Code:
# sed -i '/^ *External/! s/OSYS/0x07D9/g' SSDT3.dsl 7.- Compile everything and hope there are no errors. Code:
# iasl -ve -tc -p SSDT3 SSDT3.dsl Code:
# mkdir -p kernel/firmware/acpi Code:
# cp acpi_gpufix /boot/ ou can permanently add it to your GRUB by editing /etc/grub.d/10_linux. I had to change the line initrd ${rel_dirname}/${initrd} to initrd ${rel_dirname}/acpi_gpufix ${rel_dirname}/${initrd}. Then run update-grub2. 9.- To check if it works: Code:
$ dmesg | grep ACPI | grep override source: https://github.com/Bumblebee-Project...ment-306543064 https://devtalk.nvidia.com/default/t...ng-video-cards |
All times are GMT -5. The time now is 12:26 AM. |