Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X11 server does not start (missing drivers/firmware) #1665

Closed
buzzmandt opened this issue Oct 10, 2024 · 7 comments
Closed

X11 server does not start (missing drivers/firmware) #1665

buzzmandt opened this issue Oct 10, 2024 · 7 comments
Labels
agama-live bug Something isn't working

Comments

@buzzmandt
Copy link

buzzmandt commented Oct 10, 2024

On 3 real hardware machines I get

[ OK ] Started X11 Session
[ 37.668759][ T3166] No iBFT detected.

Progress is halted and system stops. I'd love to help trouble shoot this but I have no idea how.

2 older machines and 1 much newer one. All 3 are currently running tumbleweed but can't boot Agama. This was one Leap 16 pre-alpha downloaded this evening.

@imobachgs
Copy link
Contributor

Hi! Where did you download the ISO from, please? Just to make sure that I check the same.

@buzzmandt
Copy link
Author

buzzmandt commented Oct 11, 2024

From https://get.opensuse.org/leap/16.0/

I'm sure it'll make it harder to dig it up, but I don't have this problem on any of the virtual machines I've ran it on. I can give you model numbers and hardware info if that helps. All three were laptops, all three laptops are currently running tumbleweed

@kobliha
Copy link
Contributor

kobliha commented Oct 16, 2024

It's seems that the iBFT is just a red herring. I've experienced similar issue and it was actually the X server unable to start for missing video drivers from the media. To check that...

  1. Switch to some console where you should see the root password to log in
  2. Run hwinfo --gfxcard <-- if Driver Status: is inactive, try...
  3. Driver Activation Cmd: modprobe $that_driver (in my case it's "i915")
  4. If that fails, dmesg will tell a lot

Also checking with less /var/log/Xorg.0.log would tell you how far this got. Somewhere there will be a note what has failed and why. My bet is a missing file/s under /lib/modules/*/kernel/drivers/media/

@buzzmandt
Copy link
Author

Tried on one... images with more details attached

hwifno --gfxcard
ATI Technologies Inc
Trinity [Radeon HD 7640G]
Driver info #0, radeon not active, activation cmd : "modprobe radeon"
Driver info #1, amdgpu not active, activation cmd: "modprobe amdgpu"

modprobe either gives and long list of errors about symbols missing

less /var/log/Xorg.0.log
"No such file or directory"

cd /var/log/ enter
dir
returns the other picture attached. no Xorg anything listed.

log entries appear to be
alternatives.log
pbl.log
wpa_supplicant.log
IMG_20241016_152639774
IMG_20241016_153328028

@kobliha
Copy link
Contributor

kobliha commented Oct 17, 2024

modprobe radeon

OK, so modprobe radeon on my system throws the same error: cec missing
This might be because of how my system is connected to the monitor (HDMI), but I believe it's the same issue.

Some more info about the drivers:
modinfo - depends

i915 is mine, the other ones are @buzzmandt's

@imobachgs imobachgs added bug Something isn't working agama-live and removed needinfo labels Oct 17, 2024
@imobachgs imobachgs changed the title No iBFT detected The X11 server does not start Oct 17, 2024
@imobachgs imobachgs changed the title The X11 server does not start X11 server does not start (missing drivers/firmware) Oct 17, 2024
@buzzmandt
Copy link
Author

That long list of -2 errors is exactly what I was getting too.
Don't know if it helps or not (more info is better) mine is a laptop with no external monitor attached.

lslezak added a commit that referenced this issue Nov 28, 2024
Keep the multimedia drivers which are needed as dependencies
of other drivers (usually graphic card drivers)

(gh##1665)
lslezak added a commit that referenced this issue Nov 28, 2024
Keep the multimedia drivers which are needed as dependencies
of other drivers (usually graphic card drivers)

(gh##1665)
lslezak added a commit that referenced this issue Nov 28, 2024
## Problem

- Some kernel drivers are missing on the Live ISO, some hardware might
not be supported or might work only partially
- See #1665

## Solution

- Keep the multimedia drivers which are needed as dependencies of other
drivers (usually graphic card drivers)
- The driver dependencies are evaluated recursively to include also
dependencies of dependencies...

## Testing

- Tested manually, the Live ISO builds fine
- The built ISO image size is increased just slightly, +1MB
- The missing `cec.ko` driver originally reported in #1665 is kept in
the system

Script output from Live ISO build:

```
Scanning kernel modules in /lib/modules/6.11.8-1-default/kernel/sound...
Scanning kernel modules in /lib/modules/6.11.8-1-default/kernel/drivers/media...
Scanning kernel modules in /lib/modules/6.11.8-1-default/kernel/drivers/staging/media...
Scanning kernel modules in /lib/modules/6.11.8-1-default...
Skipping dependent drivers:
/lib/modules/6.11.8-1-default/kernel/drivers/media/cec/core/cec.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/common/uvc.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/common/videobuf2/videobuf2-common.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/common/videobuf2/videobuf2-dma-sg.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/common/videobuf2/videobuf2-v4l2.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/common/videobuf2/videobuf2-vmalloc.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/rc/rc-core.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/v4l2-core/v4l2-flash-led-class.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/v4l2-core/videodev.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/core/snd-pcm.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/core/snd-rawmidi.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/core/snd-ump.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/core/snd.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/soc/snd-soc-core.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/soc/sof/intel/snd-sof-intel-hda-mlink.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/common/videobuf2/videobuf2-memops.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/mc/mc.ko.zst
/lib/modules/6.11.8-1-default/kernel/drivers/media/v4l2-core/v4l2-async.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/core/snd-compress.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/core/snd-pcm-dmaengine.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/core/snd-seq-device.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/core/snd-timer.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/hda/ext/snd-hda-ext-core.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/soundcore.ko.zst
/lib/modules/6.11.8-1-default/kernel/sound/hda/snd-hda-core.ko.zst
Drivers to delete:
Deleting /lib/modules/6.11.8-1-default/kernel/sound/ac97_bus.ko.zst
Deleting /lib/modules/6.11.8-1-default/kernel/sound/core/oss/snd-mixer-oss.ko.zst
Deleting ...
```
@lslezak
Copy link
Contributor

lslezak commented Nov 28, 2024

Fixed in #1790, the cec.ko driver and some more are now kept in the system.

@lslezak lslezak closed this as completed Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agama-live bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants