LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2022, 08:06 PM   #1
skiwarz1
LQ Newbie
 
Registered: Dec 2021
Posts: 8

Rep: Reputation: Disabled
Radeon HD 4650 (AGP) Xorg failure


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?
 
Old 03-26-2022, 03:34 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,860
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
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.
Code:
# inxi -GSI
System:
  Host: big31 Kernel: 5.16.8-1-default arch: x86_64 bits: 64 Desktop: KDE
    v: 3.5.10 Distro: openSUSE Tumbleweed 20220213
Graphics:
  Device-1: AMD RV620 PRO [Radeon HD 3470] driver: radeon v: kernel
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: radeon resolution: 1: 2560x1440~60Hz
    2: 1680x1050~60Hz
  OpenGL: renderer: AMD RV620 (DRM 2.50.0 / 5.16.8-1-default LLVM 13.0.1)
    v: 3.3 Mesa 21.3.6
Info:
  Processes: 154 Uptime: 0h 8m Memory: 3.82 GiB used: 544.1 MiB (13.9%)
  Shell: Bash inxi: 3.3.14
/usr/lib/dri/r600_dri.so from the backtrace comes from Mesa, so I'd probably focus on it if the display driver switch doesn't help.
 
2 members found this post helpful.
Old 03-26-2022, 04:24 PM   #3
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,871

Rep: Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531
Quote:
Originally Posted by skiwarz1 View Post
32-bit Athlon XP 3200+ cpu.
"illegal instruction"
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.
 
Old 03-26-2022, 04:55 PM   #4
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,555

Rep: Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418
Quote:
Originally Posted by skiwarz1 View Post
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.
 
1 members found this post helpful.
Old 03-26-2022, 05:01 PM   #5
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,555

Rep: Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418Reputation: 3418
Quote:
Originally Posted by Petri Kaukasoina View Post
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.

https://www.cpu-world.com/CPUs/K7/AM...3200DKV4E.html

Last edited by LuckyCyborg; 03-26-2022 at 05:09 PM.
 
Old 03-26-2022, 05:44 PM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,860
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
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
 
Old 03-26-2022, 08:06 PM   #7
skiwarz1
LQ Newbie
 
Registered: Dec 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
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.

Thanks for the advice, everyone.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Squeeze Radeon 4650 AGP startup problem Mr Marmmalade Debian 7 12-05-2010 10:07 AM
[SOLVED] ATI Radeon HD 4650 AGP - binary driver crashes, oss driver provides no acceleration Electrode Linux - Hardware 12 08-18-2010 07:46 PM
Linux driver for Radeon HD 4650 AGP 1Gb vfilipch Linux - Newbie 4 09-03-2009 11:50 AM
ATI Radeon 7000 AGP 64 MB - Xorg 7.4 won't load with 'radeon' driver highowl Linux - Hardware 2 02-23-2009 09:31 AM
I have an onboard AGP, but want to use my nVidia card in my AGP slot. xorg.conf help LordRaven Slackware 16 09-17-2004 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration