LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   slack 15 new install fail - likeslak fails to startx (https://www.linuxquestions.org/questions/slackware-installation-40/slack-15-new-install-fail-likeslak-fails-to-startx-4175728919/)

sbabaro1 09-13-2023 10:22 AM

slack 15 new install fail - likeslak fails to startx
 
Hi all
are some days I'm trying to install slack15 on my dell 9530(2023)
it has an Intel Iris X3 and a RTX 4050 has dGPU
When I try to start from the usb key I've create from the official ISO, it stuck on LILO loading (just freeze, the only thing I can do is switch off the laptop)

Looking around seems that ELILO have some problem with recent UEFI, so I've tried with liveslack
Grub start, and I arrive to the prompt, beacuse it fails to startx
Giving the command
Code:

startx
it fails with
Code:

vesa refusing run on uefi
If I look to DMESG, I find
Code:

nouveau unknown chipset 197000a1
I've tried to add at the linux command in grub
Code:

nomodeset nouveau.modeset=0
but I see exact the same behaviour

rizitis 09-13-2023 10:53 AM

You need the NVIDIA drivers, blacklist nouveau and install from here https://www.nvidia.com/download/driv.../210649/en-us/
I use the same...
EDIT: But I think that you are having issue with Iris Xe also. This is your first card and you should startx if it was ok. From what I understand you dont have correct driver for this model also. Try with Slackware current which having newer mesa drivers...

Daedra 09-13-2023 12:50 PM

Newer Nvidia cards can be a PITA. nouveau.modeset=0 should do the trick, but if that is not working then what you can do if you have access to another computer is reinstall Slackware 15.0. At the end of the install don't reboot but drop into shell, then chroot your new install like this

Code:

chroot /mnt
Then add a user with the "adduser" command. After you create the user you can type exit and reboot. The computer will boot blind like it has been doing, but if you have access to another computer you can ssh into the new install using "ssh username@ipaddress". Once you are logged in to the machine you can install the nouveau blacklist file like this...

Code:

cd /tmp
wget https://slackware.osuosl.org/slackware64-15.0/extra/xf86-video-nouveau-blacklist/xf86-video-nouveau-blacklist-1.0-noarch-1.txz
installpkg xf86-video-nouveau-blacklist-1.0-noarch-1.txz

Once the blacklist file is installed you can reboot and you should now have picture and can install the binary nvidia drivers.

Daedra 09-13-2023 12:52 PM

Also you may want to check your bios and see if you can just disable the Nvidia card. If you can then you could just do that and after you install Slackware you can install the xf86-video-nouveau-blacklist-1.0-noarch-1.txz. Then you can go back into your bios and re-enable the NVIDIA card.

sbabaro1 09-14-2023 03:53 AM

First of all, many thanks both for the suggestions

In the bios I cannot disable the Nvidia card, neither choose the prioritization between the intel and the nvidia

I've installed from liveslak with setup2hd, so I can mount the installation starting in console via liveslack

Do you think the I can go directly with the current (to test the new mesa driver)? Is it enough reliable for the PC I was normally for work?
Another solution can be try to compile x/mesa-23.1.7-x86_64-1.txz from the current tree and install it

Anyway I'll install the xf86-video-nouveau-blacklist-1.0-noarch-1.txz and see if I can drop in graphic

Petri Kaukasoina 09-14-2023 04:28 AM

Quote:

Originally Posted by sbabaro1 (Post 6453598)
Do you think the I can go directly with the current (to test the new mesa driver)? Is it enough reliable for the PC I was normally for work?
Another solution can be try to compile x/mesa-23.1.7-x86_64-1.txz from the current tree and install it

Yes, sure you can go current, if the alternative is to run Slackware without X.

I don't have high hopes for upgrading only mesa, if you want support for the latest graphics chips. In current there is also a new kernel, a new xorg-server (including the modesetting Xorg driver), and a new xf86-video-nouveau Xorg driver. And libdrm.

rizitis 09-14-2023 09:31 AM

I m almost sure that if you install current your intel card will be ok, although that current is behind in mesa drivers also. But hopefully you will have X up. Then you can do what is needed for Nvidia. If for any reason you still not have but you can boot in recovey mode. Then blacklist nouveau and upgrade to latest mesa drivers. Your laptop is Optimus, that mean that you can have X with Intel only card but you cant have only from Nvidia. Nvidia need intel card to be installed and working for been used as second card. If everything goes ok i can help you more to work your Nvidia card...

sbabaro1 09-15-2023 02:50 AM

Thank to all
I've installed current (using liveslak), and now is working ELILO to
Now start with customization, long path ahead :)

rizitis 09-15-2023 07:27 AM

Good!! Mark as solved plz.
Ps. You have a great laptop, you will enjoy your builds in Slackware. :)


All times are GMT -5. The time now is 05:15 AM.