Page 1 of 1
[SOLVED] AMD rx 460

Posted:
Jan 19th, '17, 15:29
by Egg
Mageia is my main distro, but I dual-boot with Mint for games. A recently installed RX460 card works well with Mint, but when I boot into Mageia 5 the only resolution available is 800 x 600. I have an old version still installed (Mint 15 with the 3.8 kernel), and even that supports my usual resolution of 1920 x 1080.
I'm not interested in getting graphics acceleration with Mageia 5, so this isn't a question about drivers, but I would like to know why Mageia can't use the higher resolutions, while even old versions of Mint can.
Re: AMD rx 460

Posted:
Jan 19th, '17, 20:57
by doktor5000
Well, what driver do you use in Mint and which driver do you use in Mageia?
Please show the output of
- Code: Select all
grep -i driver /var/log/Xorg.0.log
lspcidrake -v | grep VGA
Re: AMD rx 460

Posted:
Jan 20th, '17, 10:33
by Egg
I don't know what drivers are in use in either distro- I haven't installed any. I thought that (minimal) support was provided by the kernel.
Re: AMD rx 460

Posted:
Jan 20th, '17, 14:29
by Egg
Output from Mint 17.3-
- Code: Select all
[ 20.267] X.Org Video Driver: 15.0
[ 20.267] X.Org XInput driver : 20.0
[ 20.338] (==) Matched intel as autoconfigured driver 0
[ 20.338] (==) Matched intel as autoconfigured driver 1
[ 20.338] (==) Matched modesetting as autoconfigured driver 2
[ 20.338] (==) Matched fbdev as autoconfigured driver 3
[ 20.338] (==) Matched vesa as autoconfigured driver 4
[ 20.338] (==) Assigned the driver to the xf86ConfigLayout
[ 20.339] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 20.349] Module class: X.Org Video Driver
[ 20.349] ABI class: X.Org Video Driver, version 15.0
[ 20.349] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 20.349] Module class: X.Org Video Driver
[ 20.349] ABI class: X.Org Video Driver, version 15.0
[ 20.349] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 20.349] Module class: X.Org Video Driver
[ 20.349] ABI class: X.Org Video Driver, version 15.0
[ 20.350] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 20.350] Module class: X.Org Video Driver
[ 20.350] ABI class: X.Org Video Driver, version 15.0
[ 20.350] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[ 20.350] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[ 20.350] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[ 20.350] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[ 20.350] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 20.350] (II) FBDEV: driver for framebuffer: fbdev
[ 20.350] (II) VESA: driver for VESA chipsets: vesa
[ 20.354] ABI class: X.Org Video Driver, version 15.0
[ 20.356] (II) intel(0): [DRI2] DRI driver: i965
[ 20.356] (II) intel(0): [DRI2] VDPAU driver: i965
[ 20.405] Module class: X.Org XInput Driver
[ 20.405] ABI class: X.Org XInput driver, version 20.0
[ 20.405] (II) Using input driver 'evdev' for 'Power Button'
[ 20.406] (II) Using input driver 'evdev' for 'Video Bus'
[ 20.406] (II) Using input driver 'evdev' for 'Power Button'
[ 20.407] (II) No input driver specified, ignoring this device.
[ 20.407] (II) No input driver specified, ignoring this device.
[ 20.407] (II) No input driver specified, ignoring this device.
[ 20.407] (II) No input driver specified, ignoring this device.
[ 20.407] (II) No input driver specified, ignoring this device.
[ 20.407] (II) No input driver specified, ignoring this device.
[ 20.408] (II) No input driver specified, ignoring this device.
[ 20.408] (II) No input driver specified, ignoring this device.
[ 20.408] (II) No input driver specified, ignoring this device.
[ 20.408] (II) Using input driver 'evdev' for 'Logitech Unifying Device. Wireless PID:401b'
[ 20.409] (II) No input driver specified, ignoring this device.
[ 20.409] (II) Using input driver 'evdev' for 'Logitech Unifying Device. Wireless PID:4016'
Output from Mageia 5-
- Code: Select all
[ 24.143] X.Org Video Driver: 18.0
[ 24.143] X.Org XInput driver : 21.0
[ 24.200] (II) Loading /usr/lib64/xorg/modules/drivers/v4l_drv.so
[ 24.208] ABI class: X.Org Video Driver, version 18.0
[ 24.397] (II) Loading /usr/lib64/xorg/modules/drivers/intel-common/intel_drv.so
[ 24.429] Module class: X.Org Video Driver
[ 24.429] ABI class: X.Org Video Driver, version 18.0
[ 24.429] (II) v4l driver for Video4Linux
[ 24.429] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[ 24.429] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 24.429] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 24.429] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 24.435] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[ 24.442] (II) intel(0): [DRI2] DRI driver: i965
[ 24.442] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 25.273] Module class: X.Org XInput Driver
[ 25.273] ABI class: X.Org XInput driver, version 21.0
[ 25.273] (II) Using input driver 'evdev' for 'Power Button'
[ 25.371] (II) Using input driver 'evdev' for 'Video Bus'
[ 25.371] (II) Using input driver 'evdev' for 'Power Button'
[ 25.372] (II) No input driver specified, ignoring this device.
[ 25.372] (II) No input driver specified, ignoring this device.
[ 25.372] (II) No input driver specified, ignoring this device.
[ 25.372] (II) No input driver specified, ignoring this device.
[ 25.372] (II) No input driver specified, ignoring this device.
[ 25.372] (II) No input driver specified, ignoring this device.
[ 25.373] (II) No input driver specified, ignoring this device.
[ 25.373] (II) No input driver specified, ignoring this device.
[ 25.373] (II) No input driver specified, ignoring this device.
[ 25.373] (II) Using input driver 'evdev' for 'Logitech K330'
[ 25.374] (II) Using input driver 'evdev' for 'Logitech M215 2nd Gen'
[ 25.374] (II) No input driver specified, ignoring this device.
- Code: Select all
lspcidrake -v | grep VGA
Card:Intel 810 and later: Intel Corporation|Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0152 subv:1462 subd:2111) (rev: 09)
Re: AMD rx 460

Posted:
Jan 21st, '17, 10:05
by doktor5000
Nothing about amd graphics, both distros are using an Intel driver for the intel IGP.
Please add the output as regular user of
- Code: Select all
cat /etc/X11/xorg.conf
ls -al /etc/X11/xorg.conf*
xrandr -q
Re: AMD rx 460

Posted:
Jan 21st, '17, 13:32
by Egg
Oops, sorry, I've just realised that the above data was collected with the card removed: I hope I haven't wasted too much time. So here are some data collected with the card installed.
MAGEIA 5 WITH CARD INSTALLED-
- Code: Select all
[alan@localhost ~]$ lspcidrake -v | grep VGA
unknown : Advanced Micro Devices, Inc. [AMD/ATI]|Device 67ef [DISPLAY_VGA] (vendor:1002 device:67ef subv:174b subd:e344) (rev: cf)
- Code: Select all
[alan@localhost ~]$ grep -i driver /var/log/Xorg.0.log
[ 27.562] X.Org Video Driver: 18.0
[ 27.562] X.Org XInput driver : 21.0
[ 27.628] (II) Loading /usr/lib64/xorg/modules/drivers/v4l_drv.so
[ 27.636] ABI class: X.Org Video Driver, version 18.0
[ 27.708] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[ 27.713] Module class: X.Org Video Driver
[ 27.713] ABI class: X.Org Video Driver, version 18.0
[ 27.713] (II) v4l driver for Video4Linux
[ 27.713] (II) FBDEV: driver for framebuffer: fbdev
[ 27.725] ABI class: X.Org Video Driver, version 18.0
[ 27.725] ABI class: X.Org Video Driver, version 18.0
[ 28.893] Module class: X.Org XInput Driver
[ 28.893] ABI class: X.Org XInput driver, version 21.0
[ 28.893] (II) Using input driver 'evdev' for 'Power Button'
[ 28.907] (II) Using input driver 'evdev' for 'Power Button'
[ 28.908] (II) No input driver specified, ignoring this device.
[ 28.908] (II) No input driver specified, ignoring this device.
[ 28.908] (II) No input driver specified, ignoring this device.
[ 28.908] (II) No input driver specified, ignoring this device.
[ 28.908] (II) No input driver specified, ignoring this device.
[ 28.908] (II) No input driver specified, ignoring this device.
[ 28.908] (II) No input driver specified, ignoring this device.
[ 28.909] (II) No input driver specified, ignoring this device.
[ 28.909] (II) No input driver specified, ignoring this device.
[ 28.909] (II) No input driver specified, ignoring this device.
[ 28.909] (II) No input driver specified, ignoring this device.
[ 28.909] (II) No input driver specified, ignoring this device.
[ 28.909] (II) No input driver specified, ignoring this device.
[ 28.909] (II) Using input driver 'evdev' for 'Logitech K330'
[ 28.910] (II) Using input driver 'evdev' for 'Logitech M215 2nd Gen'
[ 28.911] (II) No input driver specified, ignoring this device.
- Code: Select all
[alan@localhost ~]$ cat /etc/X11/xorg.conf
# File generated by XFdrake (rev 262502)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerFlags"
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
#DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "v4l" # Video for Linux
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
Driver "fbdev"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
EndSection
[alan@localhost ~]$
[alan@localhost ~]$ xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600
default connected primary 800x600+0+0 0mm x 0mm
800x600 75.00*
Re: AMD rx 460

Posted:
Jan 21st, '17, 20:16
by doktor5000
Well, you selected the fbdev driver which is a really basic framebuffer driver, so that is the answer why you only get 800x600 by default.
Change to a different driver via
http://doc.mageia.org/mcc/5/en/content/XFdrake.htmlNot sure if this is supported by the free ati driver or by the proprietary fglrx driver, you might need to try out for yourself.
Re: AMD rx 460

Posted:
Jan 22nd, '17, 13:40
by Egg
I didn't personally select the fbdev driver, it was selected by the Mageia 5 installation.
Trying other drivers today has proved hazardous: some of them caused the boot to freeze after
[OK] Started Update UTMP about System Runlevel Changes
and after one change, rebooting stopped at a Grub prompt, and I had to use Rescatux to rebuild the boot!
Changing drivers by trial and error is proving to be a long job, and as Mageia 6 sta1 is handling the RX 460 OK, I'll wait for the release of Mageia 6. Meanwhile, I'll only fit the card when using Mint.
I'm still curious as to how drivers installed with even early versions of Mint differ from those installed with Mageia 5: could it be a connection with free drivers?
Re: AMD rx 460

Posted:
Jan 22nd, '17, 21:58
by doktor5000
Well, which drivers did you choose, you don't provide any details at all. Also, why did the start of X fail is contained in /var/log/Xorg.0.log, I've posted above how to check that log
Re: AMD rx 460

Posted:
Jan 26th, '17, 12:52
by pete910
FYI
RX 460 uses the AMDGPU driver. radeon driver dosn't support the RX (Polaris) series.
You'll need to stick to MGA6/cauldron to use it.
Re: AMD rx 460

Posted:
Jan 26th, '17, 15:31
by Egg
Well, it was my intention to wait for Mageia 6, as I didn't want to risk disabling Mageia 5 with further experiments. However, I've just tried another driver (ATI Radeon 5000 and later) with success. I can now get full resolution in Mageia 5, which saves me the trouble of removing the video card.
Strange that old versions of Mint can choose a driver automatically, and Mageia 5 can't.
Re: [(NOT) SOLVED] AMD rx 460 [NOT FOR ME}

Posted:
Feb 17th, '17, 19:15
by canadaist
Just a quick note:
THIS CAUSED A FREEZE THAT REQUIRED COLD REBOOT
I opened MCC to test the driver, chose "ATI Radeon 5000 and later....." said no to proprietary version, hit test -- and got input not supported floating bar, probably a monitor failsafe message. I tried esc, ctl-alt-backspace, even ctl-alt-del and few other more ridiculous key combinations I'm too embarrassed to mention, all to no avail.
I have the 460 and I too am using low res vesa, and I am waiting (patiently and with admiration and gratitude) for sta2 live media test iso with amdgpu.
Re: [SOLVED] AMD rx 460

Posted:
Feb 18th, '17, 10:10
by Egg
I can't remember whether or not I said "no" to a proprietary driver, but at a guess, I didn't say no.
While trying (at random) the options, I too had to resort to resetting the computer using the button- reminded me of trying to get games to run on Windows 20 years ago.
I suggest that you try again, but this time don't say "no".
Re: [(NOT) SOLVED] AMD rx 460 [NOT FOR ME}

Posted:
Feb 18th, '17, 15:45
by doktor5000
canadaist wrote:I opened MCC to test the driver, chose "ATI Radeon 5000 and later....." said no to proprietary version, hit test
For reference, the test will usually never work in a running system IMHO, as depending on what driver is currently used one kernel module will keep the graphics card busy.
If you want to test, select a different driver, then save the new settings and reboot.
Re: [SOLVED] AMD rx 460

Posted:
Feb 18th, '17, 17:23
by canadaist
Thanks Dok. You are font of learned skill. I have never run into that problem, never had a freeze using test. I used test because it took half a day, after installing the card, as x failed for hours. I want a higher resolution, but I dont want that again.
Re: [SOLVED] AMD rx 460

Posted:
Feb 18th, '17, 17:43
by canadaist
Egg wrote:I can't remember whether or not I said "no" to a proprietary driver, but at a guess, I didn't say no.
While trying (at random) the options, I too had to resort to resetting the computer using the button- reminded me of trying to get games to run on Windows 20 years ago.
I suggest that you try again, but this time don't say "no".
Thanks Egg. Good of you to respond. If I find time to risk this I will certainly use this advice, and Dok's
Re: [SOLVED] AMD rx 460

Posted:
Feb 19th, '17, 20:29
by canadaist
I have a higher resolution now, using save and reboot (several times) as Dok suggested. No automatic monitor detection, needed to use generic flat with specific resolution, no auto resolution, had to specify one, and lastly I could not use the proprietary driver ( I needed to "say no" ).
Five reboots. Also, on the last reboot, because it worked, one of the mageia boot screens was eye burning fuzzed out yellow that made me fear for my monitor