[17:45] <dgallay> c'est qoi ça mdr
[20:09] <xu-help58w> Hello?
[23:14] <xu-irc12w> Hello? I'm new to Linux and Xubuntu, and was hoping I could get some help.
[23:15] <gnrp> xu-irc12w: hi
[23:15] <gnrp> !ask
[23:15] <gnrp> xu-irc12w: What problems are you facing?
[23:16] <xu-irc12w> I'm trying to run some games on Steam, but some games run fine while others don't run at all (the steam program greys out the play button, like the game is running, but no window appears, and after a few seconds the launch button shows up green again).
[23:16] <gnrp> uh-oh
[23:17] <gnrp> this channel here is for xubuntu. While there might be people who can help you, I think it makes more sense when you look for more specific help
[23:17] <gnrp> for gaming on linux, there are dedicated channels (although I wouldn't know any right now)
[23:17] <xu-irc12w> I'd also ask for help with getting Nvidia graphics card drivers but at this stage, I think I might be better off with the open-source drivers. I've had to reinstall Xubuntu at least three or four times because I make a mistake, the graphics card throws an error, and the DTE doesn't show up.
[23:18] <xu-irc12w> Ah. Well, I'll hang around here in case there is someone who might be able to help me.
[23:19] <gnrp> although things might also be related to the driver, of course
[23:19] <gnrp> what was the issue when you used the proprietary nvidia driver?
[23:19] <gnrp> it's quite some time ago that I dealt with that, but maybe I can help
[23:20] <xu-irc12w> I'm... not even entirely sure exactly. All I know is that sometimes when rebooting, the reboot wouldn't happen properly.
[23:20] <xu-irc12w> I'd get errors related to nvidia_drm
[23:20] <xu-irc12w> Or there'd be an i2c timeout error
[23:21] <xu-irc12w> And then I wouldn't be able to reboot. The computer would just get stuck
[23:21] <xu-irc12w> Either that, or it would bring me to a terminal and not a desktop environment
[23:21] <xu-irc12w> And I wouldn't know what to do next
[23:21] <xu-irc12w> So I just reinstalled.
[23:21] <xu-irc12w> And this happened when I chose a nvidia proprietary driver from the list in "additional drivers".
[23:23] <tomreyn> xu-irc12w: which nvidia graphics card / chipset do you have there?
[23:23] <tomreyn> lspci -knnd ::0300 | nc termbin.com 9999 
[23:26] <xu-irc12w> Hello? Sorry, I had to dip out for a sec. Someone was asking what graphics card I have?
[23:27] <xu-irc12w> My graphics card is a GeForce GTX 1660 Ti Mobile. There's also an integrated graphics card, though I don't know what model that is.
[23:27] <xu-irc12w> Currently I've got the X.org open-source driver.
[23:29] <tomreyn> xu-irc12w: yes, i was asking. and your xubuntu version is?   lsb_release -ds
[23:29] <xu-irc12w> 22.04, Jammy Jellyfish
[23:31] <tomreyn> ok, here are some generic notes on nvidia drivers:
[23:31] <tomreyn> !nvidia
[23:31] <xu-irc12w> Oh, on a related note - how do I kill a process that I can't normally close? I was trying stuff out and one game's menu wouldn't show up properly, but it also captured the mouse so I couldn't click on anything outside the game itself, so I had to relog just to get back in.
[23:34] <tomreyn> you can switch to a tty and login there and then run    pidof COMMAND    where "COMMAND" would be the command that created the window. this should return one (or more) process IDs. if you want to kill all those processes, you can   (sudo) killall COMMAND. if some are still running then, add -9 and run again
[23:35] <xu-irc12w> So just to make sure I understand: I should install the driver (in this case, ubuntu-drivers seems to be recommending "nvidia-driver-530-open") I should type
[23:35] <xu-irc12w> ubuntu-driver install nvidia-driver-530-open
[23:35] <xu-irc12w> into the terminal?
[23:35] <tomreyn> you can also use   psauxw | grep -i COMMAND    to look for running commands, this may be less destructive
[23:36] <tomreyn> xu-irc12w: yes, you can type    ubuntu-drivers install nvidia-driver-530-open    into the terminal. i don'T know which quality the open driver is by now, but you can try.
[23:36] <tomreyn> the 515 series open driver did seem to have multiple issues still
[23:37] <xu-irc12w> And then I just... select it from the "software and updates" window and restart my computer?
[23:39] <tomreyn> do it on the GUI or on the CLI, not both
[23:41] <xu-irc12w> Alright. I'm gonna switch to the 530 open kernel using the GUI.
[23:43] <tomreyn> if this driver causes problems with booting, then boot to grub (press escape during early boot), and select the 'recovery' kernel from the 'Advanced' menu, then, on the menu which displays, enable networking (which will also mount file systems) and start a root shell. then run  apt update; apt purge *nvidia*    and confirm and reboot
[23:43] <xu-irc12w> I'll... try to keep that in mind. Thanks.
[23:44] <tomreyn> alternatively, easier:
[23:44] <tomreyn> if this driver causes problems with booting, then boot to grub (press escape during early boot), and select the 'recovery' kernel from the 'Advanced' menu, then, on the menu which displays, select to continue booting. you'll boot into failsafe graphics, and should be able to come here again for further suggestions.
 alternatively, easier:
 if this driver causes problems with booting, then boot to grub (press escape during early boot), and select the 'recovery' kernel from the 'Advanced' menu, then, on the menu which displays, select to continue booting. you'll boot into failsafe graphics, and should be able to come here again for further suggestions.
[23:46] <xu-irc12w> Back from restarting to finalize the Nvidia driver update. And restarting just reminded me: How do I get a drive to automount on bootup/login?
[23:47] <tomreyn> you can probably do that in xfce somehow, but i'm afraid i don't remember how you'd best do so. or you could put it into /etc/fstab, or you could write a systemd unit file for it.
[23:48] <tomreyn> i'd start investigating using thunar, and a web search for "xubuntu" OR "xfce" "auto" OR "automatic" "user mount"
[23:48] <tomreyn> (and look for the more current articles describing it)
[23:51] <xu-irc12w> Alright. Now: How do I get my computer to actually use the correct graphics card for games? Like I said earlier, I've got an integrated graphics card, and a more powerful Nvidia one.
[23:52] <tomreyn> xrandr --listproviders | nc termbin.com 9999
[23:55] <xu-irc12w> Typed in 'xrander --listproviders' in the terminal. Got this:
[23:55] <xu-irc12w> Providers: number : 1
[23:55] <xu-irc12w> Provider 0: id: 0x42 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesetting
[23:57] <tomreyn> hmm, i guess this means only the integrated graphics driver is loaded, or i'm misinterpreting it due to the open nvidia driver
[23:57] <xu-irc12w> Also, while trying to edit fstab to automount a drive, I tested it before booting according to these instructions here (https://developerinsider.co/auto-mount-drive-in-ubuntu-server-22-04-at-startup/) and got this result:
[23:57] <xu-irc12w>    [W] non-bind mount source /swapfile is a directory or regular file
[23:57] <xu-irc12w> 0 parse errors, 0 errors, 1 warning
[23:57] <xu-irc12w> I gotta go, be back in a bit