[GNOME] Gnome partiellement fontionnel

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
NY152
archer
Messages : 106
Inscription : sam. 28 sept. 2013, 00:35

[GNOME] Gnome partiellement fontionnel

Message par NY152 »

Bonjour,

Je suis sous ArchLinux depuis un moment maintenant mais je l'ai initialement installé avec MATE.

Aujourd'hui, j'aimerai changer l’environnement pour GNOME.

J'ai donc installé les meta-paquets gnome et gnome-extra.

Quand je lance GNOME ou GNOME Classic, j'ai cette erreur :
Image

Seul, GNOME Flashback fonctionne, pour ce que j'ai testé, normalement.

Si quelqu'un peut m'aider à rendre GNOME complètement opérationnel, ça serait sympa.

Par avance, merci
yostral
archer
Messages : 102
Inscription : mar. 05 nov. 2013, 18:51

Re: [GNOME] Gnome partiellement fontionnel

Message par yostral »

J'ai eu ça plusieurs fois, sur différents ordi.

Je me suis loggué en tty2 et ai regardé les log, journactl, /var/log,...

N'aurais-tu pas une carte nvidia par hasard ? Si oui, c'est bien indiqué qu'à partir du noyau 5.11, il faut spécifier le chargement des modules. Donc il faut copier le fichier /usr/share/nvidia-340xx/20-nvidia.conf dans /etc/X11/xorg.conf.d/ .

Si ce n'est pas ça, alors regarde tes logs :) .
NY152
archer
Messages : 106
Inscription : sam. 28 sept. 2013, 00:35

Re: [GNOME] Gnome partiellement fontionnel

Message par NY152 »

J'ai un PC portable avec une carte Intel et un module 3D nvidia (non configurable en tant que carte VGA)

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

Il s'utilise avec Optimus
yostral
archer
Messages : 102
Inscription : mar. 05 nov. 2013, 18:51

Re: [GNOME] Gnome partiellement fontionnel

Message par yostral »

Donc tu as les drivers nvidia installés ? Si oui, as-tu essayé ce que j'ai marqué ?
NY152
archer
Messages : 106
Inscription : sam. 28 sept. 2013, 00:35

Re: [GNOME] Gnome partiellement fontionnel

Message par NY152 »

je n'ai pas le fichier nvidia que tu site.

J'ai un fichier /usr.share/nvidia-application-profiles-460.67-key-documentation

Code : Tout sélectionner

# Application profiles for the NVIDIA Linux graphics driver, version 460.67
# Last modified: Thu Mar 11 00:01:21 UTC 2021
# These settings keys were provided by NVIDIA and should not be modified.
{
    "registry_keys": [
        {
            "key": "GLFSAAMode",
            "description": "This setting enables full-scene antialiasing in a process using OpenGL. This expects the same integer value that can be used to configure FSAA through nvidia-settings and the NV-CONTROL X extension. To see available FSAA values, run:\n\n\tnvidia-settings --query=fsaa --verbose",
            "type": "integer"
        },
        {
            "key": "GLLogMaxAniso",
            "description": "This enables anisotropic texture filtering. The possible values are:\n\n\t0\tNo anisotropic filtering\n\t1\t2x anisotropic filtering\n\t2\t4x anisotropic filtering\n\t3\t8x anisotropic filtering\n\t4\t16x anisotropic filtering",
            "type": "integer"
        },
        {
            "key": "GLNoDsoFinalizer",
            "description": "This works around problems with certain multithreaded applications in which one thread exits while others are executing OpenGL code. This may be set to true or false.",
            "type": "boolean"
        },
        {
            "key": "GLSingleThreaded",
            "description": "This works around some legacy dynamic loaders which can cause applications linked against pthreads which dlopen() libGL multiple times to crash. This may be set to true or false. ",
            "type": "boolean"
        },
        {
            "key": "GLSyncDisplayDevice",
            "description": "This allows an application to specify target a display device to sync with if sync to vblank is enabled. This should be set to a string containing a valid display device name (for example, \"CRT-1\").",
            "type": "string"
        },
        {
            "key": "GLSyncToVblank",
            "description": "This enables sync to vblank for an application. This may be set to true or false. ",
            "type": "boolean"
        },
        {
            "key": "GLSortFbconfigs",
            "description": "By default the NVIDIA GLX implementation will sort FBConfigs as described by the specification. This may be set to false to disable this behavior.",
            "type": "boolean"
        },
        {
            "key": "GLAllowUnofficialProtocol",
            "description": "Setting this to true will allow the client-side NVIDIA GLX implementation to send \"incomplete\" GLX protocol.",
            "type": "boolean"
        },
        {
            "key": "GLSELinuxBooleans",
            "description": "This allows the user to override driver detection of specific SELinux policy booleans, which may work around problems when running the driver under SELinux in permissive mode. This should be set to a string value; see __GL_SELINUX_BOOLEANS in the README for a description of legal string formats.",
            "type": "string"
        },
        {
            "key": "GLShaderDiskCache",
            "description": "This enables the shader disk cache for direct rendering. This value may be set to true or false.",
            "type": "boolean"
        },
        {
            "key": "GLShaderDiskCachePath",
            "description": "This setting affects where shader caches are stored on disk for a given application. This value should be set to a string containing a valid pathname.",
            "type": "string"
        },
        {
            "key": "GLYield",
            "description": "This controls how the NVIDIA graphics driver will perform a yield. This may be set to one of the following strings:\n\n\t\"USLEEP\"\tOpenGL will call usleep(0) to yield\n\t\"NOTHING\"\tOpenGL will never yield\n\t<any other value>\tOpenGL will call sched_yield() to yield (default)",
            "type": "string"
        },
        {
            "key": "GLThreadedOptimizations",
            "description": "This setting enables multi-threaded optimizations in the OpenGL driver which may improve application performance. This may be set to true or false.",
            "type": "boolean"
        },
        {
            "key": "GLDoom3",
            "description": "This enables optimal SLI and Multi-GPU settings for games such as Doom 3 and Quake 4. This may be set to true or false.",
            "type": "boolean"
        },
        {
            "key": "GLExtensionStringVersion",
            "description": "This forces the extension string returned by glXQueryExtensionsString() to one that appeared in an earlier version of the NVIDIA graphics driver. This may work around bugs in certain applications which expect an extension string to be smaller than a certain size. This value should be set to a string value or integer containing the desired version number (e.g. \"17700\" to force the extension string in the 177.* driver series).",
            "type": "string"
        },
        {
            "key": "GLAllowFXAAUsage",
            "description": "If FXAA is globally enabled, setting this to false disables FXAA for an individual application. This has no effect if FXAA is globally disabled.",
            "type": "boolean"
        },
        {
            "key": "GLGSYNCAllowed",
            "description": "When set to false, this key prevents G-SYNC from being used. Otherwise, G-SYNC is used whenever it is available.",
            "type": "boolean"
        },
        {
            "key": "GLWriteTextSection",
            "description": "This determines whether the NVIDIA driver will attempt to use optimizations which rely on being able to write to executable memory.  This may be set to true or false",
            "type": "boolean"
        },
        {
            "key": "GLIgnoreGLSLExtReqs",
            "description": "Setting this key to true causes the NVIDIA OpenGL driver to ignore GLSL compilation errors due to referencing globals defined in an extension without a corresponding #extension directive",
            "type": "boolean"
        },
        {
            "key": "GLSharpenEnable",
            "description": "Setting this key to true enables Driver Side Sharpening in NVIDIA driver",
            "type": "boolean"
        },
        {
            "key": "GLSharpenValue",
            "description": "This controls the amount of sharpening to do when Driver Side Sharpening is enabled. The valid range of values is from 0-100, with 0 being no sharpening, and 100 being maximum sharpening.",
            "type": "integer"
        },
        {
            "key": "GLSharpenIgnoreFilmGrain",
            "description": "This controls the amount of denoising to do when Driver Side Sharpening is enabled. The valid range of values is from 0-100, with 0 being no denoising, and 100 being maximum denoising.",
            "type": "integer"
        },
        {
            "key": "GLShowGraphicsOSD",
            "description": "Setting this key to true causes the NVIDIA driver to draw a visual indicator showing various information about the graphics API in use",
            "type": "boolean"
        }
    ]
}
et un fichier /usr/share/nvidia-application-profiles-460.67-rc

Code : Tout sélectionner

# Application profiles for the NVIDIA Linux graphics driver, version 460.67
# Last modified: Thu Mar 11 00:01:21 UTC 2021
# These profiles were provided by NVIDIA and should not be modified.  If you
# wish to change the defaults provided here, you can override them by creating
# custom rules in /etc/nvidia/nvidia-application-profiles-rc (which will apply
# system-wide) or, for a given user, $HOME/.nv/nvidia-application-profiles-rc
# (which will apply to that particular user). See the "APPLICATION PROFILE
# SEARCH PATH" section of the NVIDIA Linux Graphics Driver README for more
# information.
{
    "profiles" : [
        {
          "name" : "NonConformantBlitFramebufferScissor",
          "settings" : [ "GLConformantBlitFramebufferScissor", false ]
        },
        {
          "name" : "CL1C",
          "settings" : [ "0x528ab3", 1 ]
        },
        {
          "name" : "FA0",
          "settings" : [ "10572898", 0 ]
        },
        {
          "name" : "ExactGLESVersion",
          "settings" : [ "ForceRequestedESVersion", 1 ]
        },
        {
          "name" : "IgnoreGLSLExtensionRequirements",
          "settings" : [ "GLIgnoreGLSLExtReqs", true ]
        },
        {
          "name" : "No VRR/OSD",
          "settings" : [
            {
              "key"   : "GLVRRAllowed",
              "value" : false
            },
            {
              "key"   : "VKDirectGSYNCAllowed",
              "value" : false
            },
            {
              "key"   : "VKDirectGSYNCCompatibleAllowed",
              "value" : 0
            },
            {
              "key"   : "GLShowGraphicsOSD",
              "value" : false
            }
          ]
        },
        {
          "name" : "UseThreadedOptimizations",
          "settings" : [ "GLThreadedOptimizations", true ]
        },
        {
          "name" : "NoThreadedOptimizations",
          "settings" : [ "GLThreadedOptimizations", false ]
        },
        {
          "name" : "NoAniso",
          "settings" : [ "GLLogMaxAniso", 0 ]
        },
        {
          "name" : "NamedVertexAttributesApplyDivisor",
          "settings" : [ "GL23cd0e", 1 ]
        },
        {
        "name" : "NonStrictDrawRangeElements",
        "settings" : [ "GLStrictDrawRangeElements", false ]
        },
        {
          "name" : "NoEnforceShaderInputOutputMatching",
          "settings" : [ "GLShaderPortabilityWarnings", false ]
        },
        {
          "name" : "HideVendorID",
          "settings" : [ "OVERRIDE_VENDORID", 4098 ]
        },
        {
          "name" : "DisablePersampleFragcoord",
          "settings" : [ "DisablePersampleFragcoord", true ]
        },
        {
          "name" : "ForceSeparateTrimThread",
          "settings" : [ "__GL_CPMM", 3 ]
        },
        {
            "name" : "IdleQueueOnSwapchainOOD",
            "settings" : [ "IdleQueueOnSwapchainOOD", true ]
        }
    ],
    "rules" : [
        {
          "pattern" : {
             "feature" : "dso",
             "matches" : "libcogl.so"
          },
          "profile" : "NonConformantBlitFramebufferScissor"
        },
        {
          "pattern" : {
            "feature" : "dso",
            "matches" : "libMaya.so"
          },
          "profile" : "CL1C"
        },
        {
          "pattern" : {
            "feature" : "dso",
            "matches" : "libMaya.so"
          },
          "profile" : "NamedVertexAttributesApplyDivisor"
        },
        { "pattern" : "SkullGirls.x86_64-pc-linux-gnu", "profile" : "NoAniso" },
        { "pattern" : "SkullGirls.i686-pc-linux-gnu", "profile" : "NoAniso" },
        { "pattern" : "Indivisible_Linux.i686-pc-linux-gnu", "profile" : "NoAniso" },
        { "pattern" : "xsi", "profile" : "CL1C" },
        { "pattern" : "HoudiniFX", "profile" : "CL1C" },
        { "pattern" : "katana", "profile" : "CL1C" },
        { "pattern" : "Autodesk Mudbox 2014 64-bit", "profile" : "CL1C" },
        { "pattern" : "octane", "profile" : "CL1C" },
        { "pattern" : "Fusion64_6.4", "profile" : "CL1C" },
        { "pattern" : "Nuke7.0", "profile" : "CL1C" },
        { "pattern" : "vray.exe", "profile" : "CL1C" },
        { "pattern" : "vray.bin", "profile" : "CL1C" },
        { "pattern" : "kwin_gles", "profile" : "FA0" },
        { "pattern" : "kwin_gles", "profile" : "ExactGLESVersion" },
        {
           "pattern" : [
            { "feature" : "procname", "matches" : "heaven_x86"},
            { "op" : "not", "sub" : { "feature" : "findfile", "matches" : "browser_x86" } }
           ],
           "profile" : "IgnoreGLSLExtensionRequirements"
        },
        {
           "pattern" : [
            { "feature" : "procname", "matches" : "heaven_x64"},
            { "op" : "not", "sub" : { "feature" : "findfile", "matches" : "browser_x64" } }
           ],
           "profile" : "IgnoreGLSLExtensionRequirements"
        },
        { "pattern" : { "feature" : "procname", "matches" : "cinnamon" },               "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "compiz" },                 "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "compton" },                "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "enlightenment" },          "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "gnome-shell" },            "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "kscreenlocker_greet" },    "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "kwin" },                   "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "kwin_x11" },               "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "picom" },                  "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "plasmashell" },            "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "ksplashqml" },             "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "systemsettings5" },        "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "muffin" },                 "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "dso",      "matches" : "libmutter" },              "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "steam" },                  "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "steamcompmgr" },           "profile" : "No VRR/OSD" },
        { "pattern" : { "feature" : "procname", "matches" : "vrmonitor" },              "profile" : "No VRR/OSD" },
        { "pattern" : "GoatGame", "profile" : "NonStrictDrawRangeElements" },
        { "pattern" : "ShadowOfMordor",  "profile" : "NoEnforceShaderInputOutputMatching" },
        { "pattern" : { "feature" : "commname", "matches" : "NMS.exe"} , "profile" : "HideVendorID" },
        { "pattern" : "shotcut",         "profile" : "NoThreadedOptimizations" },
        { "pattern" : "MetroLL",         "profile" :  "NoThreadedOptimizations" },
        { "pattern" : "Borderlands2",    "profile" : "UseThreadedOptimizations" },
        { "pattern" : "BorderlandsPreSequel", "profile" : "UseThreadedOptimizations" },
        { "pattern": "AlienIsolation",   "profile" : "UseThreadedOptimizations" },
        { "pattern": "Civ6",             "profile" : "UseThreadedOptimizations" },
        { "pattern": "CivBE",            "profile" : "UseThreadedOptimizations" },
        { "pattern": "overlord.i386",    "profile" : "UseThreadedOptimizations" },
        { "pattern": "X-Plane-x86_64",   "profile" : "UseThreadedOptimizations" },
        { "pattern": "RocketLeague",     "profile" : "UseThreadedOptimizations" },
        { "pattern": "DeusExMD",         "profile" : "DisablePersampleFragcoord" },
        { "pattern": "firefox",          "profile" : "ForceSeparateTrimThread" },
        { "pattern": "Dirt4",               "profile" : "IdleQueueOnSwapchainOOD" },
        { "pattern": "RiseOfTheTombRaider", "profile" : "IdleQueueOnSwapchainOOD" }
    ]
}
yostral
archer
Messages : 102
Inscription : mar. 05 nov. 2013, 18:51

Re: [GNOME] Gnome partiellement fontionnel

Message par yostral »

Chez moi c'est /usr/share/nvidia-340xx/20-nvidia.conf, car c'est un vieux driver. Si chez toi c'est plus récent, le répertoire n'est pas 340-xxx mais autre chose.

Sinon, t'es-tu loggué dans un autre tty pour consulter les logs ?
NY152
archer
Messages : 106
Inscription : sam. 28 sept. 2013, 00:35

Re: [GNOME] Gnome partiellement fontionnel

Message par NY152 »

T'as consulté quels logs précisément ?
yostral
archer
Messages : 102
Inscription : mar. 05 nov. 2013, 18:51

Re: [GNOME] Gnome partiellement fontionnel

Message par yostral »

Ça dépend des fois, journalctl, X.org, ... bref, tout ce que je pouvais pour trouver une piste à suivre.
Répondre