You are not logged in.

#1 2016-12-15 12:54:17

schueni1
Member
Registered: 2016-12-15
Posts: 3

can't boot from dedicated gpu after -Rns systemd-vgaswitcheroo-units

Hi,
I installed the systemd-vgaswitcheroo-units as suggested in the setup guide for my machine:
https://wiki.archlinux.org/index.php/MacBookPro10,x

It does what it should do. My machine now always boots with the internal intel gpu.

Now I uninstalled it and tried to boot from again from the dedicated (nvidia) gpu. I executed the command:
cd /path/to/gpu-switch
./gpu-switch -d

and tried to reboot, but it always gets stuck, if i don't force to boot it from the internal graphics card with the command:
./gpu-switch -i (executed from a bootable usb-drive)

Is there any way to solve this without reinstalling Arch?

Last edited by schueni1 (2016-12-15 13:04:22)

Offline

#2 2016-12-16 12:30:38

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: can't boot from dedicated gpu after -Rns systemd-vgaswitcheroo-units

Are you using xf86-video-nouveau or nvidia proprietary drivers ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-12-16 14:29:26

schueni1
Member
Registered: 2016-12-15
Posts: 3

Re: can't boot from dedicated gpu after -Rns systemd-vgaswitcheroo-units

I'm using the open source driver. I think it is called nouveau.

Offline

#4 2016-12-17 13:15:08

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: can't boot from dedicated gpu after -Rns systemd-vgaswitcheroo-units

Yes, it is.

Try switching on the discrete card again, rebooting and waiting about 2 minutes .

Does CTRL + ALT + Fn work to give you a tty ?

If not, reboot and use "journalctl -b -1" to get the logs from the problem boot .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2017-01-02 13:22:33

schueni1
Member
Registered: 2016-12-15
Posts: 3

Re: can't boot from dedicated gpu after -Rns systemd-vgaswitcheroo-units

These are the errors I get when I try to boot with the dedicated gpu. I also get other errors, but they are the same as with the integrated gpu. So I assume the rest is not important.

[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in fdi_lanes (expected 1, found 8)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in fdi_m_n (expected tu 64 gmch 3029219/4194304 link 126217/524288, found tu 64, gmc
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_hdisplay (expected 1024, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_htotal (expected 1344, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_hblank_start (expected 1024, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_hblank_end (expected 1344, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_hsync_start (expected 1048, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_hsync_end (expected 1184, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_vdisplay (expected 768, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_vtotal (expected 806, found 65537)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_vblank_start (expected 768, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_vblank_end (expected 806, found 65537)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_vsync_start (expected 771, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_vsync_end (expected 777, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in pixel_multiplier (expected 1, found 8)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in limited_color_range (expected 0, found 1)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.flags(DRM_MODE_FLAG_INTERLACE) (expected 0, found 16)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.flags(DRM_MODE_FLAG_PHSYNC) (expected 0, found 1)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.flags(DRM_MODE_FLAG_NHSYNC) (expected 2, found 0)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.flags(DRM_MODE_FLAG_PVSYNC) (expected 0, found 4)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.flags(DRM_MODE_FLAG_NVSYNC) (expected 8, found 0)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in pipe_src_w (expected 1024, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in pipe_src_h (expected 768, found 65536)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in pch_pfit.enabled (expected 0, found 1)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in shared_dpll (expected ffff88025df39d60, found ffff88025df39df8)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in dpll_hw_state.dpll (expected 0xc4100010, found 0xffffffff)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in dpll_hw_state.fp0 (expected 0x00010c09, found 0xffffffff)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in dpll_hw_state.fp1 (expected 0x00010c09, found 0xffffffff)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in pipe_bpp (expected 24, found 0)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_clock (expected 65000, found 0)
[drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in port_clock (expected 65000, found 0)

Last edited by schueni1 (2017-01-02 13:23:10)

Offline

#6 2017-01-05 15:11:47

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: can't boot from dedicated gpu after -Rns systemd-vgaswitcheroo-units

Looks like we'll need more info to continue.

please boot to multi-user.target (see systemd wiki page) .

post /etc/mkinitcpio.conf , lspci -k and dmesg  (this may be very big, better use a pastebin site.)

Last edited by Lone_Wolf (2017-01-05 15:11:59)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB