SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609
Rep:
Hi,
Dunno if you find a solution, but I just installed the driver on a fresh machine "as usual" and had no problem...
Once slackware is installed, go to the /extra/xf86-video-nouveau-blacklist directory on the slackware disk (or a local slackware repo mirror as I use).
Code:
# cd slack-mirror-or-repo-or-disk-mount-point/extra/xf86-video-nouveau-blacklist
# installpkg xf86-video-nouveau-blacklist-noarch-1.txz
Then reboot your pc:
Code:
# shutdown -r now
Then simply launch the NVIDIA installer:
Code:
# cd path/to/where/you/keep/the/driver
# sh NVIDIA-Linux-x86_64-295.59.run
Of course use the name of the driver you have downloaded...
No need for building OpenGL 32 bit library unless you've got multilib setup.
You can simply let the installer generates the xorg.conf (it's not the default).
You should be able to startx now...
Also once in X, you can launch nvidia-setup from a terminal and you can add another screen an so on...
Never, never had ANY problem since 2008 with that, but the nouveau driver to blacklist, but it's a well know procedure for nvidia users now.
Cheers
Garry.
Edit: Obviously all must be done in runlevel 3... Just in case:
Code:
# init 3
is needed before doing all of this...
or you can rollback/restore your inittab accordingly.
Last edited by NoStressHQ; 09-14-2012 at 09:15 AM.
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609
Rep:
Quote:
Originally Posted by Didier Spaier
@NoStressHQ: Is that on an Optimus laptop? It *seems* to be the culprit of OP's problem.
No, sorry, it's on desktop, but I have already done this on a old HP laptop with nvidia (in 2008), so yes maybe "de l'eau a coulee sous les ponts"...
I didn't meant to mislead the OP or the problem seekers, I just wanted to remind that despite people talking about "simpler with sbopkg", I find that the direct way from NVIDIA didn't cause any problem from me (but the nouveau blacklist), and it's not complicated at all, you (usually) just have to do the things in the right order. And sometimes people introduce problem trying solutions a bit too fancy...
So forget my message if it's a HW/specific problem.
Hey Didier, your switcheroo file looks to be accurate. I have a hp with radeon hybrid graphics cards. I have used most of the commands mentioned in the file in the past. I didn't know about the MDIS and MIGD commands. I"ll give them a whirl on my laptop when I get home later today.
Last edited by colorpurple21859; 09-14-2012 at 10:49 AM.
This is off-topic, but why isn't nouveau loaded with modeset=0 as a default? Is there risk of breakage, security, something else? It's a pain to boot up, install nouveau-blacklist and then reboot... (I guess it could be installed during the system install if the installer was more, oh, let's say, aware than this author?)
@NoStressHQ: Your reasoning is why a more in-depth installation guide was given on the SlackDocs wiki article. The article still needs improvement (like adding a section about optimus cards! I'll have to get on the article's author!), but hopefully it will offer many paths to good results (and help avoid some of the 'less good' paths).
@bakunin: did it work?
Last edited by rinias; 09-14-2012 at 10:21 AM.
Reason: @bakunin
Hey Didier, your switcheroo file looks to be accurate.
Good to know, thanks.
Quote:
Originally Posted by colorpurple21859
I didn't know about the MDIS and MIGD commands. I"ll give them a whirl on my laptop when I get home later today.
This should work as you are on -current, please let us know the results. Warning for older Slackware versions, though: don't try these two commands if your kernel version is < 2.6.38, this *could* damage your GPU as mentioned in the switcheroo.txt file.
If you have a Linux laptop with an Nvidia Optimus chip set, you must either
(a) disable Optimus and the second power saving GPU in the BIOS
(b) use Bumblebee + nvidia proprietary blob
(c) Wait for official Nvidia Optimus support (rumored "real soon" now).
At this time neither the Nvidia blob, nor the packages from Slackbuilds.org support switchable GPU.
As mentioned previously, after installing the Nvidia Blob, you will have to blacklist nouveau, create a minimal xorg.conf to load the nvidia driver (not autodetected, SBo version does this for you) as this will solve 99% of one's issues.
Hey didier I tried the MDIS and MIGD commands and had no effect on my system. Then I came across this post of yours http://www.linuxquestions.org/questi...151/page4.html
and I think I have one of them muxless systems where the discrete card is hooked up to nothing just used for processing, but I don't know how to confirm this for sure. I looked through my dmesg and it shows the integrated card connected to the display, vga, and hdmi connectors, however dmesg shows the descrete card having no output conections. My cards are switching with the DIS and DIGD commands, but I loose my display when I use the DIS command. I ran cat command and piped it to a text file while blind and it showed the the discrete card powered on and active and the integrated card powered off. I know this is a little off topic, but thought you would like to know.
Last edited by colorpurple21859; 09-15-2012 at 04:06 PM.
Didier, This is my laptop
HP Pavilion dv6-6135dx laptop with 1366x768 screen resolution
ati 6620g/6750m graphics card
There is no option to switch graphic cards to the display in the bios or in windows software. Just options in windows software to select which video card any selected software uses.
Specs from hp website:
PHP Code:
Product Name dv6-6135dx Product Number LW262UA#ABA Microprocessor 2.4GHz/1.5GHz VISION A8 Technology from AMD with AMD Quad-Core A8-3500M Accelerated Processor Microprocessor Cache 4MB L2 Cache Memory 6GB DDR3 System Memory (2 DIMM) Memory Max Maximum supported = 16GB Video Graphics AMD Radeon HD 6750M Video Memory switchable graphics Hard Drive 640GB (5400RPM) Multimedia Drive Blu-ray Player & SuperMulti DVD Burner Display 15.6" diagonal High-Definition HP BrightView LED Display (1366 x 768) Fax/Modem Network Card Integrated 10/100/1000 Gigabit Ethernet LAN Wireless Connectivity 802.11b/g/n WLAN Sound Beats Audio Keyboard Full-Size Island-Style Keyboard with Integrated Numeric Keypad Pointing Device Touchpad supporting Multi-Touch gestures. With LED border accent light and On/Off button. PC Card Slots External Ports Digital Media Card Reader for Secure Digital and Multimedia cards 2 SuperSpeed USB 3.0 2 Universal Serial Bus (USB) 2.0 1 HDMI 1 VGA (15-pin) 1 RJ -45 (LAN) 2 Headphone-out 1 Microphone-in
results of
Code:
lspci -kvnn | grep -A16 '\''[030[02]\]'
PHP Code:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI BeaverCreek [Mobility Radeon HD 6620G] [1002:9641] (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device [103c:358d] Flags: bus master, fast devsel, latency 0, IRQ 53 Memory at d0000000 (32-bit, prefetchable) [size=256M] I/O ports at 4000 [size=256] Memory at f0400000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at <unassigned> [disabled] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Kernel driver in use: radeon
00:01.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series] [1002:1714] Subsystem: Hewlett-Packard Company Device [103c:358d] Flags: bus master, fast devsel, latency 0, IRQ 54 Memory at f0444000 (32-bit, non-prefetchable) [size=16K] -- 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Whistler [AMD Radeon HD 6600M Series] [1002:6741] (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: radeon
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06) Subsystem: Hewlett-Packard Company Device [103c:358d] Flags: bus master, fast devsel, latency 0, IRQ 52 I/O ports at 2000 [size=256] Memory at f0004000 (64-bit, prefetchable) [size=4K] Memory at f0000000 (64-bit, prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Count=4 Masked- Capabilities: [d0] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel
dmesg
PHP Code:
11.932837] [drm] radeon defaulting to kernel modesetting. [ 11.932947] [drm] radeon kernel modesetting enabled. [ 11.933031] VGA switcheroo: detected switching method \_SB_.PCI0.VGA_.ATPX handle [ 11.933160] radeon 0000:00:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 11.933259] radeon 0000:00:01.0: setting latency timer to 64 [ 11.933452] [drm] initializing kernel modesetting (SUMO 0x1002:0x9641 0x103C:0x358D). [ 11.933713] [drm] register mmio base: 0xF0400000 [ 11.933820] [drm] register mmio size: 262144 [ 11.934525] ATOM BIOS: HP [ 11.934657] radeon 0000:00:01.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used) [ 11.934792] radeon 0000:00:01.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF [ 11.937075] [drm] Detected VRAM RAM=512M, BAR=256M [ 11.937150] [drm] RAM width 32bits DDR [ 11.937456] [TTM] Zone kernel: Available graphics memory: 2784014 kiB. [ 11.937573] [TTM] Zone dma32: Available graphics memory: 2097152 kiB. [ 11.937640] [TTM] Initializing pool allocator. [ 11.937753] [drm] radeon: 512M of VRAM memory ready [ 11.937865] [drm] radeon: 512M of GTT memory ready. [ 11.937940] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 11.938009] [drm] Driver supports precise vblank timestamp query. [ 11.938106] radeon 0000:00:01.0: irq 53 for MSI/MSI-X [ 11.938111] radeon 0000:00:01.0: radeon: using MSI. [ 11.938238] [drm] radeon: irq initialized. [ 11.938303] [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 11.939582] [drm] Loading SUMO Microcode [ 12.025346] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). [ 12.025597] radeon 0000:00:01.0: WB enabled [ 12.042084] [drm] ring test succeeded in 1 usecs [ 12.042252] [drm] radeon: ib pool ready. [ 12.042435] [drm] ib test succeeded in 0 usecs [ 12.044411] [drm] Radeon Display Connectors [ 12.044523] [drm] Connector 0: [ 12.044586] [drm] VGA [ 12.044648] [drm] HPD2 [ 12.044712] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [ 12.044850] [drm] Encoders: [ 12.044913] [drm] CRT1: INTERNAL_UNIPHY2 [ 12.044977] [drm] CRT1: NUTMEG [ 12.045048] [drm] Connector 1: [ 12.046223] [drm] LVDS [ 12.046285] [drm] HPD1 [ 12.046348] [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c [ 12.046486] [drm] Encoders: [ 12.046549] [drm] LCD1: INTERNAL_UNIPHY2 [ 12.046617] [drm] LCD1: TRAVIS [ 12.046680] [drm] Connector 2: [ 12.046743] [drm] HDMI-A [ 12.046813] [drm] HPD4 [ 12.046876] [drm] DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c [ 12.047025] [drm] Encoders: [ 12.047088] [drm] DFP1: INTERNAL_UNIPHY [ 12.058639] Linux video capture interface: v2.00 [ 12.074033] [drm] Internal thermal controller without fan control [ 12.074142] [drm] radeon: power management initialized [ 12.078265] uvcvideo: Found UVC 1.00 device HP TrueVision HD (5986:02ac) [ 12.085239] input: HP TrueVision HD as /devices/pci0000:00/0000:00:13.2/usb2/2-1/2-1:1.0/input/input7 [ 12.085441] usbcore: registered new interface driver uvcvideo [ 12.085511] USB Video Class driver (1.1.1) [ 12.087168] parse error at position 4 in video mode '1024x768x60' [ 12.087282] parse error at position 4 in video mode '1024x768x60' [ 12.087344] parse error at position 4 in video mode '1024x768x60' [ 12.128768] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.5, id: 0x1e0b1, caps: 0xd00073/0x240000/0xa0400 [ 12.171273] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8 [ 12.194217] [drm] fb mappable at 0xD0142000 [ 12.194295] [drm] vram apper at 0xD0000000 [ 12.194356] [drm] size 4325376 [ 12.194415] [drm] fb depth is 24 [ 12.194473] [drm] pitch is 5632 [ 12.194679] fbcon: radeondrmfb (fb0) is primary device [ 12.271651] cfg80211: World regulatory domain updated: [ 12.271669] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 12.271673] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.271677] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 12.271679] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 12.271682] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.271685] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 12.312217] Console: switching to colour frame buffer device 170x48 [ 12.319007] fb0: radeondrmfb frame buffer device [ 12.319051] drm: registered panic notifier [ 12.319099] [drm] Initialized radeon 2.12.0 20080528 for 0000:00:01.0 on minor 0 [ 12.319273] radeon 0000:01:00.0: enabling device (0000 -> 0003) [ 12.319317] snd_hda_intel 0000:00:01.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 12.319437] radeon 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 12.319494] snd_hda_intel 0000:00:01.1: irq 54 for MSI/MSI-X [ 12.319510] radeon 0000:01:00.0: setting latency timer to 64 [ 12.319521] snd_hda_intel 0000:00:01.1: setting latency timer to 64 [ 12.319964] [drm] initializing kernel modesetting (TURKS 0x1002:0x6741 0x103C:0x358D). [ 12.320120] [drm] register mmio base: 0xF0300000 [ 12.320167] [drm] register mmio size: 131072 [ 12.320210] vga_switcheroo: enabled [ 12.320482] radeon atpx: version is 1 [ 12.355747] HDMI status: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0 [ 12.355954] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card0/input9 [ 12.356451] snd_hda_intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 12.382031] usb 8-2: new full-speed USB device number 2 using ohci_hcd [ 12.529108] usb 8-2: New USB device found, idVendor=138a, idProduct=0018 [ 12.531105] usb 8-2: New USB device strings: Mfr=0, Product=0, SerialNumber=1 [ 12.533036] usb 8-2: SerialNumber: 24a3ee6efec0 [ 12.659124] usb 7-1: new full-speed USB device number 2 using ohci_hcd [ 12.701675] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input10 [ 12.703567] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input11 [ 13.249777] lis3lv02d: 8 bits 3DC sensor found [ 13.316101] usb 7-1: New USB device found, idVendor=0572, idProduct=1329 [ 13.317817] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 13.319721] usb 7-1: Product: USB Modem [ 13.321591] usb 7-1: Manufacturer: Conexant [ 13.323408] usb 7-1: SerialNumber: 24680246 [ 13.887201] cdc_acm 7-1:1.0: ttyACM0: USB ACM device [ 13.892354] usbcore: registered new interface driver cdc_acm [ 13.894244] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 16.239481] ATOM BIOS: HP/Flex [ 16.241455] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) [ 16.243412] radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF [ 16.246322] [drm] Detected VRAM RAM=1024M, BAR=256M [ 16.247623] [drm] RAM width 128bits DDR [ 16.249470] [drm] radeon: 1024M of VRAM memory ready [ 16.251357] [drm] radeon: 512M of GTT memory ready. [ 16.253299] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 16.255285] [drm] Driver supports precise vblank timestamp query. [ 16.257323] radeon 0000:01:00.0: irq 55 for MSI/MSI-X [ 16.257330] radeon 0000:01:00.0: radeon: using MSI. [ 16.259369] [drm] radeon: irq initialized. [ 16.261333] [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 16.264403] [drm] Loading TURKS Microcode [ 16.269214] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input12 [ 16.271388] Registered led device: hp::hddprotect [ 16.271400] hp_accel: driver loaded [ 16.298117] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). [ 16.300567] radeon 0000:01:00.0: WB enabled [ 16.318958] [drm] ring test succeeded in 2 usecs [ 16.321209] [drm] radeon: ib pool ready. [ 16.323501] [drm] ib test succeeded in 0 usecs [ 16.325930] [drm] Radeon Display Connectors [ 16.327948] [drm] Internal thermal controller with fan control [ 16.331567] [drm] radeon: power management initialized [ 16.333803] No connectors reported connected with modes [ 16.335824] [drm] Cannot find any crtc or sizes - going 1024x768 [ 16.339433] [drm] fb mappable at 0xE0142000 [ 16.341471] [drm] vram apper at 0xE0000000 [ 16.343487] [drm] size 3145728 [ 16.345412] [drm] fb depth is 24 [ 16.347389] [drm] pitch is 4096 [ 16.349443] fb1: radeondrmfb frame buffer device [ 16.351339] [drm] Initialized radeon 2.12.0 20080528 for 0000:01:00.0 on minor 1
Last edited by colorpurple21859; 09-19-2012 at 11:14 AM.
Radeon GPUs will require using the AMD/ATI FLGRX driver for some chipsets, as well as disabling modesetting and blacking the default radeon kernel module.
After installing the FLGRX package, add radeon to the blacklisted modules, rerun liloconfig, and add nomodeset to the kernel parameters.
If you have a AMD A/E/FX series CPU it will usually have an onboard VGA radeon. If you have a separate add-on Radeon, try using the FGLRX drivers and see if they'll register for CrossFire.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.