SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I just installed Slackware 15.0 on a piece of older hardware, a Radeon HD 4650 (AGP interface) paired with a 32-bit Athlon XP 3200+ cpu. I'm able to boot into Slackware, however when I run "startx", X fails to start. The screen pauses for a few seconds, then I see "giving up" and "server error". My /var/log/Xorg.0.log is here: https://pastebin.com/raw/NKPTQdyZ
I'm using the radeon graphics driver, and I've tried a few different Xorg.conf configurations (to include none at all), all giving me the same result. That line about "illegal instruction" leads me to believe there's a problem with the graphics driver itself.
I tried a live OpenSUSE disc and was able to get into X (it also used the radeon driver) without issue, so I know the hardware is good.
Any thoughts?
Radeon is the only correct kernel device driver, but there are two options for display driver. Try uninstalling xf86-video-ati. The default modesetting DIX display driver that should automatically be used in its place works well automagically with all my old Radeon cards, including HD3470 and HD5450. e.g.
I may be wrong but I think llvm may insert opcodes that your athlon does not support, and mesa is built with llvm. The mesa package has i586 in its name but it may still contain instructions like CMOV.
Hello,
I just installed Slackware 15.0 on a piece of older hardware, a Radeon HD 4650 (AGP interface) paired with a 32-bit Athlon XP 3200+ cpu. I'm able to boot into Slackware, however when I run "startx", X fails to start. The screen pauses for a few seconds, then I see "giving up" and "server error". My /var/log/Xorg.0.log is here: https://pastebin.com/raw/NKPTQdyZ
I'm using the radeon graphics driver, and I've tried a few different Xorg.conf configurations (to include none at all), all giving me the same result. That line about "illegal instruction" leads me to believe there's a problem with the graphics driver itself.
I tried a live OpenSUSE disc and was able to get into X (it also used the radeon driver) without issue, so I know the hardware is good.
Any thoughts?
Looking at your /var/log/Xorg.0.log , I think that at least the Mesa package is compiled with an processor instruction set which is not supported by your CPU. This is the meaning of "illegal instruction"
This also means: very bad news.
It's not about the graphics driver, but about that Slackware 15.0 contains an unknown number of packages which cannot be properly used with your particular CPU.
You may try to build Mesa package locally, but honestly I doubt that's the single one which is affected.
Last edited by LuckyCyborg; 03-26-2022 at 05:02 PM.
I may be wrong but I think llvm may insert opcodes that your athlon does not support, and mesa is built with llvm. The mesa package has i586 in its name but it may still contain instructions like CMOV.
The AMD's Barton based CPUs like the OP's one has support for CMOV, it's not that old to be an i586.
My bet is on the lack of support for SSE2 instructions, which are heavy used by the software with graphics or media interests.
Athlon XP didn't register in my brain when I first responded. I took my last Athlon XP out of service in 2020 because I had no interest in trying to work around its lack of SSE2 instructions. There's a current Mageia mailing list thread about possibly redefining its 32-bit support to require SSE2: https://ml.mageia.org/l/arc/dev/2022-03/msg00251.html
So, I went back and installed Slackware 14.2, and X worked fine (albeit a bit laggy).
Since then, I moved back to gentoo, and I started to notice more issues, namely with missing SSE2 support (rust, firefox, librsvg, gtk+, etc. all require it). So I think that's the end of that. If I'm going to have to compile software myself, I'd rather have portage do it for everything, rather than manually compile just a handful of packages. Makes things easier.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.