ubuntu 21.04 desktop does not provide nvidia drivers for Sony VPCCW1S1E/W

I have just installed Ubuntu 21.04 on my Sony VPCCW1S1E/W notebook. It has a Nvidia GT 230M video card, as the output of lshw shows:

   *-display
        description: VGA compatible controller
        product: GT216M [GeForce GT 230M]
        vendor: NVIDIA Corporation
        physical id: 0
        bus info: pci@0000:01:00.0
        version: a2
        width: 64 bits
        clock: 33MHz
        capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
        configuration: driver=nouveau latency=0
        resources: irq:32 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:d000(size=128) memory:c0000-dffff

However, when I try to install Nvidia drivers, nothing happens. That is, if I try from Additional Drivers section inside Software and Updates, I get "No additional drivers available" message. Moreover, the command

ubuntu-drivers devices

has no output. So, aren't drivers for my video card anymore provided in Ubuntu repositories?


Solution 1:

Really you can get Nvidia 230M working on Ubuntu 21.04 by installing Nvidia 340 driver from special nvidia-legacy PPA. Open terminal and type:

sudo add-apt-repository ppa:kelebek333/nvidia-legacy
sudo apt-get update
sudo apt-get install nvidia-340

then reboot.