Grafik wird gefunden, aber SDDM startet nicht ("Failed to read display number from pipe")

nein

Plasma 6

Ja

Ja, je nachdem welcher User sich im Terminal anmeldet.

Ich habe mich schon eine ganze Weile nicht mehr darum gekümmert. Vielleicht gibt es ja mittlerweile eine Lösung.

Ich hab’ mal eine virtuelle Konsole via [Alt]+[F(2…6)] aufgerufen und die GUI darüber gestartet - prinzipiell funktioniert’s tatsächlich, danke für den Tipp!

Allerdings ist’s leider (fast erwartungsgemäß) wohl nicht so einfach möglich, den User im GUI zu wechseln, womöglich einfach beide parallel laufen zu lassen etc.; zumindest tut sich das System bei mir (vermutlich aufgrund des nicht funktionierenden SDDM) damit schwer.
Wie gesagt, Ziel ist es, den Rechner kurz- bis mittelfristig als Standard für die gesamte Familie verfügbar zu machen (dass ich dafür auch noch einiges über Linux im Allgemeinen und Manjaro im Speziellen lernen muss, ist mir schon klar).

Auch bin Ich mit bzgl. der Stabilität des Systems derzeit noch nicht sicher, ob das ansonsten gerade wirklich sauber läuft, weshalb ich trotz alledem über eine Neuinstallation nachdenke.

Ich hab’ nur mal kurz geschaut und auf die Schnelle das hier gefunden:
optimus-switch-sddm - easy installer for optimus-switch for SDDM
Soweit ich das verstehe, sollte das prinzipiell das Problem der zwei Grafikkarten im System (NVidia + Intel unter Manjaro) begegnen - allerdings ist die letzte Änderung schon 5 Jahre alt - und damit deutlich älter als Plasma 6.

@weingeist , hattest Du Dir das eventuell schon irgendwann einmal angeschaut?

Vielleicht versuche ich die Schritte in der Beschreibung mal nachzuvollziehen, bevor ich neu installiere.

Optimus, Envycontrol und all die Kandidaten habe ich mir noch nicht angeschaut. Hat auch seinen Grund. Damit schaltest du jeweils eine Grafikkarte ab. Willst du spielen wechselst du auf die nvidia, startest den Rechner neu und dann hast du nur die nvidia und die intel ist tot. Genau so anders herum.
So macht in meinen Augen hybride Grafik keinen Sinn.
Und wenn es richtig konfiguriert ist funktioniert hybride Grafik tadellos bis halt auf den sddm.

Das hier könnte funktionieren, vielleicht kannst du es ja mal testen. Ich komme frühestens am WE dazu.

1 Like

Ja, da bin ich ganz bei Dir.

Ich probier’s, sobald ich’s schaffe, aber auch erst frühestens am Freitag.

Was mich wundert:
Ich kann mir kaum vorstellen, dass Rechner mit hybrider Grafik unter Manjaro mit KDE solch ein Exot sind, dass das noch nicht großartig aufgefallen ist…

you have probably installed the wrong display drivers:

post output from:
mhwd -l -li
find /etc/X11/ -name "*.conf"

1 Like

Funktioniert NICHT

1 Like
mhwd -l -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI
         network-r8168            2023.09.12                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0300:1002:6840) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:07:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2023.09.12                true            PCI


> 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI
find /etc/X11/ -name "*.conf"
/etc/X11/mhwd.d/vesa.conf
/etc/X11/xorg.conf.d/30-touchpad.conf
/etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf.d/90-mhwd.conf

EDIT 2024-11-19:
Removed non-printable characters from console’s outputs for better formatting / readability.

Erst einmal danke für’s Testen und Antworten.
Ein paar Fragen haben sich für mich trotzdem noch ergeben:

Ich hatte gestern angefangen, mich ein wenig einzulesen und versucht, das Thema zu verstehen (Zeit ist wegen Krankheit der gesamten Familie derzeit leider etwas knapp).
Dazu hatte ich mich u.a. mal in KWin und in die Frage, was genau ist überhaupt ein Compositor und was ein Window Manager etwas eingelesen (KWin ist ja wohl beides - also Compositor und Window Manager - und sollte eigentlich das X11- als auch das neuere Wayland-Protokoll untestützen, wenn ich das richtig verstanden habe).
So weit so gut.

Folgendes hab’ ich dabei aber nicht so recht verstanden, gefunden oder nachvollziehen können:

  1. KWin ist ja bei KDE bereits als Window Manager / Compositor installiert - aber wie bzw. wo kann ich überhaupt die Environment Variables setzen bzw. ändern?

  2. In der Beschreibung der Veriablen “KWIN_DRM_DEVICES” steht: “Can be set to explicitly tell kwin_wayland which GPU(s) to use. […] The first device in the list will be used by KWin and most apps for rendering.”
    Soweit ich das verstehe, gibt dieser Parameter also keine Zuordnung vor, welches Programm auf welche Grafikkarte zugreift - was doch aber das Ziel gewesen wäre?

  3. Um herauszubekommen, wofür bei den Variablen “DRM” steht, hab’ ich etwas gebraucht - nicht “Digital Rights Management” (was hier ja auch keinen Sinn ergibt), sondern “Direct Rendering Manager”. :wink:

  4. Nicht ganz klar ist mir hingegen, wie bzw. wann überhaupt welche Grafikkarte angesprochen wird.
    Soweit ich es nach der eingangs erwähnten Lektüre auf diversen Seiten verstehe, wird ja auch für die “normale” Darstellung der Fenstereffekte (die bei KDE ja recht üppig ausfallen, wie z.B. alleine das “Glühen” des aktiven Fensters) bereits auf die Berechnung der Effekte durch eine eher leistungsfähige GPU zurückgegriffen - wird also generell eher auf die NVidia als auf die Intel GPU zurückgegriffen?
    Bzw. macht es bei vielen visuellen Effekten nicht eh eher Sinn, eine “leistungsfähige” GPU zu nutzen, als wenn eine weniger leistungsfähige GPU womöglich mehr Leistung verbrennt, um die Effekte aufwändig (und vielleicht schlechter) zu generieren?
    Oder wird anhand der Grafikaufrufe (OpenGL?) dann entschieden, welche GPU angesprochen wird?
    Und schreibt jede GPU dann in vom Compositor vorgegebenen Speicherbereich?
    Oder wird die NVIDIA nur für z.B. Spiele im Vollbildmodus verwendet, während für alles andere auch locker die Intel GPU ausreicht?

  5. Last not least:
    Wenn KWin einerseits sowohl Wayland als auch X11, andererseits auch die Zuordnung der GPUs abhandelt, müsste dann nicht auch der SDDM irgendwie vernünftig dargestellt werden, egal auf welcher GPU?

Ich weiß, eine Menge Fragen, auf die ich die Antworten im Netz leider noch nicht gefunden hab’. :frowning:

Wenn ich mir anschaue, wo die Ausgabe beim Hochfahren des Systems hängen bleibt (bzw. was die letzte Ausgabe ist), gehe ich dann falsch in der Annahme, dass es (zumindest auch) ein Problem mit plymouth gibt?

so you have the wrong drivers installed…
remove these:
sudo mhwd -r pci video-modesetting
sudo mhwd -r pci video-vesa
this leftover config:
sudo rm /etc/X11/mhwd.d/vesa.conf

reboot

1 Like

Thanks for that, so I did:

[>>] sudo mhwd -r pci video-modesetting
[sudo] Passwort: 
> Removing video-modesetting...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-modesetting/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
> Successfully removed video-modesetting

[>>] sudo mhwd -r pci video-vesa
> Removing video-vesa...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-vesa/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Abhängigkeiten werden geprüft …

Pakete (1) xf86-video-vesa-2.6.0-2

Gesamtgröße der entfernten Pakete:  0,03 MiB

:: Möchten Sie diese Pakete entfernen? [J/n] 
:: Paketänderungen werden verarbeitet …
xf86-video-vesa wird entfernt …
:: Post-transaction-Hooks werden gestartet …
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...
'/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it...
> Successfully removed video-vesa

[>>] sudo rm /etc/X11/mhwd.d/vesa.conf 
rm: das Entfernen von '/etc/X11/mhwd.d/vesa.conf' ist nicht möglich: Datei oder Verzeichnis nicht gefunden

[>>] cd /etc/X11/mhwd.d

[>>] ls -la
insgesamt 0
drwxr-xr-x 1 root root  0 17. Nov 22:31 .
drwxr-xr-x 1 root root 44 30. Jun 16:43 ..

It looks like everything worked so far, except the manual deletion of the vesa.inf file that wasn’t present anymore.

After rebooting, the Login Screen was there as formerly known. :partying_face:
So thanks a lot for your advice + effort!

I would like to try to follow and understand your instructions.
I would like to leave the thread open long enough to be able to ask further questions, if there may be some and if that is OK for you; then I would set it to “solved” with your answer as the solution.

the vesa was deleted when you uninstalled the video-vesa drivers…
you can leave the thread open/ or ask questions, i dont mind…

1 Like

Sorry for the huge delay wich was caused by some still persistant illness.

OK, read about Manjaro Hardware Detection (mhwd), what a great tool - thanks for showing and pushing me into that direction, I wasn’t aware of that.

I think most of your support is now clear to me, although some new questions arised :wink: - but I think I’m going to search the web for these and open a new thread if some unclarities and unanswered question still exist after that (to not mess up this thread and separate different topics clearly, even if they might be linked to each other in terms of their content).

Only these small questions referring to this thread:

  1. The option mhwd -l is described as “available configs for devices”. What does “available configs” mean in that context?
    Are these all drivers present in the Kernel that ‘fit’ for the respective hardware (i.e. the graphic card in this case)?
  2. When displaying the output for option of installed drivers (mhwd -li), what is the warning: No installed USB configs! about?
  3. After removal of the wrong drivers as instructed by you, the only installed video driver now is video-linux (see below).
    Does this mean that now both graphic cards are covered by the same driver, and also that this driver also manages the hybrid graphic card configuration, i.e. deciding which graphic card will handle which apps graphical output?
  4. Is there a way to display the capabilities of that driver (i.e. of video-linux)?
  5. Is the video-linux driver capable of supporting the NVIDIA’s 3D / rendering / graphic acceleration capabilities?
  6. I guess the displayed Ethernet driver network-r8168 means that mhwd’s description isn’t fully up-to-date?
    (Since in the [Manjaro Hardware Detection Overview](Manjaro Hardware Detection Overview - Manjaro, the following information can be found: “Note: The mhwd command is still under development, and at present is only able to install drivers for graphics cards connected internally via pci.”)

Here’s the current output for mhwd as referred in question/topic #3 above:

mhwd -l
> 0000:01:00.0 (0300:1002:6840) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:07:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2023.09.12                true            PCI


> 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI
mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2024.05.06                true            PCI
         network-r8168            2023.09.12                true            PCI

If some question may be too complex to be answered as part of this thread, please let me know and I’m going to open a separate thread out of it.

Thanks for any clarification in advance!

mhwd -l
lists all available drivers for your hardware…


mhwd doesnt support drivers for usb hardware, thats how i understand it…


No, your cards are not covered with the same driver, the intel one is covered by i915, the amd one, by amdgpu, or radeon driver, in your case its radeon, looking at the inxi output above… no, by default on hybrid systems like yours, the i915 is the default one, and the radeon one is in some kind of a ‘standby’ mode, thats how it is on intel+nvidia, or amd+nvidia hardware setups… it should be the same on intel+amd setups like you have, but im not 100% sure… for more info on how to use which card and for what, on your kind of setup - intel+amd (open source+open source), you would have to look that up yourself… but if you use your pc for normal use, maybe disabling the amd one could be an option, since there would be no reason for it to be active…


video-linux is not really a driver, its just a name - some kind of metapackage, that install different things, so for this you just have to ask here in the forum, and some of the devs will maybe respond, and clarify that for you…


no, since its open source and it covers open source drivers for intel, amd, and nvidia (the nouvea driver), and the open source driver is not capable of that…
if you would have nvidia hardware, the mhwd would detect it and provide the apropriate nvidia drivers for you…


you have installed the r8168 ethernet driver, probably because you have older hardware, otherwise the driver is provided by the kernel, and its a newer one with the designation r8169… this topic regarding this driver, was covered here on the forum, so look it up, cause i dont remember exactly…

1 Like

@brahma , first of all thanks for all your support.
For diving deeper into most of the topics, I will search the web and maybe open new tasks in the Manjaro forum, since most of them seem to be more complex.

Some small remarks to your answers:

That’s what I also got from the Manjaro Hardware Detection Overview.
I just don’t know where they are available from - are these all ‘suitable’ drivers provided by the kernel?

I’m not sure about that, since e.g. in the mhwd commands’ option listing there are clearly mentioned --pci and --usb, i.e. USB is supported (or at least should be supported :wink: ).

No, unfortunately that’s a sub-optimal solution for me, since I guess there are some ‘not unusual’ (not to say more common) apps that benefit from graphics support from a ‘more powerful’ graphics card (whether 2D or 3D), even if you are not a gamer - namely, for example, FreeCAD or KiCAD (the latter also with Wings 3D for 3D visualization of a PCBA). I will likely use at least these two programs from time to time.

I think I’m going to check this, whereas the whole ATI Radeon / NVIDIA / hybrid graphic cards topic seems to be very complex, so it’s a little bit out of topic here, I guess.

You’re right, this indeed is an older hardware. :wink:
I think I’m going to search the forum for this.

Now I’m going to mark the thread as solved. :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.