Which desktop have you installed as i you mentioned GDM.
sorry I couldn’t answer because of the limitation on new forum members.
Got it working again as mentioned above, runlevel 3 and nvidia-installer-dkms -n with the caveat of removing lib32-virtualgl beforehand.
I’m using i3wm with some gnome stuff like polkit-gnome, however with this install I’ve also installed gnome DE because I thought it might help me with this problem (don’t want to use it however and plan on doing another install once I know what the problem is with only the base packages)
I thought maybe you had installed Gnome desktop and that was an issue getting booted to the desktop as i think it defaults to wayland. But i’m not sure. Did you try installing straight Nvidia drivers or do you think you’ll end up with the same freeze problem? In that case maybe try Xfce desktop and i3 because they work well together.
Edit: Not sure what the issue is but it seems graphics related since you get the black screen.
i’ll give xfce + i3 a spin, xfce seemed much less… invasive, shall we say, to me than gnome.
I’ve just installed the the nvidia drivers and glxinfo reports that they’re not being used, so i’m following this wiki article right now. Seeing as I can easily revert the state by removing the xorg config file it shouldn’t be a problem.
But just to clarify, there are three different scenarios now
1.) Use nouveau and don’t have the ability to play games
2.) Use bumblebee and get a complete freeze at startup, even before the display manager starts
3.) Use prime render offloading and the DM comes up, but get a complete freeze when logging in.
Just some logs would be nice for a start, is there nowhere else I can look in this case?
progress! (I guess).
After installing the nvidia driver without dkms and adding this xorg conf as well as following the guide for using nvidia only I’m in a fourth scenario: the screen freezes when booting (DM does not come up) BUT it works on an external monitor and glxinfo reports the graphics card as working (also, I can switch TTY which I couldn’t in the previous scenarios)
Is your goal to set it up to use the Nvidia only when gaming and turn if off so it doesn’t use power? There are a number of users here that can help you with this more than i can when it comes to dual graphics on these laptops and using Bumblebee or Prime. So maybe they can see this and help you more than i can at this point.
Ideally yes, but at this point I’m fine with using the nvidia card only as long as I can do so on the integrated display as well. If you know of these hybrid graphics gurus I’d appreciate it if you could ping them (pretty please?
)
basically I just don’t want to have paid for a card I can’t use ![]()
I hear you. These guy’s have more experience with these hybrid graphics set ups. I’m fine with mostly Nvidia desktop cards and hardware. I know they are fairly busy right now trying to get the latest ISO completed.
Check out the Arch Wiki here:
https://wiki.archlinux.org/index.php/NVIDIA#Installation
Warning: Enabling KMS causes GNOME to default to Wayland. Non-Wayland-native applications suffer from poor performance in Wayland sessions because of the lack of hardware accelerated XWayland. This is expected to be resolved in Spring 2020 but there is no committed timeline from NVIDIA. Use the GNOME on Xorg session instead.
ok, so I read both of these articles a few times over now already, and I’m still trying to start i3, so no wayland here. I Also set gdm to use xorg instead of wayland so it should really purely be an xorg issue.
Was there anything specific you wanted me to point to that I missed?
P.s. (logging off now, kinda late where I am, thx a ton for the help so far!)
No i don’t really know how to point you in the right direction other than the wiki. Hope it helps if not hopefully someone else can get you there. It can be done others have done it. I don’t have this hardware setup and no experience with it.
hey, I’ve seen the guide and can’t follow it because it freezes completely as soon as I install nvidia-intaller -b and reboot.
The github issue however is new to me and sounds exactly like what’s happening here, am going to comb through this this evening, thank you ![]()
so after reading through that megalodon of an issue I think it is unrelated for several reasons:
- they mostly describe problems when the card is off, I’m quite sure my card is on but have no real way to test it because of the instant freeze
for them it’s always related to xorg, but running gdm on wayland causes the same problem, so even without starting xorg at all the freeze happens
Sadly I don’t really understand everything from the issue, and I don’t think creating a custom kernel with an untested patch from 2016 is a good idea?
So yeah, anybody out there that can help here?
EDIT: sorry, I did not run gdm with wayland, but disabled it. So yeah, might be related to xorg. Will play around a bit more
Update: Installed the april iso with xfce, booting with nvidia drivers installed no longer freezes the system, and I can switch TTYs. The original TTY (2, for what reason actually?) however is just showing a blinking cursor.
When I switch back to TTY2 the login comes up, trying to start lightdm then results in a frozen cursor. Switching away and back to TTY2 reveals a message “failed to use bus name org.freedesktop.displaymanager, do you have appropriate permissions” (recited from the top of my head, sorry).
Having said that, if I reboot with an external display plugged in lightdm starts normally. Will update the description accordingly.
EDIT: seems I can’t edit the original description anymore, can some admin maybe tell me if it is ok to open a new thread since the situation has changed?
The latest ISO is nvidia enabled so you should be able to install from it with your card. If you are trying to set up multiple monitors along with bumblebee or primus i would be getting to work with one first then try to set it up on a second monitor.
that’s the point, it’s ONLY working with a second monitor. Question is: should I open another issue for this?
Have you gone through this? The one thing i find with Arch is it spews a lot of information. There are so many different things here. If prime render is what you are after start here. I don’t know what else to tell you?
https://wiki.archlinux.org/index.php/PRIME#PRIME_render_offload
I have gone through this a article numerous times (hence the title of this thread), but with further research I’ve been able to extract more information from it.
Anyway, with this now I’m able to use the nvidia card on the internal display or the external display.
I have two different xorg config files now, one with
- only the nvidia card as a single device
Section "Device"
Identifier "Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
EndSection
- both the nvidia card and the intel gpu as devices with bus ids and a screen for the iGPU
To switch the displays I am renaming the files from.confto.bakand vice versa and restart the lightdm service.
Section "Device"
Identifier "iGPU"
BusId "PCI:00:02"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "iGPU"
Device "iGPU"
EndSection
Section "Device"
Identifier "Nvidia Card"
BusId "PCI:01:00.0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
EndSection
So at least now I’m able to use the nvidia gpu with the internal display, but I don’t have switchable graphics and I have to log out every time I’m switching between internal and external displays.
Any ideas on how I can switch these configs without having to restart the xserver?
Oh and btw, the TTYs are always on the internal display, but I guess that’s ok.
Are you not able to have one xorg.conf file with all of the info for both cards? I am not the expert on this but i know there are others that have the same or similar set up and should be able to help. You shouldn’t have to be switching back and forth between files.
I’m just looking at that section specifically and it’s a lot as Arch leads you down many rabbit holes. I wish i could be of more help.