Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Out of luck with Nvidia proprietary driver and latest Fedora:

    RuntimeError: OpenGL is missing the required ARB_copy_image extension
ARB_copy_image is OpenGL 4.3 extension. Is it supported by NVIDA driver at Linux? Or it's hardware problem? (I have GF106M [GeForce GTX 460M] (rev a1) installed ).


No idea, sorry, I have not used nvidia in many years. I cant tell you that it works with the radeon and intel open source GPU drivers.


Seems pretty silly to need openGL 4+ to run a terminal lol.


ARB_copy_image is supported on Fermi when using Mesa [0].

[0] https://mesamatrix.net/


Have you tried the nVidia OpenGL 2016 driver?

https://developer.nvidia.com/opengl-driver

As far as I can tell, the GTX 460 supports up to OpenGL 4.4.


Pretty sure your driver supports that (glxinfo |grep ARB_copy_image). Maybe you don't have GLEW >= 2.0?


With GLEW 2.0.0:

   ValueError: GLSL 35633 compilation failed: 
   0(29) : error C1020: invalid operands to "/"
   0(29) : error C1020: invalid operands to "/"
   0(29) : error C1020: invalid operands to "/"
   0(33) : error C1020: invalid operands to "+"
   0(34) : error C1020: invalid operands to "+"



It works, now.

Wow. It looks good. It fast. Very neat. Mouse works properly.

The only problems so far:

* ctrl-arrow and ctrl-shift-arrow combinations are not working in bash and mc;

* ctrl-ins/shift-ins, middleclick/shift-middleclick for copy/paste not working too (but ctrl-shift-c/ctrl-shift-v works).


Please report bugs your find on github, or I will lose track of them. There is no ctrl-ins, shift-ins, if you want those shortcuts you can add them in the config. What does ctrl-arrow do in bash? IIRC you have to map it to something it does not do anything by default. For kitty the codes to map are ^[OC and ^[OD


Ctrl-arrow jumps over words, like Alt-f/w.

Ctrl-pgup/pgdown jumps to top/bottom of the current screen in mcedit without moving it.

Shift-arrow selects text as cursor moves, ctrl-shift-arrow jumps over word and selects it in mceditor in mc.

Shift-del (cut), ctrl-ins (copy), and shift-ins (paste) are parts of IBM CUA guidelines since 1988. Only shift-ins is necessary to implement, because mouse selection is automatic (no need for ctrl-ins) and shift-del (cut) has no sense. Unlike ctrl-shift-v, shift-ins is pasting mouse (selection) buffer. I.e. I can select a text with mouse in Firefox and then immediately insert it with shift-ins (or middle mouse button or shift-middle if mouse is overriden by an application) in terminal.

Middle mouse button pastes mouse buffer. Shift-mouse click works when terminal program overrides mouse behavior. mc and mcedit are examples.

All these combinations are working properly in gnome-terminal and mate-terminal. Some of them are working in rxvt too.

Ctrl-arrow and ctrl-shift-arrow are huge performance boosts.


Yes, you are right. Thank you.

    > glxinfo |grep ARB_copy_image
      GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, 
      GL_ARB_conservative_depth, GL_ARB_copy_buffer, GL_ARB_copy_image, 

    > rpm -qa | grep -i glew
    libGLEW-1.13.0-2.fc24.x86_64
    glew-devel-1.13.0-2.fc24.x86_64


glew-2.0.0 is in Fedora Rawhide. Oded, thank you!


The GTX 460 came out six years ago. It goes up to OpenGL 4.1.

Sorry, pal.

http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-460...

Edit: I was wrong! My bad.


> The GTX 460 came out six years ago.

In your opinion, what's a reasonable timeline for hardware incompatibility with a terminal emulator? (That's an odd sentence to need to type...)


I think the real question is what benefits do OpenGL give to the terminal emulator that other solutions doesn't. And do they even need to target the latest versions? Maybe using OpenGL actually gives a huge advantage, but the bits that do work just as fine against an older version?


My notebook (Medion Erazer) was produced 3 or 4 years ago. Currently it has i7 CPU, 20GB of DDR3, but it's not capable to handle basic TERMINAL EMULATOR. It's time to upgrade.

I suspect a covert agreement between hardware vendors and vendors of terminal emulators.


This isn't your fault, but nVidia often doesn't update their product pages for older products even if they release new drivers that support newer versions of OpenGL on older products. The GTX 460 supports up to OpenGL 4.4 according to wikipedia, and I've found driver release notes that officially mention OpenGL 4.3 for the GTX 460.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: