IdeaPad Gaming 3i 16" (12th Gen 12700H, 3050 Ti)

No, I mean if you boot with the EndeavourOS USB installer and choosing the Nvidia entry.
Then, in the liveuser, you can show the inxi output.

i seem to have lost the usb. and all other usbs i have… bear with

i cannot find it. but ill show you what i get in linux-lts when running inxi -Ga:

Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Lenovo
    driver: i915 v: kernel arch: Gen12.2 process: Intel 10nm built: 2021-22+
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 0000:00:02.0
    chip-ID: 8086:46a6 class-ID: 0300
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Lenovo
    driver: nvidia v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Ampere process: TSMC n7 (7nm)
    built: 2020-22 ports: active: none empty: HDMI-A-1 bus-ID: 0000:01:00.0
    chip-ID: 10de:25a0 class-ID: 0300
  Device-3: Luxvisions Innotech Integrated Camera type: USB
    driver: uvcvideo bus-ID: 3-7:2 chip-ID: 30c9:0030 class-ID: 0e02
    serial: 0001
  Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver:
    X: loaded: intel,nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65")
    s-diag: 798mm (31.43")
  Monitor-1: eDP-1 mapped: eDP1 model: BOE Display 0x0a40 built: 2021
    res: 2560x1600 dpi: 191 gamma: 1.2 size: 340x210mm (13.39x8.27")
    diag: 406mm (16") ratio: 16:10 modes: 2560x1600
  OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 22.1.3
    direct render: Yes

and im happier with this as running nvidia-settings and nvida-smi actually works. graphics wise though, we’re not out of the trouble area. i keep getting thrown into the TTY :frowning:

i just open up the menu (super+space) and type “display.” The moment i press enter, boom, TTY. or, rather, just a black screen with a cursor blinking at the top left, i have to go to a separate tty to login and reboot. i wish to go into display settings to check if i can now sort the screen refreshrate issue.

any ideas?
also why does it not work in non-LTS kernel? :stuck_out_tongue:

It shows the nvidia drivers installed but you are still running on Intel. You have the latest drivers. Try this kernel parameter in the default grub command line. The update grub with the proper command.

ibt=off

you mean in the grub config where i would change boot order or timeout time?
and is there no other way? this would mean i am always running on the GPU from boot, which is something people dont advise?

Just use nano and add ibt=off to /etc/default/grub and save the file. Then update grub with the update grub command.

sudo grub-mkconfig -o /boot/grub/grub.cfg

Edit: https://wiki.archlinux.org/title/GRUB#Generated_grub.cfg

Rick’s advice about ibt=off is afaik related to a bug in the default kernel. Hopefully the bug will be fixed soon upstream, but you might want to try this workaround. It may help getting the default kernel show the nvidia stuff.

Note that it alone will not switch nvidia gpu as default.

1 Like

darn. I added the pram at the end of my grub and rebooted after updating grub, and made sure to boot into the current kernel, not lts, but no dice.
nvidia-settings and nvidia-smi show no output.
Is there a downside to using LTS for the rest of our troubleshooting?
That said, ive made progress to the wifi affairs.

i went to the lenovo fourms and the last post shown goes into deets about the laptop, and its parts. i believe that that is the wifi card in question. over on linux.org the clever people there looked at this card and came up with this (the last 2 posts). firmware kind of scares me, i thought I should ask EOS team about how to go on from here. i’m really worried about bricking my device. that said, i have downloaded the latest one from here ( as found from the linux.org post) though not dared touch it.
if it’s all the same regardless of distro, do say. i dont want to take up too much of your time.

edit: i checked both suggested firmware files in /lib/firmware and both are present.

I wouldn’t be using nvidia settings as it is my understanding it can create an xorg file which you don’t want for nvidia. The install of nvidia creates a different file. It should be this file /etc/X11/xorg.conf.d/20-nvidia.conf

Edit: It is also possible that your WiFi is an intel. It is only showing the Realtek 8852 which could be just the Bluetooth as that is what is shown in the logs. If it is an Intel wlwifi then it may need a newer firmware.

don’t worry about the wifi for now, i have a little dongle until i sort graphics.
I am stuck in the tty again. But this time don’t know what is causing it.
I have had nothing but werid and confusing behavior from gpu/ graphics side of things. All my system info is in this tread; here is what’s happening.

out right crashing when opening “display” options, but I think that is an old xfce bug.

after downloading steam runtime, mouse and keyboard input do not work on the login window. though maybe at pure randomness some input is taken in, it clearly just does not work.

when hdmi-ing to my tv, things… dont work either. was just trying to watch a movie and the aspect ratio/resolution/zoom was messed up when moving across to the tv. failing to fix it, i just make the tv the main display (the screen menu pops up when plugging in hdmi, and i can use it from there) but man was it borked. it was going at 3 fps if i was lucky, and kinda stopped moving at all. couldnt see the mouse even. tried vlc but it was just… slow? both the defaut video player and vlc was glitchy. (this is when i look into gpu things and when i got stuck into tty)

i really, trully, no matter how hard i try, i fail to understand all the types of combo gpu management software. to make things worse, im confusing myself trying to understand what switching kernel means. in either, up to this piont, i don’t think the 3050 was in use at all. and i wanted to make the system ONLY use the 3050, just to get an idea of what things should be like but things died off sooner than that point.

after removing optimus-manager from the tty ( i simply installed it and hoped to see a system tray after a reboot, but it never went to graphical env.) and rebooting, things didnt go back to as they were. so im a little lost now

The output you showed running the lts kernel shows the nvidia driver loaded in post 82 but it was running on Intel. You have to have some way of switching graphics. Does your UEFI Bios have a setting to switch to the dedicated graphics or is it a setting to enable switchable graphics? I don’t know it’s not my hardware. If it is just a setting to enable switchable graphics then you have to have a way to do that. Either using prime render or optimus-manager or some other method. I don’t know if the nividia doesn’t show up in the current kernel as installed? But you would still have to switch as it would still most likely be running on the Intel graphics. inxi -Ga shows you that.

hmm im not sure I understand. My graphical environment is not starting, i dont think it has anything to do with gpu switching right now though.

You could try uninstalling and/or blacklisting those graphics drivers you don’t need or don’t want to use.

https://wiki.archlinux.org/title/Kernel_module#Blacklisting

For example, to use only nvidia, blacklist i915.

hmm, i dont want to risk breaking things I dont understand. i see that the open source gpu dirvers are started at boot, so that is something to look into later… but…
It would be easier to work with a GUI rather than TTY, and starting x isnt working regardless of what GPU i try to use. id be fine trouble shooting the gpu thing from GUI running on the igpu as it was before.
it says connection refused when doing startx. How should I go about trouble shooting out of TTY?

One idea is to change the Display Manager as they sometimes cause problems.
Simply install another display manager, e.g.

sudo pacman -Syu sddm

(or another if you already have sddm in use).

Then disable your current display manager and enable the new one:

systemctl disable lightdm   # current
systemctl enable sddm       # new
reboot

heh i am happy that i was already looking at that.
i just tried that, using “ly” and indeed ly worked. though i just logged in and im shown x errors.
ly is terminal based though, so no wonder it worked. no GUI display manager is working, and twice now have just crashed my TTY, and i am forced to reboot (wont even let me switch to another tty lol)
“cannot run in framebuffer mode. please specify busIDs”
i think that is the only error, though the formatting is all skewif.

i still cannot have a GUI on the laptop. cannot for the life of me figure out what is wrong.
should I open a new thread? it is pretty important to me, and i have tried troubleshooting it else where but… no luck.
thanks!

Yeah, a new thread is a good idea as this is already very long.
One problem, one thread. :wink: