canonical / nvidia-graphics-drivers

Packaging scripts for nvidia-graphics-drivers in Ubuntu
43 stars 34 forks source link

Move nvidia-drm_gbm.so into the gbm/ library subdirectory #43

Closed vanvugt closed 2 years ago

vanvugt commented 2 years ago

which is where Mesa searches for it. (LP: #1951085)

tseliot commented 2 years ago

@vanvugt isn't this something that is (or should be) specified in /usr/share/egl/egl_external_platform.d/15_nvidia_gbm.json ?

vanvugt commented 2 years ago

@vanvugt isn't this something that is (or should be) specified in /usr/share/egl/egl_external_platform.d/15_nvidia_gbm.json ?

I've never heard of that file, but also I don't understand how it would change the actual install location. I have verified the fix here works.

tseliot commented 2 years ago
{
    "file_format_version" : "1.0.0",
    "ICD" : {
        "library_path" : "libnvidia-egl-gbm.so.1"
    }
}

I was wondering if simply adding "gbm/" to the library path would do it.

vanvugt commented 2 years ago
{
    "file_format_version" : "1.0.0",
    "ICD" : {
        "library_path" : "libnvidia-egl-gbm.so.1"
    }
}

I was wondering if simply adding "gbm/" to the library path would do it.

I seriously doubt it because the gbm/ subdirectly doesn't exist without this fix.

tseliot commented 2 years ago

Sorry, I completely misread the original commit. I am going to merge this.