CentOS 7 Nvidia OpenGL Breaks VNCserver

Home » CentOS » CentOS 7 Nvidia OpenGL Breaks VNCserver
CentOS 4 Comments

Bare metal CentOS 6.5, VNCserver running, client able to connect with perfect resolution. Nvidia GT240, driver 331.49.

Upgrade to CentOS 7 with nouveau basic driver, all still works fine. Resolution poor on wire connected monitor, but perfect on VNC client session (1920×1080).

Upgrade Nvidia driver via elrepo. 340.58; removed nouveau via ‘Software’
manager. Excellent wired monitor resolution.

But >> Client VNC connect receives the dreaded ‘oh no, something has …..’

Backed out Nvidia 340.58, back to nouveau, client VNC works again. Also tried 304 driver (only other one in elrepo for el7) – same problem.

Research seems to indicate that openGL does not play well with VNC. I
cannot see any solutions posted as yet.

So, what are my options?

Maybe change out the video card for AMD? I cannot know if the Catalyst driver will work, but there is a much more active and extensive open driver community, which could work better than nouveau?

And I noted the Linus ‘salute’ to Nvidia……. Good timing.

Stan

4 thoughts on - CentOS 7 Nvidia OpenGL Breaks VNCserver

  • If it’s of any help to you I have just restored the last 331.xx series driver (331.89) to the elrepo repository. It’s currently syncing and should show up on the mirrors shortly. At least now you should be able to make a like for like driver comparison with your el6 install.

    http://elrepo.org/linux/elrepo/el7/x86_64/RPMS/

    kmod-nvidia-331.89-1.el7.elrepo.x86_64.rpm nvidia-x11-drv-32bit-331.89-1.el7.elrepo.x86_64.rpm nvidia-x11-drv-331.89-1.el7.elrepo.x86_64.rpm

  • Are you maybe trying to run Gnome3 through VNC by any chance? Because Gnome3 requires 3D acceleration, and I’m not sure that nvidia driver would simulate 3D stuff in software (nouveau should fall back to mesa in case hardware acceleration fails — typical of a VNC session).

    So my suggestion is to try KDE or XFCE or LXDE or Mate or… any other DE which doesn’t require 3D features to work. Such DE should work through VNC using nvidia driver no problem — the only exception is Gnome3.

    You don’t want to guess which driver you need. Use the nvidia-detect utility from elrepo, it will tell you which driver to install.

    My choice would be to try a less demanding DE first.

    Catalyst driver has always been a pure gamble for me (i.e. worked 50%
    of time, supported 50% of video cards, and could be installed on 50%
    distributions… or so…). The open-source radeon driver is much better supported.

    That said, the radeon community is not any more active or more extensive than the nouveau community. It’s just that AMD has released the specs for their cards, so they have a much easier job of maintaining the radeon driver than the nouveau community (which basically needs to RE
    everything from scratch).

    HTH, :-)
    Marko

  • />/ perfect resolution. Nvidia GT240, driver 331.49.
    />/
    />/ Upgrade to CentOS 7 with nouveau basic driver, all still works fine.
    />/ Resolution poor on wire connected monitor, but perfect on VNC client
    />/ session (1920×1080).
    />/
    />/ Upgrade Nvidia driver via elrepo. 340.58; removed nouveau via ‘Software’
    />/ manager. Excellent wired monitor resolution.
    />/
    />/ But >> Client VNC connect receives the dreaded ‘oh no, something has …..’
    />/
    />/ Backed out Nvidia 340.58, back to nouveau, client VNC works again. Also
    />/ tried 304 driver (only other one in elrepo for el7) – same problem.
    />/
    /
    If it’s of any help to you I have just restored the last 331.xx series driver (331.89) to the elrepo repository. It’s currently syncing and should show up on the mirrors shortly. At least now you should be able to make a like for like driver comparison with your el6 install.

    http://elrepo.org/linux/elrepo/el7/x86_64/RPMS/

    kmod-nvidia-331.89-1.el7.elrepo.x86_64.rpm nvidia-x11-drv-32bit-331.89-1.el7.elrepo.x86_64.rpm nvidia-x11-drv-331.89-1.el7.elrepo.x86_64.rpm

    />/ cannot see any solutions posted as yet.
    />/
    />/ So, what are my options?
    />/
    />/ Maybe change out the video card for AMD? I cannot know if the Catalyst
    />/ driver will work, but there is a much more active and extensive open
    />/ driver community, which could work better than nouveau?
    />/
    />/ And I noted the Linus ‘salute’ to Nvidia……. Good timing.
    />/
    />/
    />/ Stan
    />/ /

  • />/ perfect resolution. Nvidia GT240, driver 331.49.
    />/
    />/ Upgrade to CentOS 7 with nouveau basic driver, all still works fine.
    />/ Resolution poor on wire connected monitor, but perfect on VNC client
    />/ session (1920×1080).
    />/
    />/ Upgrade Nvidia driver via elrepo. 340.58; removed nouveau via
    />/ ‘Software’ manager. Excellent wired monitor resolution.
    />/
    />/ But >> Client VNC connect receives the dreaded ‘oh no, something
    />/ has …..’
    /
    Are you maybe trying to run Gnome3 through VNC by any chance? Because Gnome3 requires 3D acceleration, and I’m not sure that nvidia driver would simulate 3D stuff in software (nouveau should fall back to mesa in case hardware acceleration fails — typical of a VNC session).

    So my suggestion is to try KDE or XFCE or LXDE or Mate or… any other DE which doesn’t require 3D features to work. Such DE should work through VNC using nvidia driver no problem — the only exception is Gnome3.

    />/ Also tried 304 driver (only other one in elrepo for el7) – same
    />/ problem.
    /
    You don’t want to guess which driver you need. Use the nvidia-detect utility from elrepo, it will tell you which driver to install.

    />/ cannot see any solutions posted as yet.
    />/
    />/ So, what are my options?
    /
    My choice would be to try a less demanding DE first.

    />/ Catalyst driver will work, but there is a much more active and
    />/ extensive open driver community, which could work better than nouveau?
    /
    Catalyst driver has always been a pure gamble for me (i.e. worked 50%
    of time, supported 50% of video cards, and could be installed on 50%
    distributions… or so…). The open-source radeon driver is much better supported.

    That said, the radeon community is not any more active or more extensive than the nouveau community. It’s just that AMD has released the specs for their cards, so they have a much easier job of maintaining the radeon driver than the nouveau community (which basically needs to RE
    everything from scratch).

    HTH, :-)
    Marko