Jump to content

An Update on using Arch Linux on my Legion 5

Go to solution Solved by archiso,
11 hours ago, Ralphred said:

What driver are you using?

Thanks for making me realize that I was using the wrong drivers, I was using proprietary nvidia with open-source amd. Switched to the proprietary amd and everything works!

Since posting this almost a year ago I have uninstalled arch and just run windows for most of my school year because it "just works". But now with extra time on my hands over the summer I decided to go full send and do a clean install of just arch linux. I have found that most of my problems listed in my earlier post have been solved through kernel updates(The LTS kernel still doesn't work, but the latest kernel does). I am still faced with one major issue, switchable graphics, I can't get PRIME to work at all as my nvidia gpu won't show up in the nvidia driver settings and using hdmi or usb-c doesn't work due to those being connected directly to the dgpu. I did find this post on reddit from a while ago and they seemed to have the dgpu working but that could also be just that they switched over in the BIOS.

 

If anyone could help it would be greatly appreciated.

Link to comment
Share on other sites

Link to post
Share on other sites

I have just tried to switch to the dgpu in the BIOS and sddm wouldn't start. I think I might just not have the correct drivers, I will look over the arch wiki again and try installing whatever it says there.

Link to comment
Share on other sites

Link to post
Share on other sites

[     6.983] (II) Loading sub module "glxserver_nvidia"
[     6.983] (II) LoadModule: "glxserver_nvidia"
[     6.983] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[     7.013] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[     7.013]    compiled for 1.6.99.901, module version = 1.0.0
[     7.013]    Module class: X.Org Server Extension
[     7.013] (II) NVIDIA GLX Module  515.48.07  Fri May 27 03:22:01 UTC 2022
[     7.014] (II) NVIDIA: The X server supports PRIME Render Offload.
[     7.419] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[     7.419] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[     7.419] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[     7.419] (EE) NVIDIA(GPU-0):     README for additional information.
[     7.419] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[     7.419] (EE) NVIDIA(G0): Failing initialization of X screen
[     7.419] (II) UnloadModule: "nvidia"
[     7.419] (II) UnloadSubModule: "glxserver_nvidia"
[     7.419] (II) Unloading glxserver_nvidia
[     7.419] (II) UnloadSubModule: "wfb"
[     7.419] (II) UnloadModule: "modesetting"

From looking over the xorg log I found this section. Something is wrong with my driver install I think.

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Ralphred said:

Can you post your xorg.conf pls?

I  do not have one.

Link to comment
Share on other sites

Link to post
Share on other sites

You need one to make PRIME work, both arch and gentoo wiki's have decent articles on how it actually works, and what to do.

Link to comment
Share on other sites

Link to post
Share on other sites

51 minutes ago, Ralphred said:

You need one to make PRIME work, both arch and gentoo wiki's have decent articles on how it actually works, and what to do.

But first I need the dgpu to work at all.

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, Ralphred said:

What driver are you using?

Thanks for making me realize that I was using the wrong drivers, I was using proprietary nvidia with open-source amd. Switched to the proprietary amd and everything works!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×