LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How do I enable 3d acceleration? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-do-i-enable-3d-acceleration-271593/)

JackieBrown 12-29-2004 01:43 PM

How do I enable 3d acceleration?
 
I was using the onboard intel graphic and I was able to enable the 3d acceleration.
I receently got a Nividia Geforce and now I an unable to enable the acceleration. In fact the display is noticable slower?
I did the online update and got the nvidia drivers but that solved nothing

Vorik 12-29-2004 01:51 PM

did you disable the onboard video card in the bios?

JackieBrown 12-29-2004 02:00 PM

Yes I did.

JackieBrown 12-29-2004 02:30 PM

Are there any other ideas?

SlackerLX 12-29-2004 02:33 PM

Open YaST2. Go to hardware then to display settings. reconfigure display settings. Lastoption of configuration is to enable or dissble 3D. enable it, then test and save

JackieBrown 12-29-2004 03:01 PM

When I go to ysast. I click on Hardware, then graphics card and moniter, then my screen goes black and resets, then I in a screen where my options are Text mode only or graphical desktop enviroment. (This is where I changed it with my onboard intel graphic)
At the moment though, it says 3d accleration diabled. When I click on change it thinks for a second then does nothing.
If I click reproble my moniter resets but I still have the same options

SlackerLX 12-29-2004 03:08 PM

send me your email address. I recently used Suse and by pure chance saved XF86Config with 3D enabled
just edit it because i use ATI

JackieBrown 12-29-2004 03:14 PM

I don't know how so here it is dbroome#gmail.com.

#=@

Thanks

JackieBrown 12-29-2004 03:34 PM

Thanks. You mentioned to edit. What would I edit? Also, do I just replace the new file over the old one?

SlackerLX 12-29-2004 03:36 PM

i sent you XF86Config file. Please remember to edit it. Don't ask me how to, I've never used NVIDIA before:confused: . Just post if you made it working

JackieBrown 12-29-2004 03:37 PM

Do I just copy the video part ard replace Driver to Nvidia and vender name with what? (it says ati right now)

JackieBrown 12-29-2004 03:40 PM

Oh just read your next post. Ok, thanks. will try it now

SlackerLX 12-29-2004 03:41 PM

Look, I usualy make all changes using Midnight commander. Open terminal, first go to superuser by typing
#su
<pw>
#mc

JackieBrown 12-29-2004 03:41 PM

Which one would I edit? usr/x11r6/bin/ or etc/x11

SlackerLX 12-29-2004 03:44 PM

your current configuration is at /etc/X11

SlackerLX 12-29-2004 03:48 PM

The best idea would be to open both files and compare them. Look at your original and see the received file. I think wherever is ati, replace it

JackieBrown 12-29-2004 03:56 PM

Ok here we go

JackieBrown 12-29-2004 04:02 PM

OK. next time I guess I will back up the original file. I lost my gui.

JackieBrown 12-29-2004 04:10 PM

I haven't done much so I guess just reinstall?

Would this have been the problem though (from the original file(

Actually in xconfig it list this:
Section "Device"
BusID "2:9:0"
Driver "nv"
Identifier "Device[0]"
Option "sw_cursor" "on"
Screen 0
EndSection

Section "Device"
BusID "2:9:0"
Driver "fbdev"
Identifier "Device[fbdev]"
Option "ShadowFB" "off"
Screen 0
EndSection

Section "Device"
BusID "2:9:0"
Driver "vga"
Identifier "Device[vga]"
Option "VGAClocks"
Option "KGAUniversal"
Screen 0
EndSection


Are there too many devices? I noticed just one on your file.

Maybe they were causing a conflict?

SlackerLX 12-29-2004 04:11 PM

I believe it wasn't really successful;)
Here is another option, however. Try doing it from installation option. Reboot with install DVD. choose installation then repair installed then auto

JackieBrown 12-29-2004 04:12 PM

I will try that. The failsafe mode suxs by the way. It locked up.

JackieBrown 12-29-2004 04:16 PM

Or I sux? I am pretty new so that could be it. Not saving the original file was pretty dumb.

JackieBrown 12-29-2004 04:18 PM

Trying the repair option. Apperently I turned off the swap file? It turned it back on. So far that is the only change

JackieBrown 12-29-2004 04:23 PM

didn't work. I just installed it last night so I am not loosing much

JackieBrown 12-29-2004 04:29 PM

Should I choose to skip configure the graphics part during installation and wait until I can install the correct drivers or does that even matter

SlackerLX 12-29-2004 04:29 PM

Sorry, buddy. Cannot help you from this point. unfortunately I removed SuSE about a year ago, but here
try to follow this thread. Guys out there with NVIDIA
http://www.linuxquestions.org/questi...icle&artid=113

SlackerLX 12-29-2004 04:31 PM

Check your NVIDIA CD. They maybe included drivers for Linux

JackieBrown 12-29-2004 06:08 PM

How do I shut off X server?
I tried the instructions on that thread but it didn't shut down the gui

SlackerLX 12-29-2004 06:13 PM

ctrl+alt+F1
or
#gdm stop
or
#kdm stop

JackieBrown 12-29-2004 06:29 PM

It still stays the the x-server is still running. Also there is a giant suse banner one the top and bottom of the screen after pressing the ctr alt f1

JackieBrown 12-29-2004 07:53 PM

Come on!!!! I am the inly one that uses a Nvidia Card here. Out of this entire forum the only one that even tries to hel is someone who stopped using SUSE?
I am sorry for the frustration but it is there.
Thank you Slacker for all your help.

SlackerLX 12-29-2004 07:59 PM

If you did not succed first, then you're a programmer:)
and if really, why SuSE? So many distros to choose from. And why do you think I, personally, stopped using Suse?
I would really recommend after so many years of using *nix "Slackware"

JackieBrown 12-29-2004 08:02 PM

"why SuSE"

I wish I hadn't just paid 80 dollars for this os.

That is why right now, but the reason is fading fast :(

SlackerLX 12-29-2004 08:05 PM

Are you Serious!!!????:mad: :mad: :mad: :mad:
Here is one best link for you
http://distrowatch.com
Choose distro, download and use for pleasure

JackieBrown 12-29-2004 08:08 PM

I though those books it came with would be usefull :(

SlackerLX 12-29-2004 08:12 PM

Wisdom comes from bumps on the road and on the head;)
Fly with Air Slackware, your best Airline

:D :D

JackieBrown 12-29-2004 11:52 PM

I am sorry for venting. I am just frustrated.

eco2geek 12-30-2004 02:55 AM

Take a look at the README file that came with the nVidia drivers, in /usr/share/doc/NVIDIA_GLX-1.0. Specifically, Appendix D, "X Config Options":

"Option "RenderAccel" "boolean"
Enable or disable hardware acceleration of the RENDER extension. THIS OPTION IS EXPERIMENTAL. ENABLE IT AT YOUR OWN RISK. There is no correctness test suite for the RENDER extension so NVIDIA can not verify that RENDER acceleration works correctly. Default: hardware acceleration of the RENDER extension is disabled."

They also have an example XF86Config with sections for various types of cards there.

The video card section of my XF86Config file looks like this:
Code:

Section "Device"
  BoardName    "GeForce4 MX440SE"
  BusID        "1:0:0"
  Driver      "nvidia"
  Identifier  "Device[0]"
  Screen      0
  VendorName  "NVidia"
  Option      "NoLogo" "1"
  Option      "RenderAccel" "1"
EndSection

I used YaST to try to enable 3D acceleration and adjust the position of the display after installing the nVidia driver, and it reset XF86Config to use the default "nv" driver (and also reset my screen resolution to what it thought it should be, which is not my choice). So I won't use YaST for that any more. But it did back up my original config file to "/etc/X11/XF86Config.YaST2save".

JackieBrown 12-30-2004 03:24 AM

I added the Option "RenderAccel" "1"

Should yast recognize that this has been enabled because it is not

eco2geek 12-30-2004 03:35 AM

Yes, YaST should see that 3D acceleration is enabled. Please make sure you are using the "nvidia" driver and not the "nv" driver.

Sabicas 12-30-2004 04:21 AM

Yeah, it sounds like you might be using the nv driver. Are you sure you installed the NVIDIA driver, because if memory serves me correctly it enables 3D by default when it's installed.

If you're not sure try this.

(KDE start menu)

Find (system) on that menu (expand system)

Find (yast) (click on yast)

(enter your root password)

(select software)

(select online update)

you should just be able to (click next)

:this step might take a second:

scroll down the list and you should see that the update list is black and is marked optional

(check nvidia driver) not exact name, you'll know it when you see it

select (accept)

sit back and wait for the download

after it downloads restart x or restart your computer it doesn't matter

you should see an nvidia splash screen before your window manager loads, if not come back to the forum.

if you do see the screen you should be able to go into SaX2 and change your resolution.

Sorry if this is sloppy I'm tired. Good luck buddy.

pilotgi 12-30-2004 06:34 PM

I have been following this thread off and on for the last few days and I think you were mislead by SlackerLX from the beginning. Editing your /etc/X11/XF86Config (or xorg.conf) may be the way you would tackle this problem in Slackware, but it's not the way I have had success with SUSE. I'm assuming that SUSE has recognized your new GeForce card.

First, download the latest nvidia driver from here to your home directory.

Then exit the gui by typing ctrl > alt > F1. This should take you to a text screen asking you to log in as user. Do so. Then log in as root and type init 3.

You may have to press enter again to get back your prompt.

Type sh NVIDIA-Linux-x86-1.0-6629-pkg1.run -q

Follow the nvidia installer through the steps. It will have to build a module for your kernel. Don't worry about the riva module warning.

When the installer is through, type sax2 -m 0=nvidia (0 is a digit, not a letter!) You'll probably need to undo any other edits you did to /etc/X11/XF86Config. Save this file and log back in as regular user. Type startx.

The NVIDIA HOWTO for this is available at the suse/novell website and there are many threads on this forum about it.

Edit: 1) Kernel sources must be installed and configured. Usually this means
installing the 'kernel-source', 'make' and 'gcc' packages with YaST2.
Update it - if not already done - via YaST2 Online Update (YOU).



HTH

Sabicas 12-30-2004 07:47 PM

Don't try to manually install the driver unless you really need to. You shouldn't have to edit your xorg at all unless you install it manually. Follow my Yast directions above. Hopefully your xorg is still working properly.

JackieBrown 12-30-2004 08:21 PM

i tried typing over the nv with nvidia, but that just lost my gui (is that the x-server?)
Also Sabicas, I did try with yast first but it never changed anything.
When I open the Device Hardware Manager it shows to devices under Display. It shows nVidia 0x0322 and under that it shows Trigem i845)
I have disabled the onboard video on the bios and window no longer finds it. Actually for what it is worth I have not been to windows now for 2 days. (A new record for me)
Is it possible that SUSE is dectecting the onboard vidio card and that is the problem, or is Trigem the generic video driver that Linux uses in the begining - I asume it has to use some kind of driver since for whatever legal readons exist it can't use the Nvidia driver during installtion or until I later download it via YAST?

JackieBrown 01-01-2005 01:04 AM

I don't know if this log helps?

/*************
SaX2 log : SaX2 version 4.8 - CVS Release: 1.49 2003/03/17
**************
CVS BUILD : 26443
:
DESCRIPTION : X11 configuration log file to collect information
: about detection, startup and configuration.
: There are three parts of logging:
: ---
: 1) INIT ( detection, 3D )
: 2) STARTUP ( XF86Config, X11 log, glxinfo )
: 3) CONFIG ( config actions )
: ---
:
VERSION : SaX2 compiled for: [SuSE Linux 9.2 (i586)]
PARAMETER : -m 0=nvidia
:
LOG DATE : Sat Jan 1 00:54:10 CST 2005
*************/
============================
Framebuffer Info:
----------------------------

mode "1280x1024-77"
# D: 131.096 MHz, H: 80.328 kHz, V: 76.649 Hz
geometry 1280 1024 1280 1024 16
timings 7628 160 32 16 4 160 4
rgba 5/11,6/5,5/0,0/0
endmode

Frame buffer device information:
Name : VESA VGA
Address : 0xe0000000
Size : 10485760
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 2560
Accelerator : No

01-Jan 00:54:11 <I> Initializing...
01-Jan 00:54:14 <I> [ Sysp: Mouse detection data
Mouse0 => Protocol : explorerps/2
Mouse0 => Device : /dev/input/mice
Mouse0 => Buttons : 5
Mouse0 => Wheel : 1
Mouse0 => Emulate : 0
Mouse0 => Name : Logitech Optical Mouse
]
01-Jan 00:54:14 <I> [ Sysp: Keyboard detection data
Keyboard0 => XkbModel : pc104
Keyboard0 => XkbLayout : us
]
01-Jan 00:54:37 <I> [ Sysp: Server detection data
Card0 => BusId : 0x2
Card0 => SlotId : 0x09
Card0 => FuncId : 0x0
Card0 => Vendor : NVidia
Card0 => Device : 0x0322
Card0 => VID : 0x10de
Card0 => DID : 0x0322
Card0 => Module : nv
Card0 => BusType : AGP
Card0 => Detected : 2
Card0 => Flag : DEFAULT
Card0 => SUB-VID : 0x0000
Card0 => SUB-DID : 0x0000

Card1 => BusId : 0x0
Card1 => SlotId : 0x02
Card1 => FuncId : 0x0
Card1 => Vendor : Intel
Card1 => Device : i845
Card1 => VID : 0x8086
Card1 => DID : 0x2562
Card1 => Module : nvidia
Card1 => BusType : PCI
Card1 => Detected : 2
Card1 => Flag : DEFAULT
Card1 => SUB-VID : 0x109f
Card1 => SUB-DID : 0x3186
]
01-Jan 00:54:38 <I> [ Sysp: XStuff detection data
SaX: ups lost card during probing... abort
]

JackieBrown 01-01-2005 07:16 AM

on a hunch i tried sax2 -m 0=nv but that didn't work either. :(

JackieBrown 01-01-2005 07:21 AM

do you think this is what is messing it up:

Card1 => BusId : 0x0
Card1 => SlotId : 0x02
Card1 => FuncId : 0x0
Card1 => Vendor : Intel
Card1 => Device : i845
Card1 => VID : 0x8086
Card1 => DID : 0x2562
Card1 => Module : nvidia
Card1 => BusType : PCI
Card1 => Detected : 2
Card1 => Flag : DEFAULT
Card1 => SUB-VID : 0x109f
Card1 => SUB-DID : 0x3186
]

How do I undect it. I did everything I could to turn that off in the bios. Also when I plug the moniter into the on video drive, I get no picture at all neither before linux or windows boots uo or afterwards so it seem like the has it off but linux for some reason can still detect it.\
I think this must be the problem since no one else seems to experience the same trouble I have had.
I know in windows I can just go to device manager and disable a device. How do I do that in Linix?
Or am I reading the error message wrong. ( I am reading it as though there are two card card 0 = nv card 1 = intel)

JackieBrown 01-01-2005 08:25 AM

Would this be a setting in the boot up. I tried clicking on the hardware tool icon in the sys tray. I selected the second card (trigen). It then takes me to yast2 wher it has my graphic settings but it shows the info for the nvidia card. :(
By the way, I love the resolution in Linux. I have never had a slicker looking desktop :)

JackieBrown 01-01-2005 08:26 AM

Actually when I read the log I posted it also says nvidia. Just to clarify, I only have 1 nvdia card

JackieBrown 01-01-2005 01:07 PM

Well I looked throught my handy admister guide and could not find anything about removing devices.

So my questions are:

are these 2 cards most likely causeing some kind of conflict
-if so, how do I remove one of them from SUSE
sight
are there two drivers for the same card and this makes it look like there are 2 cards
-same question, how would I remove one or the other?

I tries sax2, sax2 -m 0=nv, sax2 -m 1=nv, sax2 -m 0=nvidia, sax2 -m 1=nvidia, and different case variations of nvdia in case this was case sensitive (live most of linux is). I also tried going thru YAST2 hardware, grahics, enable 3d acceleration and was told that "(EE) nvidia(0) *****Aborting*****
(EE) Screen (s) found, but none have a usable configuration"
Which also brings another question:
I let SUSE choose the moniter for me since mine was not on the list (I know my moniter supports 3d acceleration, but maybe this one doesn't? btw my brand isn't on the list and has no linux driver -


All times are GMT -5. The time now is 04:58 PM.