Re: Have WX 3200 Radeon graphics card -- cannot get X11 session to work
According to "Deucher, Alexander" on Mon, 01/29/24 at 13:53: > > [Public] > > Glad to year you got it working! Thanks! Two additional things you might be able to point me to... 1) how do I unsubscribe to amd-gfx@lists.freedesktop.org (the control page doesn't think I'm a member so I can't unscbsrcibe) 2) see below for my "last" remaining problem: I have new system H/W running FreeBSD 14.0-STABLE (from January 4th) and I have x11/Xorg running successfully on an AMD Radeon WX 3200 graphics card. The configuration for my keyboard on this new system is as follows: Section "InputClass" Identifier "Keyboard0" MatchIsKeyboard "on" Driver "libinput" Option "XkbModel" "Chicony PFU-65 USB Keyboard" EndSection The keyboard works just fine, but the arrow keys do not work. I have these ports installed: xorg-7.7_3 xorg-server-21.1.11_1,1 libinput-1.25.0 xf86-input-libinput-1.3.0 On an older FreeBSD 13.2-STABLE system (with the same ports installed) the same keyboard works just fine and the arrow keys respond as well. The configuration for my keyboard on the older system is as follows: Section "InputClass" Identifier "KeyboardDefaults" MatchIsKeyboard "on" Option "XkbModel" "Chicony PFU-65 USB Keyboard" EndSection Note the lack of any "Driver" keyword. I assume it is using the "kbd" driver. I can supply contents of /var/log/Xorg.0.log files if necessary. I would like my arrow keys to work on the new system. Can anyone help me out? Thank you in advance. -- William Bulley E-MAIL: w...@umich.edu
RE: Have WX 3200 Radeon graphics card -- cannot get X11 session to work
[Public] > -Original Message- > From: William Bulley > Sent: Sunday, January 28, 2024 2:38 PM > To: Deucher, Alexander > Cc: amd-gfx@lists.freedesktop.org > Subject: Re: Have WX 3200 Radeon graphics card -- cannot get X11 session to > work > > According to "Deucher, Alexander" on Fri, > 01/26/24 at 16:28: > > > > [AMD Official Use Only - General] > > > > Make sure you have OS mouse and keyboard drivers loaded and configured > > within your X config? > > I got it to work!!! Thanks to all who helped. Glad to year you got it working! Alex > > I got the clue I needed from this page this morning: > >https://fedoraproject.org/wiki/Input_device_configuration > > Here is the config that finally works: > > unix% pwd > /usr/local/etc/X11/xorg.conf.d > unix% cat 10-driver.conf > > Section "InputClass" > Identifier "Keyboard0" > MatchIsKeyboard "on" > Driver "libinput" > EndSection > > Section "InputClass" > Identifier "Mouse0" > MatchIsPointer "on" > Driver "libinput" > EndSection > > Section "Device" > Identifier "Card0" > Driver "amdgpu" > BusID "PCI:41:0:0" > Option "DisplayPort-0" "Monitor0" > EndSection > > -- > William Bulley > E-MAIL: w...@umich.edu >
Re: Have WX 3200 Radeon graphics card -- cannot get X11 session to work
According to "Deucher, Alexander" on Fri, 01/26/24 at 16:28: > > [AMD Official Use Only - General] > > Make sure you have OS mouse and keyboard drivers loaded > and configured within your X config? I got it to work!!! Thanks to all who helped. I got the clue I needed from this page this morning: https://fedoraproject.org/wiki/Input_device_configuration Here is the config that finally works: unix% pwd /usr/local/etc/X11/xorg.conf.d unix% cat 10-driver.conf Section "InputClass" Identifier "Keyboard0" MatchIsKeyboard "on" Driver "libinput" EndSection Section "InputClass" Identifier "Mouse0" MatchIsPointer "on" Driver "libinput" EndSection Section "Device" Identifier "Card0" Driver "amdgpu" BusID "PCI:41:0:0" Option "DisplayPort-0" "Monitor0" EndSection -- William Bulley E-MAIL: w...@umich.edu
Re: Have WX 3200 Radeon graphics card -- cannot get X11 session to work
According to "Deucher, Alexander" on Fri, 01/26/24 at 16:28: > > [AMD Official Use Only - General] > > Make sure you have OS mouse and keyboard drivers loaded and configured within > your X config? Can you be more specific about this? I have tried (and failed) to bring up a working x11 session that doesn't have my mouse pointer frozen two different ways. 1) I removed both my keyboard.conf and trackball.conf files from my xorg.conf.d directory. After rebooting and issuing a startx command, same thing: beautiful x11 screen but frozen mouse. 2) I replaced both keyboard.conf and trackball.conf into my xorg.conf.d directory. unix% cat keyboard.conf Section "InputClass" Identifier "KeyboardDefaults" MatchIsKeyboard "on" EndSection unix% cat trackball.conf Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" # Option "Device""/dev/sysmouse" EndSection I also tried variant of the keyboard.conf file using the Identifier "Keyboard0" and again using a Section name "InputDevice" instead of "InputClass", still no change. After rebooting and issuing a startx command, same thing: beautiful x11 screen but frozen mouse. [58.131] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event0) [58.131] (II) No input driver specified, ignoring this device. [58.131] (II) This device may have been added with another device file. [58.131] (II) config/udev: Adding input device System mouse (/dev/input/event1) [58.131] (II) No input driver specified, ignoring this device. [58.131] (II) This device may have been added with another device file. How am I supposed to specify an input driver for keyboard and mouse if not by the use of those two files (or similar) in my xorg.conf.d directory? -- William Bulley E-MAIL: w...@umich.edu
Re: Have WX 3200 Radeon graphics card -- cannot get X11 session to work
According to "Deucher, Alexander" on Fri, 01/26/24 at 16:28: > > [AMD Official Use Only - General] > > > Unfortunately, the mouse pointer is frozen at the exact center of the > > 3440 x 1440 monitor, and it will not move. I don't know how to fix this. > > Any > > help or ideas or suggestions would be greatly appreciated. > > Make sure you have OS mouse and keyboard drivers loaded and configured within > your X config? In my /var/log/Xorg.0.log file I found this line: 5261.770] (==) AMDGPU(0): Silken mouse enabled but nothing else related to mouse or keyboard. I thought those things didn't need to be configured. Example 8 in the FreeBSD Handbook Chapter 5.1 addressed the keyboard as "InputClass" not "InputDevice" as below: Example 8. Setting a Keyboard Layout /usr/local/etc/X11/xorg.conf.d/00-keyboard.conf Section "InputClass" Identifier "Keyboard1" MatchIsKeyboard "on" Option "XkbLayout" "es, fr" Option "XkbModel" "pc104" Option "XkbVariant" ",qwerty" Option "XkbOptions" "grp:win_space_toggle" EndSection The /var/log/Xorg.0.log file had these lines after I added two files: one for keyboard and one for mouose (see below); [74.787] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event0) [74.787] (**) System keyboard multiplexer: Applying InputClass "Keyboard0" [74.787] (II) No input driver specified, ignoring this device. [74.787] (II) This device may have been added with another device file. [74.787] (II) config/udev: Adding input device System mouse (/dev/input/event1) [74.787] (II) No input driver specified, ignoring this device. Here are my two added files: unix% cd /usr/local/etc/X11/xorg.conf.d unix% cat 00-keyboard.conf Section "InputClass" Identifier "Keyboard0" MatchIsKeyboard "on" EndSection unix% cat trackball.conf Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device""/dev/sysmouse" EndSection I think I need to change "InputClass" to "InputDevice" and add a Driver line like this: unix% cat keyboard.conf Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection After another reboot, still no mouse activity: [55.745] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event0) [55.745] (II) No input driver specified, ignoring this device. [55.745] (II) This device may have been added with another device file. [55.745] (II) config/udev: Adding input device System mouse (/dev/input/event1) [55.745] (II) No input driver specified, ignoring this device. [55.745] (II) This device may have been added with another device file. I don't know how to configure my mouse and keyboard so that X11/Xorg will recognize them. Please advise. Thanks in advance. -- William Bulley E-MAIL: w...@umich.edu
RE: Have WX 3200 Radeon graphics card -- cannot get X11 session to work
[AMD Official Use Only - General] > -Original Message- > From: William Bulley > Sent: Friday, January 26, 2024 4:19 PM > To: Deucher, Alexander > Cc: amd-gfx@lists.freedesktop.org > Subject: Re: Have WX 3200 Radeon graphics card -- cannot get X11 session to > work > > According to "Deucher, Alexander" on Fri, > 01/26/24 at 15:50: > > > > [Public] > > > > Kernel driver looks like its loaded properly. > > > > I don't really have much experience with freebsd, but it doesn't seem > > to be able to open the kernel driver. Perhaps X starts before the > > kernel driver has finished loading? Can you try and load the kernel driver > > and > then start X? > > After sending this and researching the forums some more, I made a few > changes and have had some success, but not quite there yet... > > Using what I found in the forums I now have this one file in my > /usr/local/etc/X11/xorg.conf.d directory: > > unix% cat /usr/local/etc/X11/xorg.conf.d/10-driver.conf > Section "Device" > Identifier "Card0" > Driver "amdgpu" > BusID "PCI:41:0:0" > EndSection > > I got to this point today after learning about this the other day: > > unix# pciconf -lv | grep -A4 vgapci > vgapci0@pci0:41:0:0:class=0x03 rev=0x10 hdr=0x00 vendor=0x1002 > device=0x6981 subvendor=0x1002 subdevice=0x0b0d > vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' > device = 'Lexa XT [Radeon PRO WX 3200]' > class = display > subclass = VGA > > I am not loading any relevant modules in my /boot/loader.conf file. > > This line was added to my /etc/rc.conf file: > >kld_list="amdgpu" > > I felt the amdgpu driver would support my WX 3200 (RS780) graphics card, > and after a reboot, I was proved correct. Previously I was starting my > x11 session using the "startx" command from the vt0 virtual terminal. > > Just minutes ago I logged into the virtual terminal vt2 on this system as a > non- > root user. There I entered the "startx" command and I was completly > surprised by the beautiful x11 session that appeared!!! > > Unfortunately, the mouse pointer is frozen at the exact center of the > 3440 x 1440 monitor, and it will not move. I don't know how to fix this. Any > help or ideas or suggestions would be greatly appreciated. Make sure you have OS mouse and keyboard drivers loaded and configured within your X config? Alex
Re: Have WX 3200 Radeon graphics card -- cannot get X11 session to work
According to "Deucher, Alexander" on Fri, 01/26/24 at 15:50: > > [Public] > > Kernel driver looks like its loaded properly. > > I don't really have much experience with freebsd, but it doesn't seem to be > able to open the kernel driver. Perhaps X starts before the kernel driver > has finished loading? Can you try and load the kernel driver and then start > X? After sending this and researching the forums some more, I made a few changes and have had some success, but not quite there yet... Using what I found in the forums I now have this one file in my /usr/local/etc/X11/xorg.conf.d directory: unix% cat /usr/local/etc/X11/xorg.conf.d/10-driver.conf Section "Device" Identifier "Card0" Driver "amdgpu" BusID "PCI:41:0:0" EndSection I got to this point today after learning about this the other day: unix# pciconf -lv | grep -A4 vgapci vgapci0@pci0:41:0:0:class=0x03 rev=0x10 hdr=0x00 vendor=0x1002 device=0x6981 subvendor=0x1002 subdevice=0x0b0d vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Lexa XT [Radeon PRO WX 3200]' class = display subclass = VGA I am not loading any relevant modules in my /boot/loader.conf file. This line was added to my /etc/rc.conf file: kld_list="amdgpu" I felt the amdgpu driver would support my WX 3200 (RS780) graphics card, and after a reboot, I was proved correct. Previously I was starting my x11 session using the "startx" command from the vt0 virtual terminal. Just minutes ago I logged into the virtual terminal vt2 on this system as a non-root user. There I entered the "startx" command and I was completly surprised by the beautiful x11 session that appeared!!! Unfortunately, the mouse pointer is frozen at the exact center of the 3440 x 1440 monitor, and it will not move. I don't know how to fix this. Any help or ideas or suggestions would be greatly appreciated. Thank you in advance. -- William Bulley E-MAIL: w...@umich.edu
RE: Have WX 3200 Radeon graphics card -- cannot get X11 session to work
[Public] > -Original Message- > From: amd-gfx On Behalf Of > William Bulley > Sent: Friday, January 26, 2024 1:45 PM > To: amd-gfx@lists.freedesktop.org > Subject: Have WX 3200 Radeon graphics card -- cannot get X11 session to > work > > I am running FreeBSD 14.0-STABLE from January 4th. I have read the > handbook and followed the instructions there. I have these drivers: > > unix# ls -al /usr/local/lib/xorg/modules/drivers > total 476 > drwxr-xr-x 2 root wheel 8 Jan 21 14:18 . > drwxr-xr-x 5 root wheel 13 Jan 21 14:18 .. > -rwxr-xr-x 1 root wheel 146216 Jan 6 11:41 amdgpu_drv.so > -rwxr-xr-x 1 root wheel 7344 Jan 11 13:18 ati_drv.so > -rwxr-xr-x 1 root wheel 112320 Jan 21 14:18 modesetting_drv.so -rwxr-xr-x > 1 root wheel 501696 Jan 11 13:18 radeon_drv.so -rwxr-xr-x 1 root wheel > 19800 Jan 6 11:41 scfb_drv.so -rwxr-xr-x 1 root wheel 27392 Jan 6 11:41 > vesa_drv.so > > I have these modules: > > unix# cd /boot/modules > unix# ls -al *amdgpu* > -r--r--r-- 1 root wheel 8581752 Jan 22 15:14 amdgpu.ko < other amdgpu*.ko modules>> unix# ls -al *kms* > -r--r--r-- 1 root wheel 3013512 Jan 22 15:14 i915kms.ko > -r--r--r-- 1 root wheel 2394600 Jan 22 15:14 radeonkms.ko > > I have followed the instructions in the handbook Chapter 5.1 but have never > gotten an x11 session to appear. Whenever I run startx as a non-root user, > the > error message is always > "(EE) no screens found". > > The WX 3200 (RS780?) is a newer card, so I put this line in my /etc/rc,conf > file: > >kld_list+="amdgpu" > > During the booting of the O/S these 90 lines appear in my /var/log/messages > file: > > Jan 26 10:35:20 msi1 kernel: [drm] amdgpu kernel modesetting enabled. > Jan 26 10:35:20 msi1 kernel: drmn0: on vgapci0 Jan 26 10:35:20 > msi1 kernel: vgapci0: child drmn0 requested pci_enable_io Jan 26 10:35:20 > msi1 kernel: vgapci0: child drmn0 requested pci_enable_io Jan 26 10:35:20 > msi1 kernel: [drm] initializing kernel modesetting (POLARIS12 0x1002:0x6981 > 0x1002:0x0B0D 0x10). > Jan 26 10:35:20 msi1 kernel: drmn0: Trusted Memory Zone (TMZ) feature not > supported Jan 26 10:35:20 msi1 kernel: [drm] register mmio base: > 0xFCC0 Jan 26 10:35:20 msi1 kernel: [drm] register mmio size: 262144 > Jan 26 10:35:20 msi1 kernel: [drm] add ip block number 0 Jan > 26 10:35:20 msi1 kernel: [drm] add ip block number 1 Jan 26 > 10:35:20 msi1 kernel: [drm] add ip block number 2 Jan 26 > 10:35:20 msi1 kernel: [drm] add ip block number 3 Jan 26 > 10:35:20 msi1 kernel: [drm] add ip block number 4 Jan 26 > 10:35:20 msi1 kernel: [drm] add ip block number 5 Jan 26 > 10:35:20 msi1 kernel: [drm] add ip block number 6 Jan 26 10:35:20 > msi1 kernel: [drm] add ip block number 7 Jan 26 10:35:20 msi1 > kernel: [drm] add ip block number 8 Jan 26 10:35:20 msi1 kernel: > drmn0: Fetched VBIOS from VFCT Jan 26 10:35:20 msi1 kernel: amdgpu: > ATOM BIOS: 113-D0155100-101 Jan 26 10:35:20 msi1 kernel: [drm] UVD is > enabled in VM mode Jan 26 10:35:20 msi1 kernel: [drm] UVD ENC is enabled > in VM mode Jan 26 10:35:20 msi1 kernel: [drm] VCE enabled in VM mode Jan > 26 10:35:20 msi1 kernel: [drm] vm size is 256 GB, 2 levels, block size is > 10-bit, > fragment size is 9-bit Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded > firmware image 'amdgpu/polaris12_k_mc.bin' > Jan 26 10:35:20 msi1 kernel: drmn0: VRAM: 4096M 0x00F4 - > 0x00F4 (4096M used) Jan 26 10:35:20 msi1 kernel: drmn0: > GART: 256M 0x00FF - 0x00FF0FFF Jan 26 10:35:20 > msi1 kernel: [drm] Detected VRAM RAM=4096M, BAR=4096M Jan 26 > 10:35:20 msi1 kernel: [drm] RAM width 128bits GDDR5 Jan 26 10:35:20 msi1 > kernel: [drm] amdgpu: 4096M of VRAM memory ready Jan 26 10:35:20 msi1 > kernel: [drm] amdgpu: 4096M of GTT memory ready. > Jan 26 10:35:20 msi1 kernel: [drm] GART: num cpu pages 65536, num gpu > pages 65536 Jan 26 10:35:20 msi1 kernel: [drm] PCIE GART of 256M enabled > (table at 0x00F40030). > Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded firmware image > 'amdgpu/polaris12_pfp_2.bin' > Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded firmware image > 'amdgpu/polaris12_me_2.bin' > Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded firmware image > 'amdgpu/polaris12_ce_2.bin' > Jan 26 10:35:20 msi1 kernel: [drm] Chained IB support enabled! > Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded firmware image > 'amdgpu/polaris12_rlc.bin' > Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded firmware image > 'amdgpu/polaris12_mec_2.bin' > Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded firmware image > 'amdgpu/polaris12_mec2_2.bin' > Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded firmware image > 'amdgpu/polaris12_sdma.bin' > Jan 26 10:35:20 msi1 kernel: drmn0: successfully loaded firmware image > 'amdgpu/polaris12_sdma1.bin' > Jan 26 10:35:20 msi1 kernel: amdgpu: hwmgr_sw_init smu backed is > polaris10_smu Jan 26 10:35:20 msi1 kernel: drmn0: successfully