WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] What the 'graphics-KERNEL' extension does? MC12-x86  (Read 329 times)

Offline Santos

  • Full Member
  • ***
  • Posts: 119
[Solved] What the 'graphics-KERNEL' extension does? MC12-x86
« on: February 28, 2025, 10:40:01 PM »
Hi

I got a computer with 256MB of RAM, trying to optimize all I can. The BIOS is broken and the laptop behaves rather strangely when all RAM is filled up.

I was testing video playback, before I was thinking about the 'graphics-KERNEL' and the fact it could provide some "accelerated graphics" to the laptop by making use of the dedicated graphics. So before I always loaded up the extension right after the firmware; let's say: firmware-radeon.tcz.

So my thinking was to load first the firmware, to later load the graphics-KERNEL extension to guarantee maximum performance. But I found out that by just loading Xvesa and mplayer I could easily play 720p videos without stutter.

sudo mplayer -vo xvidix

sudo  is required because some 'sticky-bit' thing that doesn't let mplayer access the accelerated graphics part of the hardware. I remember reading this in a blog, plust it really works. Not using sudo makes video playback much worse.

The laptop I'm working on is very buggy, If the graphics-KERNEL extension is loaded it will always corrupt the LVDS graphics when an external monitor is attached but this will not happen when only Xvesa is loaded.

Every time I load graphics-KERNEL, it makes the framebuffer tty to properly recognize the screen resolution and adjust the tty to the correct LVDS size, instead of the default 800x600.

What exactly is the graphics-KERNEL extension?
Do I really need it for peak performance for video or any graphics related tasks?
What am I missing from not loading the extension when using Xvesa? (I don't load it because having loaded the graphics-KERNEL extension and Xvesa corrupts the framebuffer and I can't use the TTYs)
« Last Edit: March 07, 2025, 09:19:36 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11929
Re: What the 'graphics-KERNEL' extension does? MC12-x86
« Reply #1 on: February 28, 2025, 10:53:51 PM »
Hi Santos
To the best of my knowledge, graphics-KERNEL is for Xorg.
Xvesa definitely does not use it.
I see no reason for you to load it with your setup.

Offline Santos

  • Full Member
  • ***
  • Posts: 119
Re: What the 'graphics-KERNEL' extension does? MC12-x86
« Reply #2 on: March 06, 2025, 01:28:33 AM »
Thank you.

Besides, does it mean that loading graphics-KERNEL and Xorg will improve graphic performance (video playback)?

I'm asking for the other laptops that are more powerful than this one.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15012
Re: What the 'graphics-KERNEL' extension does? MC12-x86
« Reply #3 on: March 06, 2025, 03:04:33 AM »
As long as you have compatible hardware, loading the graphics-KERNEL and Xorg-7.7-3d extensions will allow graphics hardware acceleration taking some of the load off your cpu for graphics intensive applications.

Note that you should exit to the console prompt before loading graphics-KERNEL.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 317
Re: What the 'graphics-KERNEL' extension does? MC12-x86
« Reply #4 on: March 06, 2025, 06:25:08 PM »
Also, for video playback specifically, the best reduction in CPU usage might require loading additional drivers for decoding video on the GPU. For Intel graphics video decoding via VAAPI, I needed to install intel-vaapi-driver.tcz and xf86-video-intel.tcz. My GPU was slower than my CPU at decoding video though.

Offline Santos

  • Full Member
  • ***
  • Posts: 119
Re: What the 'graphics-KERNEL' extension does? MC12-x86
« Reply #5 on: March 07, 2025, 01:29:55 AM »
For more capable hardware I tend to load:

firmware-HARDWARE
graphics-KERNEL
xf86-video-VENDOR

In that order and before most extensions, likely I load before that any wifi or locale extension related. After the essentials are loaded I continue with everything else: Xorg, jwm, screen, rxvt, alsa...

Post can be marked as solved, thank you all!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11929
Re: [Solved] What the 'graphics-KERNEL' extension does? MC12-x86
« Reply #6 on: March 07, 2025, 09:20:58 AM »
Hi Santos
... Post can be marked as solved ...
Done. :)