LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-11-2023, 04:23 AM   #1
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
can't open X-session in new installation slackware 15.0 x64


I installed slackware-15.0 64-bit on a brand new laptop.
I applied the latest patches available (including linux-5.15.117/*).

I tried to open an X-session.

Code:
startx
failed, with some error messages.

Here's an excerpt of /var/logs/Xorg.0.log
that I think might be relevant:

Code:
X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
[   325.235] Build Operating System: Slackware 15.0 Slackware Linux Project
...
[   325.237] (EE) open /dev/dri/card0: No such file or directory
[   325.237] (WW) Falling back to old probe method for modesetting
[   325.237] (EE) open /dev/dri/card0: No such file or directory
[   325.237] vesa: Refusing to run on UEFI
I was wondering if this was due to the new kernel.
So I tried a new installation on another partition.
This time I skipped the patching from the linux-5.15.117

This time the booting process got stuck here
Code:
Updating hardware database index
/sbin/udevadm hudb --update
Triggering udev...
 
Old 09-11-2023, 06:13 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,409

Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
Video drivers? We've nothing to go on except that the video card isn't seen and that it's likely your fault, or the kernel's. You'd have to reinstall nvivia drivers but you could have anything.
 
Old 09-11-2023, 07:47 AM   #3
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by business_kid View Post
Video drivers? We've nothing to go on except that the video card isn't seen and that it's likely your fault, or the kernel's. You'd have to reinstall nvivia drivers but you could have anything.
I'm leaning towards agreeing with business_kid

I personally haven't seen this issue in years, but when I did I was usually due to a driver issue.

Could you provide some hardware information, or at least the brand/model of the laptop?

It might prove useful
 
Old 09-11-2023, 07:56 AM   #4
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,855

Rep: Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523
Quote:
Originally Posted by vonbiber View Post
I applied the latest patches available (including linux-5.15.117/*).
Did you upgrade your initrd after upgrading the kernel packages and run eliloconfig to copy the kernel and initrd to the EFI System Partition as told in the Slackware Security Advisories?
 
1 members found this post helpful.
Old 09-11-2023, 08:18 AM   #5
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by business_kid View Post
Video drivers? We've nothing to go on except that the video card isn't seen and that it's likely your fault, or the kernel's. You'd have to reinstall nvivia drivers but you could have anything.
The graphic card is Intel Iris Xe Graphics

I bought the laptop from a web site.
they say that their laptops are all linux-compatible.
At least with the preinstalled ones they offer.
As slackware wasn't in the list (*buntu, fedora, debian...),
I opted for a clean system.
This is my model
https://laptopwithlinux.com/product/clevo-nj70/
 
Old 09-11-2023, 09:24 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
From 3.2 of this Arch wiki
Quote:
Using Intel DDX driver with recent GPUs

For Intel GPUs starting from Gen8 (Broadwell), the Iris Mesa driver is needed:

Option "DRI" "iris"
 
Old 09-13-2023, 02:32 AM   #7
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
It seems a more recent version of the kernel and firmware
(at least version 6.1) was needed.
Today I downloaded slackware64-current-install-dvd.iso
(I also downloaded the corresponding multilib for current)
I installed current (also applied multilib),
created a new user
Code:
startx
It worked!
I'm gonna mark this as solved even if it doesn't work on the stable version
(unless the kernel and firmware is updated, which I'll try on the
stable version installed in another partition.

@Petri
[quote]
Did you upgrade your initrd after upgrading the kernel packages and run eliloconfig to copy the kernel and initrd to the EFI System Partition
[/code]
I use refind as a boot loader
It's installed in the first partition (vfat)
When I did my installation on the 4th partition
I just created a subdirectory named 4 in the EFI partition,
placed the used kernel there
(there's an entry in my fstab that allows me to mount
/dev/nvme0n1p1 to /ESP)
Code:
mount /ESP
cd /boot
cp $(readlink vmlinuz) /ESP/EFI/4/vmlinuz
and I created an entry in the boot menu for it
(I use the huge kernel, so no initrd is needed)
 
Old 09-13-2023, 04:14 AM   #8
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,855

Rep: Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523
Quote:
Originally Posted by vonbiber View Post
Code:
mount /ESP
cd /boot
cp $(readlink vmlinuz) /ESP/EFI/4/vmlinuz
OK, if you copied the upgraded kernel to the EFI partition. But if you copied the original one, and then applied all the patches, the system booted to the original kernel, but its modules were missing after upgrade, resulting non-working graphics.
 
Old 09-13-2023, 05:11 AM   #9
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by Petri Kaukasoina View Post
OK, if you copied the upgraded kernel to the EFI partition. But if you copied the original one, and then applied all the patches, the system booted to the original kernel, but its modules were missing after upgrade, resulting non-working graphics.
That, I did (copied the upgraded kernel to the EFI partition).
My guess is that the Intel Iris Xe wasn't supported in kernel versions < 6.1
 
Old 09-14-2023, 05:52 AM   #10
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
To make things clearer.
In a previous post, I said that the X-server
could be accessed with current.

Now, with the stable version neither of 5.15.19
(the original kernel version) nor 5.15.117 (after applying
the patches for the stable slackware) allowed me to open
an X-session, I did the following:
1. I extracted all the kernel packages from current
(as of September 12, 2023), placed them in a
packages directory:
Code:
packages/kernel-firmware-20230906_ad03b85-noarch-1.txt
packages/kernel-firmware-20230906_ad03b85-noarch-1.txz
packages/kernel-firmware-20230906_ad03b85-noarch-1.txz.asc
packages/linux-6.1.52/kernel-generic-6.1.52-x86_64-1.txt
packages/linux-6.1.52/kernel-headers-6.1.52-x86-1.txz.asc
packages/linux-6.1.52/kernel-source-6.1.52-noarch-1.txt
packages/linux-6.1.52/kernel-generic-6.1.52-x86_64-1.txz.asc
packages/linux-6.1.52/kernel-modules-6.1.52-x86_64-1.txz
packages/linux-6.1.52/kernel-modules-6.1.52-x86_64-1.txz.asc
packages/linux-6.1.52/kernel-huge-6.1.52-x86_64-1.txz
packages/linux-6.1.52/kernel-source-6.1.52-noarch-1.txz.asc
packages/linux-6.1.52/kernel-huge-6.1.52-x86_64-1.txz.asc
packages/linux-6.1.52/kernel-generic-6.1.52-x86_64-1.txz
packages/linux-6.1.52/kernel-headers-6.1.52-x86-1.txt
packages/linux-6.1.52/kernel-huge-6.1.52-x86_64-1.txt
packages/linux-6.1.52/kernel-source-6.1.52-noarch-1.txz
packages/linux-6.1.52/kernel-headers-6.1.52-x86-1.txz
packages/linux-6.1.52/kernel-modules-6.1.52-x86_64-1.txt
I patched the stable installation with these.
This time X-server could be accessed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
FFMPEG for APACHE 2.4.6 (x64), PHP 5.5 (x64), MYSQL 5.6 (x64) on WINDOWS 8 (x64) Punctual Programming 3 08-07-2013 05:20 PM
Slackware 13.37 x64 & Windows 7 x64 Dual Boot Issues toolman30044 Slackware 4 08-08-2011 02:39 PM
[SOLVED] Slackware 13.1 beta1 "Cannot open ConsoleKit session: Unable to open session..." fl0 Slackware 2 05-13-2010 09:37 AM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration