Wine not detecting my graphics card.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
aimeec1995
Level 2
Level 2
Posts: 21
Joined: Tue Jul 11, 2017 9:25 am

Wine not detecting my graphics card.

Post by aimeec1995 »

After switching from my gt 430 to a radeon hd 5670, wine fails to detect my card.
It has made 3d acceleration with wine impossible, and I need this. Any help would be appreciated.

I am using the "radeon" driver and module. https://www.freebsd.org/cgi/man.cgi?que ... &sektion=4

Here is some info about my wine and system ...

the relevant bits of my xorg.conf if that is any help

Code: Select all

Section "Device"
   Option "DRI" "true"
   Option "AccelMethod" "XAA" #XAA
    Identifier     "Device0"
    Driver         "radeon"
    VendorName "Advanced Micro Devices, Inc. [AMD/ATI]"
    BoardName   "RV830 [Radeon HD 5670]"
    BusID       "PCI:1:0:0"
   
EndSection

Code: Select all

wine-staging-2.15,1
Name           : wine-staging
Version        : 2.15,1
Installed on   : Mon Aug 28 15:36:20 2017 EDT
Origin         : emulators/wine-staging
Architecture   : FreeBSD:11:i386
Prefix         : /usr/local
Categories     : emulators
Licenses       : LGPL21, LGPL3
Maintainer     : [email protected]
WWW            : http://www.winehq.org/
Comment        : Wine built with the Staging patchset
Options        :
CUPS           : off
DOCS           : on
DOSBOX         : off
GECKO          : off
GNUTLS         : on
HAL            : off
LDAP           : off
LIBXSLT        : off
MONO           : off
MPG123         : off
OPENAL         : off
V4L            : off
WINEMAKER      : off
X11            : on
Here's what a program like steam says about my graphics card ...

Code: Select all

Video Card:
    Driver:  VideoController1
    DirectX Driver Name Not Detected
    Driver Version:  1.0
    DirectX Driver Version Not Detected
    Driver Date: 1 1 2017
    Desktop Color Depth: 32 bits per pixel
    DirectX Card Not Detected
    VendorID Not Detected
    DeviceID Not Detected
    Revision Not Detected
    Number of Monitors:  1
    Number of Video Cards Not Detected
    No SLI or Crossfire Detected
    Primary Display Resolution:  1280 x 1024
    Desktop Resolution: 1280 x 1024
    Primary Display Size: 13.35" x 10.67" (17.09" diag)
                                            33.9cm x 27.1cm (43.4cm diag)
    Primary Bus Type Not Detected
    Primary VRAM: 512 MB
    Supported MSAA Modes Not Detected
Previously with my gt 430 and driver-nvidia it worked fine. I have also tried driver "ati" but ti is no different.
aimeec1995
Level 2
Level 2
Posts: 21
Joined: Tue Jul 11, 2017 9:25 am

Re: Wine not detecting my graphics card.

Post by aimeec1995 »

Okay I am unsure if this is a step forward or not. I added the parameter Option "Accel" "true" and removed nvidia-driver.

And now wine thinks I have a ... gtx 8800??

Code: Select all

Video Card:
    Driver:  NVIDIA GeForce 8800 GTX
    DirectX Driver Name:  nvd3dum.dll
    Driver Version:  1.0
    DirectX Driver Version:  8.18.13.4052
    Driver Date: 1 1 2017
    OpenGL Version: 3.0
    Desktop Color Depth: 32 bits per pixel
    DirectX Card: NVIDIA GeForce 8800 GTX
    VendorID:  0x10de
    DeviceID:  0x191
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    No SLI or Crossfire Detected
    Primary Display Resolution:  1280 x 1024
    Desktop Resolution: 1280 x 1024
    Primary Display Size: 13.35" x 10.67" (17.09" diag)
                                            33.9cm x 27.1cm (43.4cm diag)
    Primary Bus Type Not Detected
    Primary VRAM: 1024 MB
    Supported MSAA Modes Not Detected
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine not detecting my graphics card.

Post by Bob Wya »

@aimeec1995

64-bit Wine "just" needs a full, working multilib hardware accelerated graphics stack. 8)

I would suggest asking about this on a BSD-based forum. I know that FreeBSD has been lacking behind Linux quite a bit with it's modesetting graphics drivers.
But I believe there has been some recent efforts to port over Dragonfly BSD's compatibility layer for the Linux modesetting drivers.
The AMD Radeon HD5670 card has very good radeon support on Linux - but I'd check in what the state of play is on the BSD side.
If the Dragonfly BSD support is better it might be worth checking this BSD fork out??

The NVIDIA GeForce 8800 GTX will be a "fall through" card that Wine uses - when Mesa does not supply a valid PCIe Vendor/Device ID for your graphics card.

Bob
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine not detecting my graphics card.

Post by Bob Wya »

What's the output from:

Code: Select all

pciconf -lv
??

Bob
aimeec1995
Level 2
Level 2
Posts: 21
Joined: Tue Jul 11, 2017 9:25 am

Re: Wine not detecting my graphics card.

Post by aimeec1995 »

Bob Wya wrote:@aimeec1995

64-bit Wine "just" needs a full, working multilib hardware accelerated graphics stack. 8)

I would suggest asking about this on a BSD-based forum. I know that FreeBSD has been lacking behind Linux quite a bit with it's modesetting graphics drivers.
But I believe there has been some recent efforts to port over Dragonfly BSD's compatibility layer for the Linux modesetting drivers.
The AMD Radeon HD5670 card has very good radeon support on Linux - but I'd check in what the state of play is on the BSD side.
If the Dragonfly BSD support is better it might be worth checking this BSD fork out??

The NVIDIA GeForce 8800 GTX will be a "fall through" card that Wine uses - when Mesa does not supply a valid PCIe Vendor/Device ID for your graphics card.

Bob
Thank you for replying and clearing that up.
I'm afraid dragonflybsd is for the most part 64bit only, and as you said 64-bit wine needs a working multilib hardware accelerated graphics stack, so unfortunately it is not much of an option for me. I am using the 32bit version of freebsd at the moment.

Here is my pciconf -lv output ...

Code: Select all

noob@bsdminger-pc:~ % pciconf -lv
hostb0@pci0:0:0:0:	class=0x060000 card=0x96001022 chip=0x96001022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'RS780 Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:2:0:	class=0x060400 card=0x96001022 chip=0x96031022 rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'RS780 PCI to PCI bridge (ext gfx port 0)'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:7:0:	class=0x060400 card=0x96001022 chip=0x96071022 rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'RS780/RS880 PCI to PCI bridge (PCIE port 3)'
    class      = bridge
    subclass   = PCI-PCI
ahci0@pci0:0:17:0:	class=0x01018f card=0x37001565 chip=0x43901002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]'
    class      = mass storage
    subclass   = ATA
ohci0@pci0:0:18:0:	class=0x0c0310 card=0x37001565 chip=0x43971002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      = serial bus
    subclass   = USB
ohci1@pci0:0:18:1:	class=0x0c0310 card=0x37001565 chip=0x43981002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0 USB OHCI1 Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:18:2:	class=0x0c0320 card=0x37001565 chip=0x43961002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      = serial bus
    subclass   = USB
ohci2@pci0:0:19:0:	class=0x0c0310 card=0x37001565 chip=0x43971002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
    class      = serial bus
    subclass   = USB
ohci3@pci0:0:19:1:	class=0x0c0310 card=0x37001565 chip=0x43981002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0 USB OHCI1 Controller'
    class      = serial bus
    subclass   = USB
ehci1@pci0:0:19:2:	class=0x0c0320 card=0x43961002 chip=0x43961002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
    class      = serial bus
    subclass   = USB
none0@pci0:0:20:0:	class=0x0c0500 card=0x37001565 chip=0x43851002 rev=0x3c hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SBx00 SMBus Controller'
    class      = serial bus
    subclass   = SMBus
atapci0@pci0:0:20:1:	class=0x01018a card=0x37001565 chip=0x439c1002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0/SB8x0/SB9x0 IDE Controller'
    class      = mass storage
    subclass   = ATA
hdac1@pci0:0:20:2:	class=0x040300 card=0x821f1565 chip=0x43831002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SBx00 Azalia (Intel HDA)'
    class      = multimedia
    subclass   = HDA
isab0@pci0:0:20:3:	class=0x060100 card=0x37001565 chip=0x439d1002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0/SB8x0/SB9x0 LPC host controller'
    class      = bridge
    subclass   = PCI-ISA
pcib3@pci0:0:20:4:	class=0x060401 card=0x00000000 chip=0x43841002 rev=0x00 hdr=0x01
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SBx00 PCI to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
ohci4@pci0:0:20:5:	class=0x0c0310 card=0x43961002 chip=0x43991002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller'
    class      = serial bus
    subclass   = USB
hostb1@pci0:0:24:0:	class=0x060000 card=0x00000000 chip=0x12001022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'Family 10h Processor HyperTransport Configuration'
    class      = bridge
    subclass   = HOST-PCI
hostb2@pci0:0:24:1:	class=0x060000 card=0x00000000 chip=0x12011022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'Family 10h Processor Address Map'
    class      = bridge
    subclass   = HOST-PCI
hostb3@pci0:0:24:2:	class=0x060000 card=0x00000000 chip=0x12021022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'Family 10h Processor DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
hostb4@pci0:0:24:3:	class=0x060000 card=0x00000000 chip=0x12031022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'Family 10h Processor Miscellaneous Control'
    class      = bridge
    subclass   = HOST-PCI
hostb5@pci0:0:24:4:	class=0x060000 card=0x00000000 chip=0x12041022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD]'
    device     = 'Family 10h Processor Link Control'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:1:0:0:	class=0x030000 card=0x200b1787 chip=0x68d81002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Redwood XT [Radeon HD 5670/5690/5730]'
    class      = display
    subclass   = VGA
hdac0@pci0:1:0:1:	class=0x040300 card=0xaa601787 chip=0xaa601002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Redwood HDMI Audio [Radeon HD 5000 Series]'
    class      = multimedia
    subclass   = HDA
re0@pci0:2:0:0:	class=0x020000 card=0x23091565 chip=0x816810ec rev=0x03 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
noob@bsdminger-pc:~ %
As for its support in linux, I had no idea.
I will need to look into trying one of the popular distros if this does not work out for me.
aimeec1995
Level 2
Level 2
Posts: 21
Joined: Tue Jul 11, 2017 9:25 am

Re: Wine not detecting my graphics card.

Post by aimeec1995 »

Seeing as how I just tried doom 3 with this card and had 5 fps I'd say this is a lost cause.
I am going to try a linux distro.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine not detecting my graphics card.

Post by Bob Wya »

aimeec1995 wrote:Seeing as how I just tried doom 3 with this card and had 5 fps I'd say this is a lost cause.
I am going to try a linux distro.
Hmmm... that is quite low. :cry:

BSD makes a very nice Server OS - just the desktop side is lagging a bit...
The PCI ID is correct for your AMD graphics card.
I guess Mesa is just running without any hardware acceleration.
You could always hit up Kris Moore @ TrueOS to get the current status of BSD Desktop support for your card. He seems to be quite approachable...

RE: Linux ...
Gentoo - it's the bomb for any Use case (that's a bad pun)!
But seriously it has a very BSD-like packaging system (Portage, Ports).
Sorry... couldn't resist a bit of distro promotion... 8)

Bob
aimeec1995
Level 2
Level 2
Posts: 21
Joined: Tue Jul 11, 2017 9:25 am

Re: Wine not detecting my graphics card.

Post by aimeec1995 »

Bob Wya wrote:
aimeec1995 wrote:Seeing as how I just tried doom 3 with this card and had 5 fps I'd say this is a lost cause.
I am going to try a linux distro.
Hmmm... that is quite low. :cry:

BSD makes a very nice Server OS - just the desktop side is lagging a bit...
The PCI ID is correct for your AMD graphics card.
I guess Mesa is just running without any hardware acceleration.
You could always hit up Kris Moore @ TrueOS to get the current status of BSD Desktop support for your card. He seems to be quite approachable...

RE: Linux ...
Gentoo - it's the bomb for any Use case (that's a bad pun)!
But seriously it has a very BSD-like packaging system (Portage, Ports).
Sorry... couldn't resist a bit of distro promotion... 8)

Bob
I was actually looking at slackware but I will check that out, too.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine not detecting my graphics card.

Post by Bob Wya »

aimeec1995 wrote:
Bob Wya wrote:
aimeec1995 wrote:Seeing as how I just tried doom 3 with this card and had 5 fps I'd say this is a lost cause.
I am going to try a linux distro.
Hmmm... that is quite low. :cry:

BSD makes a very nice Server OS - just the desktop side is lagging a bit...
The PCI ID is correct for your AMD graphics card.
I guess Mesa is just running without any hardware acceleration.
You could always hit up Kris Moore @ TrueOS to get the current status of BSD Desktop support for your card. He seems to be quite approachable...

RE: Linux ...
Gentoo - it's the bomb for any Use case (that's a bad pun)!
But seriously it has a very BSD-like packaging system (Portage, Ports).
Sorry... couldn't resist a bit of distro promotion... 8)

Bob
I was actually looking at slackware but I will check that out, too.
Once you get the hang of using Gentoo it's a very nice distribution to use.
It has the best Package Manager of any distribution... There's no other distribution I'm aware of that implements fine locking on package build and installation.
With Gentoo you can fire off multiple install commands and not get the classic "package database locked" message!
Although people write off Gentoo as being slow (due to all the compiling) and poorly supported I don't find this to be the case in my day-to-day usage.
I just fire off world updates overnight and deal with the "fallout" the next day (typically 2-3 package builds may fail - often just segmentation faults - because laptop has shitty cooling).
The daily commits on the core distribution packages and toolchain are consistently very high. See: Github: gentoo / gentoo ...

Binary distributions are annoyingly inflexible in comparison - I find! :shock:

Slackware is starting to show it's age IMHO. It's in a bit of backwater, from a bygone age... :(

Bob
User avatar
SquareAperture
Level 2
Level 2
Posts: 28
Joined: Sat Sep 02, 2017 12:30 am

Re: Wine not detecting my graphics card.

Post by SquareAperture »

Sorry for your luck aimeec, I have both a 5670 and a 6570 sitting in a junk drawer. They caused me lots of grief in linux, I hope you have better luck. I would do as Bob suggests, hit up the forums and beg assistance; I'm sure someone got it working. And, not to rag on all AMD/ATI cards, apparently some of them are very linux friendly. But it's not like it is with nvidia. Sorry.

If you really are up for a distro swap, flash some live images onto a few 16GB flash drives, and try them til you're happy. A site like DistroWatch can link you to all the ones that have live images, I used to be a Gentoo'er myself, and knoppix before that, but got stuck doing RHEL for work and it kinda took over, so now I'm a RedHat/RHEL/Fedora/CentOS guy. I also love debian, because of knoppix. (knoppix isn't as maintained as it used to be back in the early days) These are all solid choices; and many more exist.

I would hate for you to have to switch OSs just because of flimsy video card support. but I guess people have changed for less. Fedora lost an estimated 20% when they made the GNOME3 desktop the default and all the technical users wanted to drag the steering committee members into the street and publicly murder them.

Good luck!
------------------------------------

PS: Bob: according to DistroWatch Popularity Tracker, Gentoo (#47) has a red downward arrow, and Slackware (#33) has a green upward one. What does "trending" mean? B-)
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine not detecting my graphics card.

Post by Bob Wya »

SquareAperture wrote:...

PS: Bob: according to DistroWatch Popularity Tracker, Gentoo (#47) has a red downward arrow, and Slackware (#33) has a green upward one. What does "trending" mean? B-)
Slackware zealots visit Distrowatch everyday via different Tor Exit Nodes? :o
I.e. it doesn't mean very much at all... Just look at the Distrowatch stats - there's a "fake distro" at the top of the charts! :lol:

Not to hate on Distrowatch. I enjoy their weekly podcast... 8)

But seriously... :shock:
Anyway if you're going to install Gentoo - you already know you're crazy and you just open the Arch and Gentoo Wiki's and get stuck in to the installation process.
Or like I do (because I'm lazy): just rsync my existing Arch and Gentoo installs to a new machine. 8)

Why would you be visiting Distrowatch for information about a rolling release distribution?

Also the current(ish) 26 update - broke for me - on my Fedora install. Despite the fact I was running it a Chroot. So now I can't even log into Gnome Shell... :?
To be fair Fedora still boots fine and supplies a Grub menu... dnf is also a lot better the ancient and very creaky apt / aptitude combination... :wink:
Package availability is also rubbish - scrabbling about with Copr is not a solution to this...

The grass is not always greener with Team Green either... Plasma 5 and the proprietary Nvidia driver are uneasy bed fellows. :roll:

All my personal opinions of course and very little to do with Wine... :D

Bob
User avatar
SquareAperture
Level 2
Level 2
Posts: 28
Joined: Sat Sep 02, 2017 12:30 am

Re: Wine not detecting my graphics card.

Post by SquareAperture »

nope, no reason, just for the joke.:-) DW is so dated, I don't know if the content generation scripts are updated anymore. Again, anything's better than Ubuntu. I hear mr. super cool millionaire is looking for a revenue stream to keep ubuntu going, that is bad... he's a complete capitalist, he'll sell out his userbase on one hand while promising never to do so with the other. I wish my curmudgeonly cynicism was wrong. It rarely is. B-) I smell burning coffee.
Locked