WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Install OpenGL driver on CLE266  (Read 2765 times)

Offline Meta-chan

  • Newbie
  • *
  • Posts: 3
Install OpenGL driver on CLE266
« on: July 23, 2020, 06:02:58 AM »
Hello. I have been trying one day to make OpenGL work on my PC (I know it is very old). Hardware: CLE266 chipset with VT8623 intergarted graphics, VIA C3 processor (Samuel 2, with 3DNow!, without SSE). (https://www.viatech.com/en/silicon/legacy/chipsets/cle266/). Manuals said it has DirectX 7.0 and OpenGL support (but not specify which one).

What I need is any OpenGL context with possibility to compile shaders (OpenGL > 3.0, not sure about ES).

What I tried:
1) Written my app with EGL (newer verison fails with Illegal instruction, older - with "no protocol specified"), Freeglut ("GLX extension not supported on display ":0.0"") and SDL2 (Illegal instruction).
2) Launched apps with sudo
3) Builded my own SDL2, because thay said they have builtin KMS drivers. Result: KSM drivers not included.
4) Installed xf86-video-openchrome - no effect
5) Found VIA drivers (Debian, Suse, Ubuntu and others), tried to insmod - invalid module format.
6) Tried to compile from here (http://xorg.freedesktop.org/archive/individual/driver/xf86-video-openchrome-0.6.0.tar.bz2) - package "dri" required by "xorg-server" not found

Please help. I will provide all configuration files/outputs needed. Thanks.
« Last Edit: July 23, 2020, 06:04:45 AM by Meta-chan »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Install OpenGL driver on CLE266
« Reply #1 on: July 23, 2020, 06:17:29 AM »
The minimum cpu for Xorg-7.7-3d (and thus libEGL, libGL) is pentium-m, you would have to go back to mesa-10.x/core-6.x to get away from this limitation.

What does this show:
Code: [Select]
$ cat /proc/cpuinfo | grep 'model name'
The xf86-video-openchrome extension should work for your hardware - you will be able to see if it is being used from /var/log/Xorg-0.log.
« Last Edit: July 23, 2020, 06:20:15 AM by Juanito »

Offline Meta-chan

  • Newbie
  • *
  • Posts: 3
Re: Install OpenGL driver on CLE266
« Reply #2 on: July 23, 2020, 08:58:22 AM »
What does this show:
Code: [Select]
$ cat /proc/cpuinfo | grep 'model name'
VIA Samuel 2
After you answered I tried to replace Xorg-7.7-3d with the version from 6.x, which resulted in BSOD (surely I don't it right)
Oh, and there is no /var/log/Xorg.log
« Last Edit: July 23, 2020, 09:00:18 AM by Meta-chan »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Install OpenGL driver on CLE266
« Reply #3 on: July 23, 2020, 09:36:38 AM »
If you want to use Xorg-7.7-3d from Core-6.x then you need to install Core-6.x.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Install OpenGL driver on CLE266
« Reply #4 on: July 23, 2020, 12:54:02 PM »
Your GPU supports OpenGL 1.3, which is from ~2000 like DirectX 7. It doesn't support any kind of shaders at all.
The only barriers that can stop you are the ones you create yourself.

Offline Meta-chan

  • Newbie
  • *
  • Posts: 3
Re: Install OpenGL driver on CLE266
« Reply #5 on: July 23, 2020, 01:26:19 PM »
Your GPU supports OpenGL 1.3
Oh, only 1.3... Well, now I can sleep soundly. Thank you.