View previous topic :: View next topic |
Author |
Message |
paulj Guru


Joined: 30 Sep 2004 Posts: 531 Location: Wales, UK
|
Posted: Thu Jul 03, 2025 5:47 am Post subject: Intel UHD 620 Graphics and Ghostty |
|
|
I have a Lenovo X390 with Gen 8 intel graphics. I decided to try out ghostty, but get this error:
Code: | error(gtk_surface): surface failed to realize: error.SystemOutdated |
which I understand indicates that the graphics hardware is not available for ghostty to use. I have been through the wiki instructions for intel graphics, and have tweaked everything as I understand I should, but have still not achieved a successful result.
Since this process takes quite a lot of time per iteration (tweaking graphics settings normally means qtwebengine recompiles!), I though I would just ask: am I trying to do something which isn't possible? Are any of you successfully using ghostty with Intel UHD 620 graphics? If so, are there any tips I need to be aware of?
Thanks in advance! |
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4833 Location: Germany
|
|
Back to top |
|
 |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 4096
|
Posted: Thu Jul 03, 2025 7:53 pm Post subject: |
|
|
Inserting Code: | diff ghostty-1.1.3.ebuild ghostty-1.1.3-r1.ebuild
97a98,102
>
> shopt -s globstar
> sed -i 's/^const xev = @import("xev");$/const xev = @import("xev").Epoll;/' **/*.zig
> shopt -u globstar
>
| at the start of ebuild section named;did fix here.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
 |
paulj Guru


Joined: 30 Sep 2004 Posts: 531 Location: Wales, UK
|
Posted: Fri Jul 04, 2025 2:09 am Post subject: |
|
|
Thank you @CaptainBlood - that did indeed solve the problem.
Is that a bug which needs correcting in the repository? If so, I will look to make a patch and upload it. It's interesting that I had no issues on my two other machines, both with AMD graphics. |
|
Back to top |
|
 |
CaptainBlood Advocate


Joined: 24 Jan 2010 Posts: 4096
|
Posted: Sat Jul 05, 2025 2:13 am Post subject: |
|
|
Here is Code: | 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) |
GPU discrimination doesn't seem 2 belong to upstream package configuration.
Also seems like ebuild USE policy is mostly to only implement upstream package configuration settings. (my 2cents).
As a result, I'd rather turn 2 package upstream to better decide how it should be handle. (my 2cents).
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
 |
paulj Guru


Joined: 30 Sep 2004 Posts: 531 Location: Wales, UK
|
Posted: Sat Jul 05, 2025 5:28 am Post subject: |
|
|
CaptainBlood wrote: | GPU discrimination doesn't seem 2 belong to upstream package configuration.
As a result, I'd rather turn 2 package upstream to better decide how it should be handle. (my 2cents).
|
I have reopened my discussion on the upstream github repository - let's see what they say about fixing the code there! I don't know zig, so I don't know if the change you made will impact systems with other graphics cards, and since I am travelling at the moment, I can't test it on my own AMD based systems.
I think I need to learn some zig...  |
|
Back to top |
|
 |
mark4 Tux's lil' helper

Joined: 26 Feb 2011 Posts: 130
|
Posted: Sat Jul 05, 2025 5:44 pm Post subject: |
|
|
Just as a test I installed this on my Raptor Lake i9 and it just did not work right. Anything I typed would be echoed to the console in spurts or just stop echoing half way there until I hit enter and when I ran my uCurses (my own curses library) demo code (like my utf8 ray cast thingie) it stopped responding to all key presses outright.
Still a long way to go before that terminal is actually usable. |
|
Back to top |
|
 |
paulj Guru


Joined: 30 Sep 2004 Posts: 531 Location: Wales, UK
|
Posted: Sun Jul 06, 2025 6:40 am Post subject: |
|
|
mark4 wrote: | Just as a test I installed this on my Raptor Lake i9 and it just did not work right. Anything I typed would be echoed to the console in spurts or just stop echoing half way there until I hit enter and when I ran my uCurses (my own curses library) demo code (like my utf8 ray cast thingie) it stopped responding to all key presses outright.
Still a long way to go before that terminal is actually usable. |
Apparently there are issues with the kernel version 6.15.4 which are being worked on - the changes shown above get round it on this laptop. I have tried ghostty on this system (which is the one I struggled to get it working on), on an AMD based laptop and on an AMD based desktop - it works properly on all of them, without issues. Not sure why you are getting issues, but if you want to follow up the developers on the ghostty GitHub are helpful - they may have users with an installation similar to yours and can offer some advice. |
|
Back to top |
|
 |
mark4 Tux's lil' helper

Joined: 26 Feb 2011 Posts: 130
|
Posted: Sun Jul 06, 2025 1:01 pm Post subject: |
|
|
paulj wrote: | mark4 wrote: | Just as a test I installed this on my Raptor Lake i9 and it just did not work right. Anything I typed would be echoed to the console in spurts or just stop echoing half way there until I hit enter and when I ran my uCurses (my own curses library) demo code (like my utf8 ray cast thingie) it stopped responding to all key presses outright.
Still a long way to go before that terminal is actually usable. |
Apparently there are issues with the kernel version 6.15.4 which are being worked on - the changes shown above get round it on this laptop. I have tried ghostty on this system (which is the one I struggled to get it working on), on an AMD based laptop and on an AMD based desktop - it works properly on all of them, without issues. Not sure why you are getting issues, but if you want to follow up the developers on the ghostty GitHub are helpful - they may have users with an installation similar to yours and can offer some advice. |
There ARE also some bugs in my uCurses library where *IT* does not play nice in certain terminals and I have yet to discover why so I cant put ALL the blame on Ghostty :) |
|
Back to top |
|
 |
|